Parent Directory
|
Revision Log
|
Patch
--- trunk/RomCheater.ScratchPad/ScratchPadDocument.Designer.cs 2013/06/20 21:34:48 769 +++ trunk/RomCheater.ScratchPad/ScratchPadDocument.Designer.cs 2013/06/20 22:59:40 775 @@ -30,37 +30,46 @@ { this.components = new System.ComponentModel.Container(); Fireball.Windows.Forms.LineMarginRender lineMarginRender1 = new Fireball.Windows.Forms.LineMarginRender(); - this.codeEditorControl1 = new Fireball.Windows.Forms.CodeEditorControl(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScratchPadDocument)); + this.txtEditor = 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.FileLoader = new System.Windows.Forms.OpenFileDialog(); + this.FileSaver = new System.Windows.Forms.SaveFileDialog(); + this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // - // codeEditorControl1 + // txtEditor // - this.codeEditorControl1.ActiveView = Fireball.Windows.Forms.CodeEditor.ActiveView.BottomRight; - this.codeEditorControl1.AutoListPosition = null; - this.codeEditorControl1.AutoListSelectedText = ""; - this.codeEditorControl1.AutoListVisible = false; - this.codeEditorControl1.CopyAsRTF = false; - this.codeEditorControl1.Document = this.syntaxDocument1; - this.codeEditorControl1.InfoTipCount = 1; - this.codeEditorControl1.InfoTipPosition = null; - this.codeEditorControl1.InfoTipSelectedIndex = 0; - this.codeEditorControl1.InfoTipVisible = false; + this.txtEditor.ActiveView = Fireball.Windows.Forms.CodeEditor.ActiveView.BottomRight; + this.txtEditor.AutoListPosition = null; + this.txtEditor.AutoListSelectedText = "a123"; + this.txtEditor.AutoListVisible = false; + this.txtEditor.CopyAsRTF = false; + this.txtEditor.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtEditor.Document = this.syntaxDocument1; + this.txtEditor.InfoTipCount = 1; + this.txtEditor.InfoTipPosition = null; + this.txtEditor.InfoTipSelectedIndex = 1; + this.txtEditor.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.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.SmoothScroll = false; - this.codeEditorControl1.SplitviewH = -4; - this.codeEditorControl1.SplitviewV = -4; - this.codeEditorControl1.TabGuideColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(233)))), ((int)(((byte)(233))))); - this.codeEditorControl1.TabIndex = 0; - this.codeEditorControl1.Text = "codeEditorControl1"; - this.codeEditorControl1.WhitespaceColor = System.Drawing.SystemColors.ControlDark; + this.txtEditor.LineMarginRender = lineMarginRender1; + this.txtEditor.Location = new System.Drawing.Point(0, 25); + this.txtEditor.LockCursorUpdate = false; + this.txtEditor.Name = "txtEditor"; + this.txtEditor.Saved = false; + this.txtEditor.ShowScopeIndicator = false; + this.txtEditor.Size = new System.Drawing.Size(913, 521); + this.txtEditor.SmoothScroll = false; + this.txtEditor.SplitviewH = -4; + this.txtEditor.SplitviewV = -4; + this.txtEditor.TabGuideColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(233)))), ((int)(((byte)(233))))); + this.txtEditor.TabIndex = 0; + this.txtEditor.Text = "codeEditorControl1"; + this.txtEditor.WhitespaceColor = System.Drawing.SystemColors.ControlDark; // // syntaxDocument1 // @@ -70,20 +79,81 @@ 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); + // + // FileLoader + // + this.FileLoader.Filter = "All files|*.*"; + this.FileLoader.SupportMultiDottedExtensions = true; + this.FileLoader.Title = "Please choose the file to open"; + // + // FileSaver + // + this.FileSaver.Filter = "All files|*.*"; + this.FileSaver.SupportMultiDottedExtensions = true; + this.FileSaver.Title = "Please choose the file to save"; + // // 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.txtEditor); + 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(); } #endregion - private Fireball.Windows.Forms.CodeEditorControl codeEditorControl1; + private Fireball.Windows.Forms.CodeEditorControl txtEditor; 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; + private System.Windows.Forms.OpenFileDialog FileLoader; + private System.Windows.Forms.SaveFileDialog FileSaver; } } \ No newline at end of file
ViewVC Help | |
Powered by ViewVC 1.1.22 |