--- trunk/RomCheater.ScratchPad/ScratchPad.Designer.cs 2013/06/20 20:25:55 762 +++ trunk/RomCheater.ScratchPad/ScratchPad.Designer.cs 2013/06/20 22:33:04 774 @@ -29,106 +29,14 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScratchPad)); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.mnuItemSave = new System.Windows.Forms.ToolStripButton(); - this.mnuItemOpen = new System.Windows.Forms.ToolStripButton(); - this.mnuItemUndo = new System.Windows.Forms.ToolStripButton(); - this.mnuItemRedo = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); - this.mnuItemCopy = new System.Windows.Forms.ToolStripButton(); - this.mnuItemPaste = new System.Windows.Forms.ToolStripButton(); this.ScracthPadSaver = new System.Windows.Forms.SaveFileDialog(); this.ScracthPadLoader = new System.Windows.Forms.OpenFileDialog(); - this.txtScratchPad = new System.Windows.Forms.RichTextBox(); + this.tb = new System.Windows.Forms.TabControl(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.mnuItemNew = new System.Windows.Forms.ToolStripButton(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // - // toolStrip1 - // - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuItemSave, - 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); - this.toolStrip1.TabIndex = 0; - this.toolStrip1.Text = "toolStrip1"; - // - // mnuItemSave - // - 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(51, 22); - this.mnuItemSave.Text = "&Save"; - this.mnuItemSave.Click += new System.EventHandler(this.mnuItemSave_Click); - // - // mnuItemOpen - // - 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(56, 22); - this.mnuItemOpen.Text = "&Open"; - this.mnuItemOpen.Click += new System.EventHandler(this.mnuItemOpen_Click); - // - // 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); - // - // 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); - // - // 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); - // - // 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); - // // ScracthPadSaver // this.ScracthPadSaver.DefaultExt = "txt"; @@ -143,32 +51,47 @@ this.ScracthPadLoader.SupportMultiDottedExtensions = true; this.ScracthPadLoader.Title = "Please choose the file to load"; // - // txtScratchPad + // tb // - 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 is a test"; - this.txtScratchPad.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.txtScratchPad_LinkClicked); - this.txtScratchPad.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtScratchPad_KeyDown); - this.txtScratchPad.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtScratchPad_MouseDown); + this.tb.Dock = System.Windows.Forms.DockStyle.Fill; + this.tb.Location = new System.Drawing.Point(0, 25); + this.tb.Name = "tb"; + this.tb.SelectedIndex = 0; + this.tb.Size = new System.Drawing.Size(743, 362); + this.tb.TabIndex = 1; + // + // toolStrip1 + // + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuItemNew}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(743, 25); + this.toolStrip1.TabIndex = 2; + this.toolStrip1.Text = "toolStrip1"; + // + // mnuItemNew + // + this.mnuItemNew.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemNew.Image"))); + this.mnuItemNew.ImageTransparentColor = System.Drawing.Color.Magenta; + this.mnuItemNew.Name = "mnuItemNew"; + this.mnuItemNew.Size = new System.Drawing.Size(51, 22); + this.mnuItemNew.Text = "&New"; + this.mnuItemNew.Click += new System.EventHandler(this.mnuItemNew_Click); // // ScratchPad // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(743, 387); - this.Controls.Add(this.txtScratchPad); + this.Controls.Add(this.tb); this.Controls.Add(this.toolStrip1); 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.Load += new System.EventHandler(this.ScratchPad_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); @@ -178,16 +101,10 @@ #endregion - private System.Windows.Forms.ToolStrip toolStrip1; - private System.Windows.Forms.ToolStripButton mnuItemSave; - private System.Windows.Forms.ToolStripButton mnuItemOpen; 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; + private System.Windows.Forms.TabControl tb; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton mnuItemNew; } } \ No newline at end of file |