--- trunk/RomCheater/Main.Designer.cs 2012/05/09 06:28:44 16 +++ trunk/RomCheater/Main.Designer.cs 2012/05/09 08:02:18 17 @@ -29,22 +29,19 @@ private void InitializeComponent() { this.main_split = new System.Windows.Forms.SplitContainer(); - this.mainmnu = new System.Windows.Forms.MenuStrip(); - this.mnuFile = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuItemExit = new System.Windows.Forms.ToolStripMenuItem(); - this.txtLog = new System.Windows.Forms.RichTextBox(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.MainTab = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); - this.Status_control_flow = new System.Windows.Forms.FlowLayoutPanel(); - this.btnCopyLogToClipboard = new System.Windows.Forms.Button(); + this.mainmnu = new System.Windows.Forms.MenuStrip(); + this.mnuFile = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemExit = new System.Windows.Forms.ToolStripMenuItem(); + this.logwriter = new RomCheater.Logging.LogWriter(); ((System.ComponentModel.ISupportInitialize)(this.main_split)).BeginInit(); this.main_split.Panel1.SuspendLayout(); this.main_split.Panel2.SuspendLayout(); this.main_split.SuspendLayout(); - this.mainmnu.SuspendLayout(); this.tabControl1.SuspendLayout(); - this.Status_control_flow.SuspendLayout(); + this.mainmnu.SuspendLayout(); this.SuspendLayout(); // // main_split @@ -61,48 +58,11 @@ // // main_split.Panel2 // - this.main_split.Panel2.Controls.Add(this.txtLog); - this.main_split.Panel2.Controls.Add(this.Status_control_flow); + this.main_split.Panel2.Controls.Add(this.logwriter); this.main_split.Size = new System.Drawing.Size(1229, 688); this.main_split.SplitterDistance = 534; this.main_split.TabIndex = 0; // - // mainmnu - // - this.mainmnu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuFile}); - this.mainmnu.Location = new System.Drawing.Point(0, 0); - this.mainmnu.Name = "mainmnu"; - this.mainmnu.Size = new System.Drawing.Size(1229, 24); - this.mainmnu.TabIndex = 1; - this.mainmnu.Text = "menuStrip1"; - // - // mnuFile - // - this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuItemExit}); - this.mnuFile.Name = "mnuFile"; - this.mnuFile.Size = new System.Drawing.Size(37, 20); - this.mnuFile.Text = "&File"; - // - // mnuItemExit - // - this.mnuItemExit.Name = "mnuItemExit"; - this.mnuItemExit.Size = new System.Drawing.Size(152, 22); - this.mnuItemExit.Text = "&Exit"; - this.mnuItemExit.Click += new System.EventHandler(this.mnuItemExit_Click); - // - // txtLog - // - this.txtLog.BackColor = System.Drawing.SystemColors.ControlDark; - this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill; - this.txtLog.Location = new System.Drawing.Point(0, 0); - this.txtLog.Name = "txtLog"; - this.txtLog.ReadOnly = true; - this.txtLog.Size = new System.Drawing.Size(1225, 118); - this.txtLog.TabIndex = 0; - this.txtLog.Text = ""; - // // tabControl1 // this.tabControl1.Controls.Add(this.MainTab); @@ -129,31 +89,46 @@ this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(192, 74); + this.tabPage2.Size = new System.Drawing.Size(1217, 504); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "tabPage2"; this.tabPage2.UseVisualStyleBackColor = true; // - // Status_control_flow + // mainmnu + // + this.mainmnu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuFile}); + this.mainmnu.Location = new System.Drawing.Point(0, 0); + this.mainmnu.Name = "mainmnu"; + this.mainmnu.Size = new System.Drawing.Size(1229, 24); + this.mainmnu.TabIndex = 1; + this.mainmnu.Text = "menuStrip1"; + // + // mnuFile + // + this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuItemExit}); + this.mnuFile.Name = "mnuFile"; + this.mnuFile.Size = new System.Drawing.Size(37, 20); + this.mnuFile.Text = "&File"; // - this.Status_control_flow.Controls.Add(this.btnCopyLogToClipboard); - this.Status_control_flow.Dock = System.Windows.Forms.DockStyle.Bottom; - this.Status_control_flow.Location = new System.Drawing.Point(0, 118); - this.Status_control_flow.Name = "Status_control_flow"; - this.Status_control_flow.Size = new System.Drawing.Size(1225, 28); - this.Status_control_flow.TabIndex = 1; - // - // btnCopyLogToClipboard - // - this.btnCopyLogToClipboard.AutoSize = true; - this.btnCopyLogToClipboard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.btnCopyLogToClipboard.Location = new System.Drawing.Point(3, 3); - this.btnCopyLogToClipboard.Name = "btnCopyLogToClipboard"; - this.btnCopyLogToClipboard.Size = new System.Drawing.Size(125, 23); - this.btnCopyLogToClipboard.TabIndex = 0; - this.btnCopyLogToClipboard.Text = "Copy Log To Clipboard"; - this.btnCopyLogToClipboard.UseVisualStyleBackColor = true; - this.btnCopyLogToClipboard.Click += new System.EventHandler(this.btnCopyLogToClipboard_Click); + // mnuItemExit + // + this.mnuItemExit.Name = "mnuItemExit"; + this.mnuItemExit.Size = new System.Drawing.Size(92, 22); + this.mnuItemExit.Text = "&Exit"; + this.mnuItemExit.Click += new System.EventHandler(this.mnuItemExit_Click); + // + // logwriter + // + this.logwriter.Dock = System.Windows.Forms.DockStyle.Fill; + this.logwriter.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.logwriter.Location = new System.Drawing.Point(0, 0); + this.logwriter.Margin = new System.Windows.Forms.Padding(0); + this.logwriter.Name = "logwriter"; + this.logwriter.RedirectConsoleOutput = true; + this.logwriter.Size = new System.Drawing.Size(1225, 146); + this.logwriter.TabIndex = 2; // // Main // @@ -165,15 +140,14 @@ this.Controls.Add(this.mainmnu); this.Name = "Main"; this.Text = "Form1"; + this.Load += new System.EventHandler(this.Main_Load); this.main_split.Panel1.ResumeLayout(false); this.main_split.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.main_split)).EndInit(); this.main_split.ResumeLayout(false); + this.tabControl1.ResumeLayout(false); this.mainmnu.ResumeLayout(false); this.mainmnu.PerformLayout(); - this.tabControl1.ResumeLayout(false); - this.Status_control_flow.ResumeLayout(false); - this.Status_control_flow.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -185,12 +159,10 @@ private System.Windows.Forms.MenuStrip mainmnu; private System.Windows.Forms.ToolStripMenuItem mnuFile; private System.Windows.Forms.ToolStripMenuItem mnuItemExit; - private System.Windows.Forms.RichTextBox txtLog; private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage MainTab; private System.Windows.Forms.TabPage tabPage2; - private System.Windows.Forms.FlowLayoutPanel Status_control_flow; - private System.Windows.Forms.Button btnCopyLogToClipboard; + private RomCheater.Logging.LogWriter logwriter; } }