--- trunk/RomCheater/Main.Designer.cs 2012/05/09 16:45:44 69 +++ trunk/RomCheater/Main.Designer.cs 2012/05/11 11:27:43 138 @@ -29,22 +29,18 @@ private void InitializeComponent() { this.main_split = new System.Windows.Forms.SplitContainer(); - this.tabControl1 = new System.Windows.Forms.TabControl(); - this.MainTab = new System.Windows.Forms.TabPage(); - this.tabPage2 = new System.Windows.Forms.TabPage(); + this.btnExapandCollapseLogWindow = new System.Windows.Forms.Button(); this.logwriter = new RomCheater.Logging.LogWriter(); this.mainmnu = new System.Windows.Forms.MenuStrip(); this.mnuFile = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemOpenProcess = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.mnuItemExit = new System.Windows.Forms.ToolStripMenuItem(); this.mnuTools = new System.Windows.Forms.ToolStripMenuItem(); this.mnuItemConfig = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuItemOpenProcess = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); ((System.ComponentModel.ISupportInitialize)(this.main_split)).BeginInit(); - this.main_split.Panel1.SuspendLayout(); this.main_split.Panel2.SuspendLayout(); this.main_split.SuspendLayout(); - this.tabControl1.SuspendLayout(); this.mainmnu.SuspendLayout(); this.SuspendLayout(); // @@ -56,50 +52,31 @@ this.main_split.Name = "main_split"; this.main_split.Orientation = System.Windows.Forms.Orientation.Horizontal; // - // main_split.Panel1 - // - this.main_split.Panel1.Controls.Add(this.tabControl1); - // // main_split.Panel2 // + this.main_split.Panel2.Controls.Add(this.btnExapandCollapseLogWindow); 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; // - // tabControl1 + // btnExapandCollapseLogWindow // - this.tabControl1.Controls.Add(this.MainTab); - this.tabControl1.Controls.Add(this.tabPage2); - this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControl1.Location = new System.Drawing.Point(0, 0); - this.tabControl1.Name = "tabControl1"; - this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(1225, 530); - this.tabControl1.TabIndex = 0; - // - // MainTab - // - this.MainTab.Location = new System.Drawing.Point(4, 22); - this.MainTab.Name = "MainTab"; - this.MainTab.Padding = new System.Windows.Forms.Padding(3); - this.MainTab.Size = new System.Drawing.Size(1217, 504); - this.MainTab.TabIndex = 0; - this.MainTab.Text = "tabPage1"; - this.MainTab.UseVisualStyleBackColor = true; - // - // tabPage2 - // - 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(1217, 504); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "tabPage2"; - this.tabPage2.UseVisualStyleBackColor = true; + this.btnExapandCollapseLogWindow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnExapandCollapseLogWindow.AutoSize = true; + this.btnExapandCollapseLogWindow.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnExapandCollapseLogWindow.Font = new System.Drawing.Font("Arial Black", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnExapandCollapseLogWindow.Location = new System.Drawing.Point(1143, 3); + this.btnExapandCollapseLogWindow.Name = "btnExapandCollapseLogWindow"; + this.btnExapandCollapseLogWindow.Size = new System.Drawing.Size(72, 28); + this.btnExapandCollapseLogWindow.TabIndex = 3; + this.btnExapandCollapseLogWindow.Text = "expand"; + this.btnExapandCollapseLogWindow.UseVisualStyleBackColor = true; + this.btnExapandCollapseLogWindow.Click += new System.EventHandler(this.btnExapandCollapseLogWindow_Click); // // logwriter // + this.logwriter.AutoScroll = true; 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); @@ -130,10 +107,22 @@ this.mnuFile.Size = new System.Drawing.Size(37, 20); this.mnuFile.Text = "&File"; // + // mnuItemOpenProcess + // + this.mnuItemOpenProcess.Name = "mnuItemOpenProcess"; + this.mnuItemOpenProcess.Size = new System.Drawing.Size(146, 22); + this.mnuItemOpenProcess.Text = "&Open process"; + this.mnuItemOpenProcess.Click += new System.EventHandler(this.mnuItemOpenProcess_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(143, 6); + // // mnuItemExit // this.mnuItemExit.Name = "mnuItemExit"; - this.mnuItemExit.Size = new System.Drawing.Size(152, 22); + this.mnuItemExit.Size = new System.Drawing.Size(146, 22); this.mnuItemExit.Text = "&Exit"; this.mnuItemExit.Click += new System.EventHandler(this.mnuItemExit_Click); // @@ -148,22 +137,10 @@ // mnuItemConfig // this.mnuItemConfig.Name = "mnuItemConfig"; - this.mnuItemConfig.Size = new System.Drawing.Size(152, 22); + this.mnuItemConfig.Size = new System.Drawing.Size(110, 22); this.mnuItemConfig.Text = "&Config"; this.mnuItemConfig.Click += new System.EventHandler(this.mnuItemConfig_Click); // - // mnuItemOpenProcess - // - this.mnuItemOpenProcess.Name = "mnuItemOpenProcess"; - this.mnuItemOpenProcess.Size = new System.Drawing.Size(152, 22); - this.mnuItemOpenProcess.Text = "&Open process"; - this.mnuItemOpenProcess.Click += new System.EventHandler(this.mnuItemOpenProcess_Click); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(149, 6); - // // Main // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -175,11 +152,10 @@ 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); + this.main_split.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.main_split)).EndInit(); this.main_split.ResumeLayout(false); - this.tabControl1.ResumeLayout(false); this.mainmnu.ResumeLayout(false); this.mainmnu.PerformLayout(); this.ResumeLayout(false); @@ -193,14 +169,12 @@ private System.Windows.Forms.MenuStrip mainmnu; private System.Windows.Forms.ToolStripMenuItem mnuFile; private System.Windows.Forms.ToolStripMenuItem mnuItemExit; - private System.Windows.Forms.TabControl tabControl1; - private System.Windows.Forms.TabPage MainTab; - private System.Windows.Forms.TabPage tabPage2; private RomCheater.Logging.LogWriter logwriter; private System.Windows.Forms.ToolStripMenuItem mnuTools; private System.Windows.Forms.ToolStripMenuItem mnuItemConfig; private System.Windows.Forms.ToolStripMenuItem mnuItemOpenProcess; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.Button btnExapandCollapseLogWindow; } }