--- trunk/RomCheater.ScratchPad/ScratchPadDocument.Designer.cs 2013/06/20 22:03:10 773 +++ trunk/RomCheater.ScratchPad/ScratchPadDocument.Designer.cs 2013/06/20 22:33:04 774 @@ -30,30 +30,37 @@ { this.components = new System.ComponentModel.Container(); Fireball.Windows.Forms.LineMarginRender lineMarginRender1 = new Fireball.Windows.Forms.LineMarginRender(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScratchPadDocument)); this.codeEditorControl1 = new Fireball.Windows.Forms.CodeEditorControl(); this.syntaxDocument1 = new Fireball.Syntax.SyntaxDocument(this.components); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.mnuItemOpen = new System.Windows.Forms.ToolStripButton(); + this.mnuItemSave = new System.Windows.Forms.ToolStripButton(); + this.mnuItemClose = new System.Windows.Forms.ToolStripButton(); + this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // codeEditorControl1 // this.codeEditorControl1.ActiveView = Fireball.Windows.Forms.CodeEditor.ActiveView.BottomRight; this.codeEditorControl1.AutoListPosition = null; - this.codeEditorControl1.AutoListSelectedText = ""; + this.codeEditorControl1.AutoListSelectedText = "a123"; this.codeEditorControl1.AutoListVisible = false; this.codeEditorControl1.CopyAsRTF = false; + this.codeEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.codeEditorControl1.Document = this.syntaxDocument1; this.codeEditorControl1.InfoTipCount = 1; this.codeEditorControl1.InfoTipPosition = null; - this.codeEditorControl1.InfoTipSelectedIndex = 0; + this.codeEditorControl1.InfoTipSelectedIndex = 1; this.codeEditorControl1.InfoTipVisible = false; lineMarginRender1.Bounds = new System.Drawing.Rectangle(19, 0, 19, 16); this.codeEditorControl1.LineMarginRender = lineMarginRender1; - this.codeEditorControl1.Location = new System.Drawing.Point(65, 85); + this.codeEditorControl1.Location = new System.Drawing.Point(0, 25); this.codeEditorControl1.LockCursorUpdate = false; this.codeEditorControl1.Name = "codeEditorControl1"; this.codeEditorControl1.Saved = false; this.codeEditorControl1.ShowScopeIndicator = false; - this.codeEditorControl1.Size = new System.Drawing.Size(587, 449); + this.codeEditorControl1.Size = new System.Drawing.Size(913, 521); this.codeEditorControl1.SmoothScroll = false; this.codeEditorControl1.SplitviewH = -4; this.codeEditorControl1.SplitviewV = -4; @@ -70,14 +77,57 @@ this.syntaxDocument1.Modified = false; this.syntaxDocument1.UndoStep = 0; // + // toolStrip1 + // + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuItemOpen, + this.mnuItemSave, + this.mnuItemClose}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(913, 25); + this.toolStrip1.TabIndex = 1; + this.toolStrip1.Text = "toolStrip1"; + // + // mnuItemOpen + // + 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); + // + // mnuItemSave + // + 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); + // + // mnuItemClose + // + this.mnuItemClose.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemClose.Image"))); + this.mnuItemClose.ImageTransparentColor = System.Drawing.Color.Magenta; + this.mnuItemClose.Name = "mnuItemClose"; + this.mnuItemClose.Size = new System.Drawing.Size(56, 22); + this.mnuItemClose.Text = "&Close"; + this.mnuItemClose.Click += new System.EventHandler(this.mnuItemClose_Click); + // // ScratchPadDocument // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.codeEditorControl1); + this.Controls.Add(this.toolStrip1); this.Name = "ScratchPadDocument"; this.Size = new System.Drawing.Size(913, 546); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -85,5 +135,9 @@ private Fireball.Windows.Forms.CodeEditorControl codeEditorControl1; private Fireball.Syntax.SyntaxDocument syntaxDocument1; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton mnuItemOpen; + private System.Windows.Forms.ToolStripButton mnuItemSave; + private System.Windows.Forms.ToolStripButton mnuItemClose; } } \ No newline at end of file |