Parent Directory
|
Revision Log
|
Patch
--- trunk/RomCheater.PluginFramework/Core/ScratchPad.Designer.cs 2013/06/17 06:53:33 677 +++ trunk/RomCheater.PluginFramework/Core/ScratchPad.Designer.cs 2013/06/17 07:01:41 678 @@ -35,6 +35,11 @@ this.ScracthPadSaver = new System.Windows.Forms.SaveFileDialog(); this.ScracthPadLoader = new System.Windows.Forms.OpenFileDialog(); this.txtScratchPad = new System.Windows.Forms.RichTextBox(); + this.mnuItemUndo = new System.Windows.Forms.ToolStripButton(); + this.mnuItemRedo = new System.Windows.Forms.ToolStripButton(); + this.mnuItemPaste = new System.Windows.Forms.ToolStripButton(); + this.mnuItemCopy = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // @@ -42,7 +47,12 @@ // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuItemSave, - this.mnuItemOpen}); + this.mnuItemOpen, + this.mnuItemUndo, + this.mnuItemRedo, + this.toolStripButton2, + this.mnuItemCopy, + this.mnuItemPaste}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(743, 25); @@ -51,21 +61,21 @@ // // mnuItemSave // - this.mnuItemSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.mnuItemSave.BackColor = System.Drawing.SystemColors.ControlLight; this.mnuItemSave.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemSave.Image"))); this.mnuItemSave.ImageTransparentColor = System.Drawing.Color.Magenta; this.mnuItemSave.Name = "mnuItemSave"; - this.mnuItemSave.Size = new System.Drawing.Size(35, 22); + this.mnuItemSave.Size = new System.Drawing.Size(51, 22); this.mnuItemSave.Text = "&Save"; this.mnuItemSave.Click += new System.EventHandler(this.mnuItemSave_Click); // // mnuItemOpen // - this.mnuItemOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.mnuItemOpen.BackColor = System.Drawing.SystemColors.ControlLight; this.mnuItemOpen.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemOpen.Image"))); this.mnuItemOpen.ImageTransparentColor = System.Drawing.Color.Magenta; this.mnuItemOpen.Name = "mnuItemOpen"; - this.mnuItemOpen.Size = new System.Drawing.Size(40, 22); + this.mnuItemOpen.Size = new System.Drawing.Size(56, 22); this.mnuItemOpen.Text = "&Open"; this.mnuItemOpen.Click += new System.EventHandler(this.mnuItemOpen_Click); // @@ -86,15 +96,66 @@ // txtScratchPad // this.txtScratchPad.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtScratchPad.Font = new System.Drawing.Font("Segoe UI Mono", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtScratchPad.ForeColor = System.Drawing.SystemColors.GrayText; this.txtScratchPad.Location = new System.Drawing.Point(0, 25); this.txtScratchPad.Name = "txtScratchPad"; this.txtScratchPad.Size = new System.Drawing.Size(743, 362); this.txtScratchPad.TabIndex = 1; - this.txtScratchPad.Text = ""; + this.txtScratchPad.Text = "This is a test"; this.txtScratchPad.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtScratchPad_KeyDown); this.txtScratchPad.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtScratchPad_MouseDown); // + // mnuItemUndo + // + this.mnuItemUndo.BackColor = System.Drawing.SystemColors.ControlLight; + this.mnuItemUndo.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemUndo.Image"))); + this.mnuItemUndo.ImageTransparentColor = System.Drawing.Color.Magenta; + this.mnuItemUndo.Name = "mnuItemUndo"; + this.mnuItemUndo.Size = new System.Drawing.Size(56, 22); + this.mnuItemUndo.Text = "&Undo"; + this.mnuItemUndo.Click += new System.EventHandler(this.mnuItemUndo_Click); + // + // mnuItemRedo + // + this.mnuItemRedo.BackColor = System.Drawing.SystemColors.ControlLight; + this.mnuItemRedo.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemRedo.Image"))); + this.mnuItemRedo.ImageTransparentColor = System.Drawing.Color.Magenta; + this.mnuItemRedo.Name = "mnuItemRedo"; + this.mnuItemRedo.Size = new System.Drawing.Size(54, 22); + this.mnuItemRedo.Text = "&Redo"; + this.mnuItemRedo.Click += new System.EventHandler(this.mnuItemRedo_Click); + // + // mnuItemPaste + // + this.mnuItemPaste.BackColor = System.Drawing.SystemColors.ControlLight; + this.mnuItemPaste.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemPaste.Image"))); + this.mnuItemPaste.ImageTransparentColor = System.Drawing.Color.Magenta; + this.mnuItemPaste.Name = "mnuItemPaste"; + this.mnuItemPaste.Size = new System.Drawing.Size(55, 22); + this.mnuItemPaste.Text = "&Paste"; + this.mnuItemPaste.Click += new System.EventHandler(this.mnuItemPaste_Click); + // + // mnuItemCopy + // + this.mnuItemCopy.BackColor = System.Drawing.SystemColors.ControlLight; + this.mnuItemCopy.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemCopy.Image"))); + this.mnuItemCopy.ImageTransparentColor = System.Drawing.Color.Magenta; + this.mnuItemCopy.Name = "mnuItemCopy"; + this.mnuItemCopy.Size = new System.Drawing.Size(55, 22); + this.mnuItemCopy.Text = "C&opy"; + this.mnuItemCopy.Click += new System.EventHandler(this.mnuItemCopy_Click); + // + // toolStripButton2 + // + this.toolStripButton2.BackColor = System.Drawing.SystemColors.ControlLight; + this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); + this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton2.Name = "toolStripButton2"; + this.toolStripButton2.Size = new System.Drawing.Size(54, 22); + this.toolStripButton2.Text = "&Clear"; + this.toolStripButton2.Click += new System.EventHandler(this.mnuItemClear_Click); + // // ScratchPad // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -105,6 +166,8 @@ this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "ScratchPad"; this.Text = "Scratch Pad"; + this.Deactivate += new System.EventHandler(this.ScratchPad_Deactivate); + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ScratchPad_FormClosing); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); @@ -120,5 +183,10 @@ private System.Windows.Forms.SaveFileDialog ScracthPadSaver; private System.Windows.Forms.OpenFileDialog ScracthPadLoader; private System.Windows.Forms.RichTextBox txtScratchPad; + private System.Windows.Forms.ToolStripButton mnuItemUndo; + private System.Windows.Forms.ToolStripButton mnuItemRedo; + private System.Windows.Forms.ToolStripButton mnuItemPaste; + private System.Windows.Forms.ToolStripButton toolStripButton2; + private System.Windows.Forms.ToolStripButton mnuItemCopy; } } \ No newline at end of file
ViewVC Help | |
Powered by ViewVC 1.1.22 |