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