Rev 6 | Rev 8 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | freddie | 1 | /* |
2 | * Created by SharpDevelop. |
||
3 | * User: 06pfjn |
||
4 | * Date: 30/06/2010 |
||
5 | * Time: 12:15 |
||
6 | * |
||
7 | * To change this template use Tools | Options | Coding | Edit Standard Headers. |
||
8 | */ |
||
9 | namespace LassyPad |
||
10 | { |
||
11 | partial class MainForm |
||
12 | { |
||
13 | /// <summary> |
||
14 | /// Designer variable used to keep track of non-visual components. |
||
15 | /// </summary> |
||
16 | private System.ComponentModel.IContainer components = null; |
||
17 | |||
18 | /// <summary> |
||
19 | /// Disposes resources used by the form. |
||
20 | /// </summary> |
||
21 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
||
22 | protected override void Dispose(bool disposing) |
||
23 | { |
||
24 | if (disposing) { |
||
25 | if (components != null) { |
||
26 | components.Dispose(); |
||
27 | } |
||
28 | } |
||
29 | base.Dispose(disposing); |
||
30 | } |
||
31 | |||
32 | /// <summary> |
||
33 | /// This method is required for Windows Forms designer support. |
||
34 | /// Do not change the method contents inside the source code editor. The Forms designer might |
||
35 | /// not be able to load this method if it was changed manually. |
||
36 | /// </summary> |
||
37 | private void InitializeComponent() |
||
38 | { |
||
7 | freddie | 39 | this.components = new System.ComponentModel.Container(); |
1 | freddie | 40 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
41 | this.fileBar = new System.Windows.Forms.ToolStrip(); |
||
42 | this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); |
||
43 | this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); |
||
44 | this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); |
||
45 | this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); |
||
46 | this.formatBar = new System.Windows.Forms.ToolStrip(); |
||
47 | this.sizeF = new System.Windows.Forms.ToolStripTextBox(); |
||
7 | freddie | 48 | this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); |
49 | this.textColourF = new System.Windows.Forms.ToolStripButton(); |
||
50 | this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); |
||
1 | freddie | 51 | this.boldF = new System.Windows.Forms.ToolStripButton(); |
52 | this.italicF = new System.Windows.Forms.ToolStripButton(); |
||
53 | this.underlineF = new System.Windows.Forms.ToolStripButton(); |
||
6 | freddie | 54 | this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |
1 | freddie | 55 | this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); |
56 | this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); |
||
57 | this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); |
||
4 | freddie | 58 | this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
59 | this.toolStripButton8 = new System.Windows.Forms.ToolStripButton(); |
||
1 | freddie | 60 | this.menuStrip1 = new System.Windows.Forms.MenuStrip(); |
61 | this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
62 | this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
63 | this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
64 | this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
4 | freddie | 65 | this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
2 | tom | 66 | this.editorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
67 | this.wordWrapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
1 | freddie | 68 | this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); |
69 | this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); |
||
5 | freddie | 70 | this.tabControl = new System.Windows.Forms.TabControl(); |
71 | this.welcomeTab = new System.Windows.Forms.TabPage(); |
||
72 | this.welcomeView = new System.Windows.Forms.WebBrowser(); |
||
73 | this.editorTab = new System.Windows.Forms.TabPage(); |
||
74 | this.editorView = new System.Windows.Forms.RichTextBox(); |
||
7 | freddie | 75 | this.editorMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); |
76 | this.saveFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
77 | this.closeFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
78 | this.zoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
79 | this.inToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
80 | this.outToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||
5 | freddie | 81 | this.treeView = new System.Windows.Forms.TreeView(); |
82 | this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
||
83 | this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); |
||
7 | freddie | 84 | this.colorDialog1 = new System.Windows.Forms.ColorDialog(); |
1 | freddie | 85 | this.fileBar.SuspendLayout(); |
5 | freddie | 86 | this.formatBar.SuspendLayout(); |
87 | this.menuStrip1.SuspendLayout(); |
||
88 | this.tabControl.SuspendLayout(); |
||
89 | this.welcomeTab.SuspendLayout(); |
||
90 | this.editorTab.SuspendLayout(); |
||
7 | freddie | 91 | this.editorMenuStrip.SuspendLayout(); |
1 | freddie | 92 | this.splitContainer1.Panel1.SuspendLayout(); |
93 | this.splitContainer1.Panel2.SuspendLayout(); |
||
94 | this.splitContainer1.SuspendLayout(); |
||
5 | freddie | 95 | this.toolStripContainer1.ContentPanel.SuspendLayout(); |
96 | this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); |
||
97 | this.toolStripContainer1.SuspendLayout(); |
||
1 | freddie | 98 | this.SuspendLayout(); |
99 | // |
||
100 | // fileBar |
||
101 | // |
||
5 | freddie | 102 | this.fileBar.Dock = System.Windows.Forms.DockStyle.None; |
1 | freddie | 103 | this.fileBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
104 | this.toolStripButton1, |
||
105 | this.toolStripButton2, |
||
106 | this.toolStripButton3, |
||
107 | this.toolStripButton4}); |
||
5 | freddie | 108 | this.fileBar.Location = new System.Drawing.Point(3, 0); |
1 | freddie | 109 | this.fileBar.Name = "fileBar"; |
5 | freddie | 110 | this.fileBar.Size = new System.Drawing.Size(104, 25); |
1 | freddie | 111 | this.fileBar.TabIndex = 1; |
112 | this.fileBar.Text = "toolStrip1"; |
||
113 | // |
||
114 | // toolStripButton1 |
||
115 | // |
||
116 | this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
117 | this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); |
||
118 | this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
119 | this.toolStripButton1.Name = "toolStripButton1"; |
||
120 | this.toolStripButton1.Size = new System.Drawing.Size(23, 22); |
||
121 | this.toolStripButton1.Text = "toolStripButton1"; |
||
6 | freddie | 122 | this.toolStripButton1.ToolTipText = "New File"; |
1 | freddie | 123 | this.toolStripButton1.Click += new System.EventHandler(this.ToolStripButton1Click); |
124 | // |
||
125 | // toolStripButton2 |
||
126 | // |
||
127 | this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
128 | this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); |
||
129 | this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
130 | this.toolStripButton2.Name = "toolStripButton2"; |
||
131 | this.toolStripButton2.Size = new System.Drawing.Size(23, 22); |
||
132 | this.toolStripButton2.Text = "toolStripButton2"; |
||
6 | freddie | 133 | this.toolStripButton2.ToolTipText = "Open File"; |
1 | freddie | 134 | this.toolStripButton2.Click += new System.EventHandler(this.ToolStripButton2Click); |
135 | // |
||
136 | // toolStripButton3 |
||
137 | // |
||
138 | this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
139 | this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); |
||
140 | this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
141 | this.toolStripButton3.Name = "toolStripButton3"; |
||
142 | this.toolStripButton3.Size = new System.Drawing.Size(23, 22); |
||
143 | this.toolStripButton3.Text = "toolStripButton3"; |
||
6 | freddie | 144 | this.toolStripButton3.ToolTipText = "Save File"; |
1 | freddie | 145 | this.toolStripButton3.Click += new System.EventHandler(this.ToolStripButton3Click); |
146 | // |
||
147 | // toolStripButton4 |
||
148 | // |
||
149 | this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
150 | this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); |
||
151 | this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
152 | this.toolStripButton4.Name = "toolStripButton4"; |
||
153 | this.toolStripButton4.Size = new System.Drawing.Size(23, 22); |
||
154 | this.toolStripButton4.Text = "toolStripButton4"; |
||
6 | freddie | 155 | this.toolStripButton4.ToolTipText = "Close File"; |
1 | freddie | 156 | this.toolStripButton4.Click += new System.EventHandler(this.ToolStripButton4Click); |
157 | // |
||
158 | // formatBar |
||
159 | // |
||
5 | freddie | 160 | this.formatBar.Dock = System.Windows.Forms.DockStyle.None; |
1 | freddie | 161 | this.formatBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
162 | this.sizeF, |
||
7 | freddie | 163 | this.toolStripSeparator3, |
164 | this.textColourF, |
||
165 | this.toolStripSeparator4, |
||
1 | freddie | 166 | this.boldF, |
167 | this.italicF, |
||
168 | this.underlineF, |
||
6 | freddie | 169 | this.toolStripSeparator2, |
1 | freddie | 170 | this.toolStripButton5, |
171 | this.toolStripButton6, |
||
4 | freddie | 172 | this.toolStripButton7, |
173 | this.toolStripSeparator1, |
||
174 | this.toolStripButton8}); |
||
5 | freddie | 175 | this.formatBar.Location = new System.Drawing.Point(107, 0); |
1 | freddie | 176 | this.formatBar.Name = "formatBar"; |
7 | freddie | 177 | this.formatBar.Size = new System.Drawing.Size(272, 25); |
1 | freddie | 178 | this.formatBar.TabIndex = 2; |
179 | this.formatBar.Text = "toolStrip2"; |
||
180 | // |
||
181 | // sizeF |
||
182 | // |
||
183 | this.sizeF.Name = "sizeF"; |
||
184 | this.sizeF.Size = new System.Drawing.Size(50, 25); |
||
6 | freddie | 185 | this.sizeF.ToolTipText = "Font Size"; |
1 | freddie | 186 | this.sizeF.TextChanged += new System.EventHandler(this.SizeFTextChanged); |
187 | // |
||
7 | freddie | 188 | // toolStripSeparator3 |
189 | // |
||
190 | this.toolStripSeparator3.Name = "toolStripSeparator3"; |
||
191 | this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); |
||
192 | // |
||
193 | // textColourF |
||
194 | // |
||
195 | this.textColourF.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; |
||
196 | this.textColourF.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
197 | this.textColourF.ImageTransparentColor = System.Drawing.Color.Red; |
||
198 | this.textColourF.Name = "textColourF"; |
||
199 | this.textColourF.Size = new System.Drawing.Size(23, 22); |
||
200 | this.textColourF.Text = "A"; |
||
201 | this.textColourF.ToolTipText = "Set Text Colour"; |
||
202 | this.textColourF.Click += new System.EventHandler(this.ToolStripButton9Click); |
||
203 | // |
||
204 | // toolStripSeparator4 |
||
205 | // |
||
206 | this.toolStripSeparator4.Name = "toolStripSeparator4"; |
||
207 | this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); |
||
208 | // |
||
1 | freddie | 209 | // boldF |
210 | // |
||
211 | this.boldF.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
212 | this.boldF.Image = ((System.Drawing.Image)(resources.GetObject("boldF.Image"))); |
||
213 | this.boldF.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
214 | this.boldF.Name = "boldF"; |
||
215 | this.boldF.Size = new System.Drawing.Size(23, 22); |
||
6 | freddie | 216 | this.boldF.Text = "Format Text Bold"; |
1 | freddie | 217 | this.boldF.Click += new System.EventHandler(this.BoldFClick); |
218 | // |
||
219 | // italicF |
||
220 | // |
||
221 | this.italicF.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
222 | this.italicF.Image = ((System.Drawing.Image)(resources.GetObject("italicF.Image"))); |
||
223 | this.italicF.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
224 | this.italicF.Name = "italicF"; |
||
225 | this.italicF.Size = new System.Drawing.Size(23, 22); |
||
6 | freddie | 226 | this.italicF.Text = "Format Text Italic"; |
1 | freddie | 227 | this.italicF.Click += new System.EventHandler(this.ItalicFClick); |
228 | // |
||
229 | // underlineF |
||
230 | // |
||
231 | this.underlineF.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
232 | this.underlineF.Image = ((System.Drawing.Image)(resources.GetObject("underlineF.Image"))); |
||
233 | this.underlineF.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
234 | this.underlineF.Name = "underlineF"; |
||
235 | this.underlineF.Size = new System.Drawing.Size(23, 22); |
||
6 | freddie | 236 | this.underlineF.Text = "Format Text Underline"; |
1 | freddie | 237 | this.underlineF.Click += new System.EventHandler(this.UnderlineFClick); |
238 | // |
||
6 | freddie | 239 | // toolStripSeparator2 |
240 | // |
||
241 | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
||
242 | this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); |
||
243 | // |
||
1 | freddie | 244 | // toolStripButton5 |
245 | // |
||
246 | this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
247 | this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); |
||
248 | this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
249 | this.toolStripButton5.Name = "toolStripButton5"; |
||
250 | this.toolStripButton5.Size = new System.Drawing.Size(23, 22); |
||
6 | freddie | 251 | this.toolStripButton5.Text = "Align Text Left"; |
1 | freddie | 252 | this.toolStripButton5.Click += new System.EventHandler(this.ToolStripButton5Click); |
253 | // |
||
254 | // toolStripButton6 |
||
255 | // |
||
256 | this.toolStripButton6.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
257 | this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); |
||
258 | this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
259 | this.toolStripButton6.Name = "toolStripButton6"; |
||
260 | this.toolStripButton6.Size = new System.Drawing.Size(23, 22); |
||
6 | freddie | 261 | this.toolStripButton6.Text = "Align Text Center"; |
1 | freddie | 262 | this.toolStripButton6.Click += new System.EventHandler(this.ToolStripButton6Click); |
263 | // |
||
264 | // toolStripButton7 |
||
265 | // |
||
266 | this.toolStripButton7.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
267 | this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image"))); |
||
268 | this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
269 | this.toolStripButton7.Name = "toolStripButton7"; |
||
270 | this.toolStripButton7.Size = new System.Drawing.Size(23, 22); |
||
6 | freddie | 271 | this.toolStripButton7.Text = "Align Text Right"; |
1 | freddie | 272 | this.toolStripButton7.Click += new System.EventHandler(this.ToolStripButton7Click); |
273 | // |
||
4 | freddie | 274 | // toolStripSeparator1 |
275 | // |
||
276 | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
||
277 | this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); |
||
278 | // |
||
279 | // toolStripButton8 |
||
280 | // |
||
281 | this.toolStripButton8.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
||
282 | this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image"))); |
||
283 | this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta; |
||
284 | this.toolStripButton8.Name = "toolStripButton8"; |
||
285 | this.toolStripButton8.Size = new System.Drawing.Size(23, 22); |
||
6 | freddie | 286 | this.toolStripButton8.Text = "Insert Image"; |
287 | this.toolStripButton8.Click += new System.EventHandler(this.ToolStripButton8Click); |
||
4 | freddie | 288 | // |
1 | freddie | 289 | // menuStrip1 |
290 | // |
||
291 | this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||
292 | this.fileToolStripMenuItem, |
||
293 | this.editorToolStripMenuItem}); |
||
294 | this.menuStrip1.Location = new System.Drawing.Point(0, 0); |
||
295 | this.menuStrip1.Name = "menuStrip1"; |
||
296 | this.menuStrip1.Size = new System.Drawing.Size(755, 24); |
||
297 | this.menuStrip1.TabIndex = 4; |
||
298 | this.menuStrip1.Text = "menuStrip1"; |
||
299 | // |
||
300 | // fileToolStripMenuItem |
||
301 | // |
||
302 | this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||
303 | this.newToolStripMenuItem, |
||
304 | this.openToolStripMenuItem, |
||
3 | freddie | 305 | this.saveToolStripMenuItem, |
306 | this.saveAsToolStripMenuItem}); |
||
1 | freddie | 307 | this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; |
308 | this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); |
||
309 | this.fileToolStripMenuItem.Text = "File"; |
||
310 | // |
||
311 | // newToolStripMenuItem |
||
312 | // |
||
313 | this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image"))); |
||
314 | this.newToolStripMenuItem.Name = "newToolStripMenuItem"; |
||
4 | freddie | 315 | this.newToolStripMenuItem.Size = new System.Drawing.Size(124, 22); |
1 | freddie | 316 | this.newToolStripMenuItem.Text = "New"; |
317 | this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItemClick); |
||
318 | // |
||
319 | // openToolStripMenuItem |
||
320 | // |
||
321 | this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image"))); |
||
322 | this.openToolStripMenuItem.Name = "openToolStripMenuItem"; |
||
4 | freddie | 323 | this.openToolStripMenuItem.Size = new System.Drawing.Size(124, 22); |
1 | freddie | 324 | this.openToolStripMenuItem.Text = "Open"; |
325 | this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenToolStripMenuItemClick); |
||
326 | // |
||
327 | // saveToolStripMenuItem |
||
328 | // |
||
329 | this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); |
||
330 | this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; |
||
4 | freddie | 331 | this.saveToolStripMenuItem.Size = new System.Drawing.Size(124, 22); |
1 | freddie | 332 | this.saveToolStripMenuItem.Text = "Save"; |
333 | this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveToolStripMenuItemClick); |
||
334 | // |
||
4 | freddie | 335 | // saveAsToolStripMenuItem |
336 | // |
||
6 | freddie | 337 | this.saveAsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveAsToolStripMenuItem.Image"))); |
4 | freddie | 338 | this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; |
339 | this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(124, 22); |
||
340 | this.saveAsToolStripMenuItem.Text = "Save As"; |
||
341 | this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsToolStripMenuItemClick); |
||
342 | // |
||
1 | freddie | 343 | // editorToolStripMenuItem |
344 | // |
||
345 | this.editorToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||
346 | this.wordWrapToolStripMenuItem}); |
||
347 | this.editorToolStripMenuItem.Name = "editorToolStripMenuItem"; |
||
348 | this.editorToolStripMenuItem.Size = new System.Drawing.Size(47, 20); |
||
349 | this.editorToolStripMenuItem.Text = "Editor"; |
||
350 | // |
||
351 | // wordWrapToolStripMenuItem |
||
352 | // |
||
2 | tom | 353 | this.wordWrapToolStripMenuItem.Checked = true; |
354 | this.wordWrapToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; |
||
1 | freddie | 355 | this.wordWrapToolStripMenuItem.Name = "wordWrapToolStripMenuItem"; |
3 | freddie | 356 | this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(140, 22); |
1 | freddie | 357 | this.wordWrapToolStripMenuItem.Text = "Word Wrap"; |
358 | this.wordWrapToolStripMenuItem.Click += new System.EventHandler(this.WordWrapToolStripMenuItemClick); |
||
359 | // |
||
2 | tom | 360 | // openFileDialog1 |
361 | // |
||
362 | this.openFileDialog1.FileName = "openFileDialog1"; |
||
4 | freddie | 363 | this.openFileDialog1.Filter = "Rich Text Format|*.rtf|Plain Text|*.txt|All Files|*.*"; |
2 | tom | 364 | // |
4 | freddie | 365 | // saveFileDialog1 |
3 | freddie | 366 | // |
4 | freddie | 367 | this.saveFileDialog1.Filter = "Rich Text Format|*.rtf|Plain Text|*.txt"; |
3 | freddie | 368 | // |
5 | freddie | 369 | // tabControl |
370 | // |
||
371 | this.tabControl.Controls.Add(this.welcomeTab); |
||
372 | this.tabControl.Controls.Add(this.editorTab); |
||
373 | this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; |
||
374 | this.tabControl.Location = new System.Drawing.Point(0, 0); |
||
375 | this.tabControl.Name = "tabControl"; |
||
376 | this.tabControl.SelectedIndex = 0; |
||
377 | this.tabControl.Size = new System.Drawing.Size(502, 355); |
||
378 | this.tabControl.TabIndex = 0; |
||
379 | // |
||
380 | // welcomeTab |
||
381 | // |
||
382 | this.welcomeTab.Controls.Add(this.welcomeView); |
||
383 | this.welcomeTab.Location = new System.Drawing.Point(4, 22); |
||
384 | this.welcomeTab.Name = "welcomeTab"; |
||
385 | this.welcomeTab.Padding = new System.Windows.Forms.Padding(3); |
||
386 | this.welcomeTab.Size = new System.Drawing.Size(494, 329); |
||
387 | this.welcomeTab.TabIndex = 0; |
||
388 | this.welcomeTab.Text = "Welcome"; |
||
389 | this.welcomeTab.UseVisualStyleBackColor = true; |
||
390 | // |
||
391 | // welcomeView |
||
392 | // |
||
393 | this.welcomeView.Dock = System.Windows.Forms.DockStyle.Fill; |
||
394 | this.welcomeView.Location = new System.Drawing.Point(3, 3); |
||
395 | this.welcomeView.MinimumSize = new System.Drawing.Size(20, 20); |
||
396 | this.welcomeView.Name = "welcomeView"; |
||
397 | this.welcomeView.Size = new System.Drawing.Size(488, 323); |
||
398 | this.welcomeView.TabIndex = 0; |
||
399 | // |
||
400 | // editorTab |
||
401 | // |
||
402 | this.editorTab.Controls.Add(this.editorView); |
||
403 | this.editorTab.Location = new System.Drawing.Point(4, 22); |
||
404 | this.editorTab.Name = "editorTab"; |
||
405 | this.editorTab.Padding = new System.Windows.Forms.Padding(3); |
||
6 | freddie | 406 | this.editorTab.Size = new System.Drawing.Size(494, 329); |
5 | freddie | 407 | this.editorTab.TabIndex = 1; |
408 | this.editorTab.Text = "Editor"; |
||
409 | this.editorTab.UseVisualStyleBackColor = true; |
||
410 | // |
||
411 | // editorView |
||
412 | // |
||
413 | this.editorView.BorderStyle = System.Windows.Forms.BorderStyle.None; |
||
7 | freddie | 414 | this.editorView.ContextMenuStrip = this.editorMenuStrip; |
5 | freddie | 415 | this.editorView.DetectUrls = false; |
416 | this.editorView.Dock = System.Windows.Forms.DockStyle.Fill; |
||
7 | freddie | 417 | this.editorView.EnableAutoDragDrop = true; |
418 | this.editorView.HideSelection = false; |
||
5 | freddie | 419 | this.editorView.Location = new System.Drawing.Point(3, 3); |
420 | this.editorView.Name = "editorView"; |
||
6 | freddie | 421 | this.editorView.Size = new System.Drawing.Size(488, 323); |
5 | freddie | 422 | this.editorView.TabIndex = 0; |
423 | this.editorView.Text = ""; |
||
424 | this.editorView.SelectionChanged += new System.EventHandler(this.EditorViewSelectionChanged); |
||
425 | this.editorView.TextChanged += new System.EventHandler(this.EditorViewTextChanged); |
||
426 | // |
||
7 | freddie | 427 | // editorMenuStrip |
428 | // |
||
429 | this.editorMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||
430 | this.saveFileToolStripMenuItem, |
||
431 | this.closeFileToolStripMenuItem, |
||
432 | this.zoomToolStripMenuItem}); |
||
433 | this.editorMenuStrip.Name = "editorMenuStrip"; |
||
434 | this.editorMenuStrip.Size = new System.Drawing.Size(131, 70); |
||
435 | // |
||
436 | // saveFileToolStripMenuItem |
||
437 | // |
||
438 | this.saveFileToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveFileToolStripMenuItem.Image"))); |
||
439 | this.saveFileToolStripMenuItem.Name = "saveFileToolStripMenuItem"; |
||
440 | this.saveFileToolStripMenuItem.Size = new System.Drawing.Size(130, 22); |
||
441 | this.saveFileToolStripMenuItem.Text = "Save File"; |
||
442 | this.saveFileToolStripMenuItem.Click += new System.EventHandler(this.SaveFileToolStripMenuItemClick); |
||
443 | // |
||
444 | // closeFileToolStripMenuItem |
||
445 | // |
||
446 | this.closeFileToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("closeFileToolStripMenuItem.Image"))); |
||
447 | this.closeFileToolStripMenuItem.Name = "closeFileToolStripMenuItem"; |
||
448 | this.closeFileToolStripMenuItem.Size = new System.Drawing.Size(130, 22); |
||
449 | this.closeFileToolStripMenuItem.Text = "Close File"; |
||
450 | this.closeFileToolStripMenuItem.Click += new System.EventHandler(this.CloseFileToolStripMenuItemClick); |
||
451 | // |
||
452 | // zoomToolStripMenuItem |
||
453 | // |
||
454 | this.zoomToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||
455 | this.inToolStripMenuItem, |
||
456 | this.outToolStripMenuItem}); |
||
457 | this.zoomToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("zoomToolStripMenuItem.Image"))); |
||
458 | this.zoomToolStripMenuItem.Name = "zoomToolStripMenuItem"; |
||
459 | this.zoomToolStripMenuItem.Size = new System.Drawing.Size(130, 22); |
||
460 | this.zoomToolStripMenuItem.Text = "Zoom"; |
||
461 | // |
||
462 | // inToolStripMenuItem |
||
463 | // |
||
464 | this.inToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("inToolStripMenuItem.Image"))); |
||
465 | this.inToolStripMenuItem.Name = "inToolStripMenuItem"; |
||
466 | this.inToolStripMenuItem.Size = new System.Drawing.Size(132, 22); |
||
467 | this.inToolStripMenuItem.Text = "Zoom In"; |
||
468 | this.inToolStripMenuItem.Click += new System.EventHandler(this.InToolStripMenuItemClick); |
||
469 | // |
||
470 | // outToolStripMenuItem |
||
471 | // |
||
472 | this.outToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("outToolStripMenuItem.Image"))); |
||
473 | this.outToolStripMenuItem.Name = "outToolStripMenuItem"; |
||
474 | this.outToolStripMenuItem.Size = new System.Drawing.Size(132, 22); |
||
475 | this.outToolStripMenuItem.Text = "Zoom Out"; |
||
476 | this.outToolStripMenuItem.Click += new System.EventHandler(this.OutToolStripMenuItemClick); |
||
477 | // |
||
5 | freddie | 478 | // treeView |
479 | // |
||
480 | this.treeView.BackColor = System.Drawing.SystemColors.InactiveBorder; |
||
7 | freddie | 481 | this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
5 | freddie | 482 | this.treeView.Dock = System.Windows.Forms.DockStyle.Fill; |
483 | this.treeView.Location = new System.Drawing.Point(0, 0); |
||
484 | this.treeView.Name = "treeView"; |
||
485 | this.treeView.Size = new System.Drawing.Size(249, 355); |
||
486 | this.treeView.TabIndex = 0; |
||
487 | this.treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeViewNodeMouseClick); |
||
488 | // |
||
489 | // splitContainer1 |
||
490 | // |
||
491 | this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
||
492 | this.splitContainer1.Location = new System.Drawing.Point(0, 0); |
||
493 | this.splitContainer1.Name = "splitContainer1"; |
||
494 | // |
||
495 | // splitContainer1.Panel1 |
||
496 | // |
||
497 | this.splitContainer1.Panel1.Controls.Add(this.treeView); |
||
498 | // |
||
499 | // splitContainer1.Panel2 |
||
500 | // |
||
501 | this.splitContainer1.Panel2.Controls.Add(this.tabControl); |
||
502 | this.splitContainer1.Size = new System.Drawing.Size(755, 355); |
||
503 | this.splitContainer1.SplitterDistance = 249; |
||
504 | this.splitContainer1.TabIndex = 3; |
||
505 | // |
||
506 | // toolStripContainer1 |
||
507 | // |
||
508 | // |
||
509 | // toolStripContainer1.ContentPanel |
||
510 | // |
||
511 | this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer1); |
||
512 | this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(755, 355); |
||
513 | this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
||
514 | this.toolStripContainer1.Location = new System.Drawing.Point(0, 24); |
||
515 | this.toolStripContainer1.Name = "toolStripContainer1"; |
||
516 | this.toolStripContainer1.Size = new System.Drawing.Size(755, 380); |
||
517 | this.toolStripContainer1.TabIndex = 5; |
||
518 | this.toolStripContainer1.Text = "toolStripContainer1"; |
||
519 | // |
||
520 | // toolStripContainer1.TopToolStripPanel |
||
521 | // |
||
522 | this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.fileBar); |
||
523 | this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.formatBar); |
||
524 | // |
||
1 | freddie | 525 | // MainForm |
526 | // |
||
527 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||
528 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||
529 | this.ClientSize = new System.Drawing.Size(755, 404); |
||
5 | freddie | 530 | this.Controls.Add(this.toolStripContainer1); |
1 | freddie | 531 | this.Controls.Add(this.menuStrip1); |
532 | this.Name = "MainForm"; |
||
533 | this.Text = "LassyPad"; |
||
534 | this.Load += new System.EventHandler(this.MainFormLoad); |
||
535 | this.fileBar.ResumeLayout(false); |
||
536 | this.fileBar.PerformLayout(); |
||
537 | this.formatBar.ResumeLayout(false); |
||
538 | this.formatBar.PerformLayout(); |
||
539 | this.menuStrip1.ResumeLayout(false); |
||
540 | this.menuStrip1.PerformLayout(); |
||
5 | freddie | 541 | this.tabControl.ResumeLayout(false); |
542 | this.welcomeTab.ResumeLayout(false); |
||
543 | this.editorTab.ResumeLayout(false); |
||
7 | freddie | 544 | this.editorMenuStrip.ResumeLayout(false); |
5 | freddie | 545 | this.splitContainer1.Panel1.ResumeLayout(false); |
546 | this.splitContainer1.Panel2.ResumeLayout(false); |
||
547 | this.splitContainer1.ResumeLayout(false); |
||
548 | this.toolStripContainer1.ContentPanel.ResumeLayout(false); |
||
549 | this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); |
||
550 | this.toolStripContainer1.TopToolStripPanel.PerformLayout(); |
||
551 | this.toolStripContainer1.ResumeLayout(false); |
||
552 | this.toolStripContainer1.PerformLayout(); |
||
1 | freddie | 553 | this.ResumeLayout(false); |
554 | this.PerformLayout(); |
||
555 | } |
||
7 | freddie | 556 | private System.Windows.Forms.ToolStripButton textColourF; |
557 | private System.Windows.Forms.ColorDialog colorDialog1; |
||
558 | private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; |
||
559 | private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; |
||
560 | private System.Windows.Forms.ToolStripMenuItem outToolStripMenuItem; |
||
561 | private System.Windows.Forms.ToolStripMenuItem inToolStripMenuItem; |
||
562 | private System.Windows.Forms.ToolStripMenuItem zoomToolStripMenuItem; |
||
563 | private System.Windows.Forms.ToolStripMenuItem closeFileToolStripMenuItem; |
||
564 | private System.Windows.Forms.ToolStripMenuItem saveFileToolStripMenuItem; |
||
565 | private System.Windows.Forms.ContextMenuStrip editorMenuStrip; |
||
6 | freddie | 566 | private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |
5 | freddie | 567 | private System.Windows.Forms.ToolStripContainer toolStripContainer1; |
4 | freddie | 568 | private System.Windows.Forms.ToolStripButton toolStripButton8; |
569 | private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |
||
3 | freddie | 570 | private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem; |
1 | freddie | 571 | private System.Windows.Forms.ToolStripMenuItem wordWrapToolStripMenuItem; |
572 | private System.Windows.Forms.ToolStripMenuItem editorToolStripMenuItem; |
||
573 | private System.Windows.Forms.ToolStripTextBox sizeF; |
||
574 | private System.Windows.Forms.ToolStripButton toolStripButton7; |
||
575 | private System.Windows.Forms.ToolStripButton toolStripButton6; |
||
576 | private System.Windows.Forms.ToolStripButton toolStripButton5; |
||
577 | private System.Windows.Forms.ToolStripButton toolStripButton4; |
||
578 | private System.Windows.Forms.SaveFileDialog saveFileDialog1; |
||
579 | private System.Windows.Forms.OpenFileDialog openFileDialog1; |
||
580 | private System.Windows.Forms.ToolStripButton toolStripButton3; |
||
581 | private System.Windows.Forms.ToolStripButton toolStripButton2; |
||
582 | private System.Windows.Forms.WebBrowser welcomeView; |
||
583 | private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; |
||
584 | private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem; |
||
585 | private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem; |
||
586 | private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; |
||
587 | private System.Windows.Forms.MenuStrip menuStrip1; |
||
588 | private System.Windows.Forms.RichTextBox editorView; |
||
589 | private System.Windows.Forms.ToolStripButton boldF; |
||
590 | private System.Windows.Forms.ToolStripButton italicF; |
||
591 | private System.Windows.Forms.ToolStripButton underlineF; |
||
592 | private System.Windows.Forms.TabPage welcomeTab; |
||
593 | private System.Windows.Forms.TabPage editorTab; |
||
594 | private System.Windows.Forms.ToolStripButton toolStripButton1; |
||
595 | private System.Windows.Forms.ToolStrip formatBar; |
||
596 | private System.Windows.Forms.TreeView treeView; |
||
597 | private System.Windows.Forms.TabControl tabControl; |
||
598 | private System.Windows.Forms.ToolStrip fileBar; |
||
599 | private System.Windows.Forms.SplitContainer splitContainer1; |
||
3 | freddie | 600 | |
1 | freddie | 601 | } |
602 | } |