29 |
|
private void InitializeComponent() |
30 |
|
{ |
31 |
|
this.main_split = new System.Windows.Forms.SplitContainer(); |
32 |
– |
this.mainmnu = new System.Windows.Forms.MenuStrip(); |
33 |
– |
this.mnuFile = new System.Windows.Forms.ToolStripMenuItem(); |
34 |
– |
this.mnuItemExit = new System.Windows.Forms.ToolStripMenuItem(); |
35 |
– |
this.txtLog = new System.Windows.Forms.RichTextBox(); |
32 |
|
this.tabControl1 = new System.Windows.Forms.TabControl(); |
33 |
|
this.MainTab = new System.Windows.Forms.TabPage(); |
34 |
|
this.tabPage2 = new System.Windows.Forms.TabPage(); |
35 |
< |
this.Status_control_flow = new System.Windows.Forms.FlowLayoutPanel(); |
36 |
< |
this.btnCopyLogToClipboard = new System.Windows.Forms.Button(); |
35 |
> |
this.mainmnu = new System.Windows.Forms.MenuStrip(); |
36 |
> |
this.mnuFile = new System.Windows.Forms.ToolStripMenuItem(); |
37 |
> |
this.mnuItemExit = new System.Windows.Forms.ToolStripMenuItem(); |
38 |
> |
this.logwriter = new RomCheater.Logging.LogWriter(); |
39 |
|
((System.ComponentModel.ISupportInitialize)(this.main_split)).BeginInit(); |
40 |
|
this.main_split.Panel1.SuspendLayout(); |
41 |
|
this.main_split.Panel2.SuspendLayout(); |
42 |
|
this.main_split.SuspendLayout(); |
45 |
– |
this.mainmnu.SuspendLayout(); |
43 |
|
this.tabControl1.SuspendLayout(); |
44 |
< |
this.Status_control_flow.SuspendLayout(); |
44 |
> |
this.mainmnu.SuspendLayout(); |
45 |
|
this.SuspendLayout(); |
46 |
|
// |
47 |
|
// main_split |
58 |
|
// |
59 |
|
// main_split.Panel2 |
60 |
|
// |
61 |
< |
this.main_split.Panel2.Controls.Add(this.txtLog); |
65 |
< |
this.main_split.Panel2.Controls.Add(this.Status_control_flow); |
61 |
> |
this.main_split.Panel2.Controls.Add(this.logwriter); |
62 |
|
this.main_split.Size = new System.Drawing.Size(1229, 688); |
63 |
|
this.main_split.SplitterDistance = 534; |
64 |
|
this.main_split.TabIndex = 0; |
65 |
|
// |
70 |
– |
// mainmnu |
71 |
– |
// |
72 |
– |
this.mainmnu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
73 |
– |
this.mnuFile}); |
74 |
– |
this.mainmnu.Location = new System.Drawing.Point(0, 0); |
75 |
– |
this.mainmnu.Name = "mainmnu"; |
76 |
– |
this.mainmnu.Size = new System.Drawing.Size(1229, 24); |
77 |
– |
this.mainmnu.TabIndex = 1; |
78 |
– |
this.mainmnu.Text = "menuStrip1"; |
79 |
– |
// |
80 |
– |
// mnuFile |
81 |
– |
// |
82 |
– |
this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
83 |
– |
this.mnuItemExit}); |
84 |
– |
this.mnuFile.Name = "mnuFile"; |
85 |
– |
this.mnuFile.Size = new System.Drawing.Size(37, 20); |
86 |
– |
this.mnuFile.Text = "&File"; |
87 |
– |
// |
88 |
– |
// mnuItemExit |
89 |
– |
// |
90 |
– |
this.mnuItemExit.Name = "mnuItemExit"; |
91 |
– |
this.mnuItemExit.Size = new System.Drawing.Size(152, 22); |
92 |
– |
this.mnuItemExit.Text = "&Exit"; |
93 |
– |
this.mnuItemExit.Click += new System.EventHandler(this.mnuItemExit_Click); |
94 |
– |
// |
95 |
– |
// txtLog |
96 |
– |
// |
97 |
– |
this.txtLog.BackColor = System.Drawing.SystemColors.ControlDark; |
98 |
– |
this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill; |
99 |
– |
this.txtLog.Location = new System.Drawing.Point(0, 0); |
100 |
– |
this.txtLog.Name = "txtLog"; |
101 |
– |
this.txtLog.ReadOnly = true; |
102 |
– |
this.txtLog.Size = new System.Drawing.Size(1225, 118); |
103 |
– |
this.txtLog.TabIndex = 0; |
104 |
– |
this.txtLog.Text = ""; |
105 |
– |
// |
66 |
|
// tabControl1 |
67 |
|
// |
68 |
|
this.tabControl1.Controls.Add(this.MainTab); |
89 |
|
this.tabPage2.Location = new System.Drawing.Point(4, 22); |
90 |
|
this.tabPage2.Name = "tabPage2"; |
91 |
|
this.tabPage2.Padding = new System.Windows.Forms.Padding(3); |
92 |
< |
this.tabPage2.Size = new System.Drawing.Size(192, 74); |
92 |
> |
this.tabPage2.Size = new System.Drawing.Size(1217, 504); |
93 |
|
this.tabPage2.TabIndex = 1; |
94 |
|
this.tabPage2.Text = "tabPage2"; |
95 |
|
this.tabPage2.UseVisualStyleBackColor = true; |
96 |
|
// |
97 |
< |
// Status_control_flow |
97 |
> |
// mainmnu |
98 |
> |
// |
99 |
> |
this.mainmnu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
100 |
> |
this.mnuFile}); |
101 |
> |
this.mainmnu.Location = new System.Drawing.Point(0, 0); |
102 |
> |
this.mainmnu.Name = "mainmnu"; |
103 |
> |
this.mainmnu.Size = new System.Drawing.Size(1229, 24); |
104 |
> |
this.mainmnu.TabIndex = 1; |
105 |
> |
this.mainmnu.Text = "menuStrip1"; |
106 |
> |
// |
107 |
> |
// mnuFile |
108 |
> |
// |
109 |
> |
this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
110 |
> |
this.mnuItemExit}); |
111 |
> |
this.mnuFile.Name = "mnuFile"; |
112 |
> |
this.mnuFile.Size = new System.Drawing.Size(37, 20); |
113 |
> |
this.mnuFile.Text = "&File"; |
114 |
|
// |
115 |
< |
this.Status_control_flow.Controls.Add(this.btnCopyLogToClipboard); |
116 |
< |
this.Status_control_flow.Dock = System.Windows.Forms.DockStyle.Bottom; |
117 |
< |
this.Status_control_flow.Location = new System.Drawing.Point(0, 118); |
118 |
< |
this.Status_control_flow.Name = "Status_control_flow"; |
119 |
< |
this.Status_control_flow.Size = new System.Drawing.Size(1225, 28); |
120 |
< |
this.Status_control_flow.TabIndex = 1; |
121 |
< |
// |
122 |
< |
// btnCopyLogToClipboard |
123 |
< |
// |
124 |
< |
this.btnCopyLogToClipboard.AutoSize = true; |
125 |
< |
this.btnCopyLogToClipboard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
126 |
< |
this.btnCopyLogToClipboard.Location = new System.Drawing.Point(3, 3); |
127 |
< |
this.btnCopyLogToClipboard.Name = "btnCopyLogToClipboard"; |
128 |
< |
this.btnCopyLogToClipboard.Size = new System.Drawing.Size(125, 23); |
129 |
< |
this.btnCopyLogToClipboard.TabIndex = 0; |
130 |
< |
this.btnCopyLogToClipboard.Text = "Copy Log To Clipboard"; |
131 |
< |
this.btnCopyLogToClipboard.UseVisualStyleBackColor = true; |
156 |
< |
this.btnCopyLogToClipboard.Click += new System.EventHandler(this.btnCopyLogToClipboard_Click); |
115 |
> |
// mnuItemExit |
116 |
> |
// |
117 |
> |
this.mnuItemExit.Name = "mnuItemExit"; |
118 |
> |
this.mnuItemExit.Size = new System.Drawing.Size(92, 22); |
119 |
> |
this.mnuItemExit.Text = "&Exit"; |
120 |
> |
this.mnuItemExit.Click += new System.EventHandler(this.mnuItemExit_Click); |
121 |
> |
// |
122 |
> |
// logwriter |
123 |
> |
// |
124 |
> |
this.logwriter.Dock = System.Windows.Forms.DockStyle.Fill; |
125 |
> |
this.logwriter.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
126 |
> |
this.logwriter.Location = new System.Drawing.Point(0, 0); |
127 |
> |
this.logwriter.Margin = new System.Windows.Forms.Padding(0); |
128 |
> |
this.logwriter.Name = "logwriter"; |
129 |
> |
this.logwriter.RedirectConsoleOutput = true; |
130 |
> |
this.logwriter.Size = new System.Drawing.Size(1225, 146); |
131 |
> |
this.logwriter.TabIndex = 2; |
132 |
|
// |
133 |
|
// Main |
134 |
|
// |
140 |
|
this.Controls.Add(this.mainmnu); |
141 |
|
this.Name = "Main"; |
142 |
|
this.Text = "Form1"; |
143 |
+ |
this.Load += new System.EventHandler(this.Main_Load); |
144 |
|
this.main_split.Panel1.ResumeLayout(false); |
145 |
|
this.main_split.Panel2.ResumeLayout(false); |
146 |
|
((System.ComponentModel.ISupportInitialize)(this.main_split)).EndInit(); |
147 |
|
this.main_split.ResumeLayout(false); |
148 |
+ |
this.tabControl1.ResumeLayout(false); |
149 |
|
this.mainmnu.ResumeLayout(false); |
150 |
|
this.mainmnu.PerformLayout(); |
174 |
– |
this.tabControl1.ResumeLayout(false); |
175 |
– |
this.Status_control_flow.ResumeLayout(false); |
176 |
– |
this.Status_control_flow.PerformLayout(); |
151 |
|
this.ResumeLayout(false); |
152 |
|
this.PerformLayout(); |
153 |
|
|
159 |
|
private System.Windows.Forms.MenuStrip mainmnu; |
160 |
|
private System.Windows.Forms.ToolStripMenuItem mnuFile; |
161 |
|
private System.Windows.Forms.ToolStripMenuItem mnuItemExit; |
188 |
– |
private System.Windows.Forms.RichTextBox txtLog; |
162 |
|
private System.Windows.Forms.TabControl tabControl1; |
163 |
|
private System.Windows.Forms.TabPage MainTab; |
164 |
|
private System.Windows.Forms.TabPage tabPage2; |
165 |
< |
private System.Windows.Forms.FlowLayoutPanel Status_control_flow; |
193 |
< |
private System.Windows.Forms.Button btnCopyLogToClipboard; |
165 |
> |
private RomCheater.Logging.LogWriter logwriter; |
166 |
|
} |
167 |
|
} |
168 |
|
|