42,18 → 42,12 |
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); |
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); |
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); |
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
this.treeView = new System.Windows.Forms.TreeView(); |
this.tabControl = new System.Windows.Forms.TabControl(); |
this.welcomeTab = new System.Windows.Forms.TabPage(); |
this.welcomeView = new System.Windows.Forms.WebBrowser(); |
this.editorTab = new System.Windows.Forms.TabPage(); |
this.editorView = new System.Windows.Forms.RichTextBox(); |
this.formatBar = new System.Windows.Forms.ToolStrip(); |
this.sizeF = new System.Windows.Forms.ToolStripTextBox(); |
this.boldF = new System.Windows.Forms.ToolStripButton(); |
this.italicF = new System.Windows.Forms.ToolStripButton(); |
this.underlineF = new System.Windows.Forms.ToolStripButton(); |
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); |
this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); |
this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); |
69,30 → 63,41 |
this.wordWrapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); |
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); |
this.tabControl = new System.Windows.Forms.TabControl(); |
this.welcomeTab = new System.Windows.Forms.TabPage(); |
this.welcomeView = new System.Windows.Forms.WebBrowser(); |
this.editorTab = new System.Windows.Forms.TabPage(); |
this.editorView = new System.Windows.Forms.RichTextBox(); |
this.treeView = new System.Windows.Forms.TreeView(); |
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); |
this.fileBar.SuspendLayout(); |
this.formatBar.SuspendLayout(); |
this.menuStrip1.SuspendLayout(); |
this.tabControl.SuspendLayout(); |
this.welcomeTab.SuspendLayout(); |
this.editorTab.SuspendLayout(); |
this.splitContainer1.Panel1.SuspendLayout(); |
this.splitContainer1.Panel2.SuspendLayout(); |
this.splitContainer1.SuspendLayout(); |
this.tabControl.SuspendLayout(); |
this.welcomeTab.SuspendLayout(); |
this.editorTab.SuspendLayout(); |
this.formatBar.SuspendLayout(); |
this.menuStrip1.SuspendLayout(); |
this.toolStripContainer1.ContentPanel.SuspendLayout(); |
this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); |
this.toolStripContainer1.SuspendLayout(); |
this.SuspendLayout(); |
// |
// fileBar |
// |
this.fileBar.Dock = System.Windows.Forms.DockStyle.None; |
this.fileBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
this.toolStripButton1, |
this.toolStripButton2, |
this.toolStripButton3, |
this.toolStripButton4}); |
this.fileBar.Location = new System.Drawing.Point(0, 49); |
this.fileBar.Location = new System.Drawing.Point(3, 0); |
this.fileBar.Name = "fileBar"; |
this.fileBar.Size = new System.Drawing.Size(755, 25); |
this.fileBar.Size = new System.Drawing.Size(104, 25); |
this.fileBar.TabIndex = 1; |
this.fileBar.Text = "toolStrip1"; |
this.fileBar.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.FileBarItemClicked); |
// |
// toolStripButton1 |
// |
102,6 → 107,7 |
this.toolStripButton1.Name = "toolStripButton1"; |
this.toolStripButton1.Size = new System.Drawing.Size(23, 22); |
this.toolStripButton1.Text = "toolStripButton1"; |
this.toolStripButton1.ToolTipText = "New File"; |
this.toolStripButton1.Click += new System.EventHandler(this.ToolStripButton1Click); |
// |
// toolStripButton2 |
112,6 → 118,7 |
this.toolStripButton2.Name = "toolStripButton2"; |
this.toolStripButton2.Size = new System.Drawing.Size(23, 22); |
this.toolStripButton2.Text = "toolStripButton2"; |
this.toolStripButton2.ToolTipText = "Open File"; |
this.toolStripButton2.Click += new System.EventHandler(this.ToolStripButton2Click); |
// |
// toolStripButton3 |
122,6 → 129,7 |
this.toolStripButton3.Name = "toolStripButton3"; |
this.toolStripButton3.Size = new System.Drawing.Size(23, 22); |
this.toolStripButton3.Text = "toolStripButton3"; |
this.toolStripButton3.ToolTipText = "Save File"; |
this.toolStripButton3.Click += new System.EventHandler(this.ToolStripButton3Click); |
// |
// toolStripButton4 |
132,105 → 140,26 |
this.toolStripButton4.Name = "toolStripButton4"; |
this.toolStripButton4.Size = new System.Drawing.Size(23, 22); |
this.toolStripButton4.Text = "toolStripButton4"; |
this.toolStripButton4.ToolTipText = "Close File"; |
this.toolStripButton4.Click += new System.EventHandler(this.ToolStripButton4Click); |
// |
// splitContainer1 |
// |
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
this.splitContainer1.Location = new System.Drawing.Point(0, 74); |
this.splitContainer1.Name = "splitContainer1"; |
// |
// splitContainer1.Panel1 |
// |
this.splitContainer1.Panel1.Controls.Add(this.treeView); |
// |
// splitContainer1.Panel2 |
// |
this.splitContainer1.Panel2.Controls.Add(this.tabControl); |
this.splitContainer1.Size = new System.Drawing.Size(755, 330); |
this.splitContainer1.SplitterDistance = 251; |
this.splitContainer1.TabIndex = 3; |
// |
// treeView |
// |
this.treeView.BackColor = System.Drawing.SystemColors.InactiveBorder; |
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill; |
this.treeView.Location = new System.Drawing.Point(0, 0); |
this.treeView.Name = "treeView"; |
this.treeView.Size = new System.Drawing.Size(251, 330); |
this.treeView.TabIndex = 0; |
this.treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeViewNodeMouseClick); |
// |
// tabControl |
// |
this.tabControl.Controls.Add(this.welcomeTab); |
this.tabControl.Controls.Add(this.editorTab); |
this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; |
this.tabControl.Location = new System.Drawing.Point(0, 0); |
this.tabControl.Name = "tabControl"; |
this.tabControl.SelectedIndex = 0; |
this.tabControl.Size = new System.Drawing.Size(500, 330); |
this.tabControl.TabIndex = 0; |
// |
// welcomeTab |
// |
this.welcomeTab.Controls.Add(this.welcomeView); |
this.welcomeTab.Location = new System.Drawing.Point(4, 22); |
this.welcomeTab.Name = "welcomeTab"; |
this.welcomeTab.Padding = new System.Windows.Forms.Padding(3); |
this.welcomeTab.Size = new System.Drawing.Size(492, 304); |
this.welcomeTab.TabIndex = 0; |
this.welcomeTab.Text = "Welcome"; |
this.welcomeTab.UseVisualStyleBackColor = true; |
// |
// welcomeView |
// |
this.welcomeView.Dock = System.Windows.Forms.DockStyle.Fill; |
this.welcomeView.Location = new System.Drawing.Point(3, 3); |
this.welcomeView.MinimumSize = new System.Drawing.Size(20, 20); |
this.welcomeView.Name = "welcomeView"; |
this.welcomeView.Size = new System.Drawing.Size(486, 298); |
this.welcomeView.TabIndex = 0; |
// |
// editorTab |
// |
this.editorTab.Controls.Add(this.editorView); |
this.editorTab.Location = new System.Drawing.Point(4, 22); |
this.editorTab.Name = "editorTab"; |
this.editorTab.Padding = new System.Windows.Forms.Padding(3); |
this.editorTab.Size = new System.Drawing.Size(492, 304); |
this.editorTab.TabIndex = 1; |
this.editorTab.Text = "Editor"; |
this.editorTab.UseVisualStyleBackColor = true; |
// |
// editorView |
// |
this.editorView.BorderStyle = System.Windows.Forms.BorderStyle.None; |
this.editorView.DetectUrls = false; |
this.editorView.Dock = System.Windows.Forms.DockStyle.Fill; |
this.editorView.Location = new System.Drawing.Point(3, 3); |
this.editorView.Name = "editorView"; |
this.editorView.Size = new System.Drawing.Size(486, 298); |
this.editorView.TabIndex = 0; |
this.editorView.Text = ""; |
this.editorView.SelectionChanged += new System.EventHandler(this.EditorViewSelectionChanged); |
this.editorView.TextChanged += new System.EventHandler(this.EditorViewTextChanged); |
// |
// formatBar |
// |
this.formatBar.Dock = System.Windows.Forms.DockStyle.None; |
this.formatBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
this.sizeF, |
this.boldF, |
this.italicF, |
this.underlineF, |
this.toolStripSeparator2, |
this.toolStripButton5, |
this.toolStripButton6, |
this.toolStripButton7, |
this.toolStripSeparator1, |
this.toolStripButton8}); |
this.formatBar.Location = new System.Drawing.Point(0, 24); |
this.formatBar.Location = new System.Drawing.Point(107, 0); |
this.formatBar.Name = "formatBar"; |
this.formatBar.Size = new System.Drawing.Size(755, 25); |
this.formatBar.Size = new System.Drawing.Size(268, 25); |
this.formatBar.TabIndex = 2; |
this.formatBar.Text = "toolStrip2"; |
// |
238,6 → 167,7 |
// |
this.sizeF.Name = "sizeF"; |
this.sizeF.Size = new System.Drawing.Size(50, 25); |
this.sizeF.ToolTipText = "Font Size"; |
this.sizeF.TextChanged += new System.EventHandler(this.SizeFTextChanged); |
// |
// boldF |
247,7 → 177,7 |
this.boldF.ImageTransparentColor = System.Drawing.Color.Magenta; |
this.boldF.Name = "boldF"; |
this.boldF.Size = new System.Drawing.Size(23, 22); |
this.boldF.Text = "toolStripButton2"; |
this.boldF.Text = "Format Text Bold"; |
this.boldF.Click += new System.EventHandler(this.BoldFClick); |
// |
// italicF |
257,7 → 187,7 |
this.italicF.ImageTransparentColor = System.Drawing.Color.Magenta; |
this.italicF.Name = "italicF"; |
this.italicF.Size = new System.Drawing.Size(23, 22); |
this.italicF.Text = "toolStripButton3"; |
this.italicF.Text = "Format Text Italic"; |
this.italicF.Click += new System.EventHandler(this.ItalicFClick); |
// |
// underlineF |
267,9 → 197,14 |
this.underlineF.ImageTransparentColor = System.Drawing.Color.Magenta; |
this.underlineF.Name = "underlineF"; |
this.underlineF.Size = new System.Drawing.Size(23, 22); |
this.underlineF.Text = "toolStripButton4"; |
this.underlineF.Text = "Format Text Underline"; |
this.underlineF.Click += new System.EventHandler(this.UnderlineFClick); |
// |
// toolStripSeparator2 |
// |
this.toolStripSeparator2.Name = "toolStripSeparator2"; |
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); |
// |
// toolStripButton5 |
// |
this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
277,7 → 212,7 |
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; |
this.toolStripButton5.Name = "toolStripButton5"; |
this.toolStripButton5.Size = new System.Drawing.Size(23, 22); |
this.toolStripButton5.Text = "toolStripButton5"; |
this.toolStripButton5.Text = "Align Text Left"; |
this.toolStripButton5.Click += new System.EventHandler(this.ToolStripButton5Click); |
// |
// toolStripButton6 |
287,7 → 222,7 |
this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; |
this.toolStripButton6.Name = "toolStripButton6"; |
this.toolStripButton6.Size = new System.Drawing.Size(23, 22); |
this.toolStripButton6.Text = "toolStripButton6"; |
this.toolStripButton6.Text = "Align Text Center"; |
this.toolStripButton6.Click += new System.EventHandler(this.ToolStripButton6Click); |
// |
// toolStripButton7 |
297,7 → 232,7 |
this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta; |
this.toolStripButton7.Name = "toolStripButton7"; |
this.toolStripButton7.Size = new System.Drawing.Size(23, 22); |
this.toolStripButton7.Text = "toolStripButton7"; |
this.toolStripButton7.Text = "Align Text Right"; |
this.toolStripButton7.Click += new System.EventHandler(this.ToolStripButton7Click); |
// |
// toolStripSeparator1 |
312,7 → 247,8 |
this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta; |
this.toolStripButton8.Name = "toolStripButton8"; |
this.toolStripButton8.Size = new System.Drawing.Size(23, 22); |
this.toolStripButton8.Text = "toolStripButton8"; |
this.toolStripButton8.Text = "Insert Image"; |
this.toolStripButton8.Click += new System.EventHandler(this.ToolStripButton8Click); |
// |
// menuStrip1 |
// |
362,6 → 298,7 |
// |
// saveAsToolStripMenuItem |
// |
this.saveAsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveAsToolStripMenuItem.Image"))); |
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; |
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(124, 22); |
this.saveAsToolStripMenuItem.Text = "Save As"; |
393,14 → 330,113 |
// |
this.saveFileDialog1.Filter = "Rich Text Format|*.rtf|Plain Text|*.txt"; |
// |
// tabControl |
// |
this.tabControl.Controls.Add(this.welcomeTab); |
this.tabControl.Controls.Add(this.editorTab); |
this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; |
this.tabControl.Location = new System.Drawing.Point(0, 0); |
this.tabControl.Name = "tabControl"; |
this.tabControl.SelectedIndex = 0; |
this.tabControl.Size = new System.Drawing.Size(502, 355); |
this.tabControl.TabIndex = 0; |
// |
// welcomeTab |
// |
this.welcomeTab.Controls.Add(this.welcomeView); |
this.welcomeTab.Location = new System.Drawing.Point(4, 22); |
this.welcomeTab.Name = "welcomeTab"; |
this.welcomeTab.Padding = new System.Windows.Forms.Padding(3); |
this.welcomeTab.Size = new System.Drawing.Size(494, 329); |
this.welcomeTab.TabIndex = 0; |
this.welcomeTab.Text = "Welcome"; |
this.welcomeTab.UseVisualStyleBackColor = true; |
// |
// welcomeView |
// |
this.welcomeView.Dock = System.Windows.Forms.DockStyle.Fill; |
this.welcomeView.Location = new System.Drawing.Point(3, 3); |
this.welcomeView.MinimumSize = new System.Drawing.Size(20, 20); |
this.welcomeView.Name = "welcomeView"; |
this.welcomeView.Size = new System.Drawing.Size(488, 323); |
this.welcomeView.TabIndex = 0; |
// |
// editorTab |
// |
this.editorTab.Controls.Add(this.editorView); |
this.editorTab.Location = new System.Drawing.Point(4, 22); |
this.editorTab.Name = "editorTab"; |
this.editorTab.Padding = new System.Windows.Forms.Padding(3); |
this.editorTab.Size = new System.Drawing.Size(494, 329); |
this.editorTab.TabIndex = 1; |
this.editorTab.Text = "Editor"; |
this.editorTab.UseVisualStyleBackColor = true; |
// |
// editorView |
// |
this.editorView.BorderStyle = System.Windows.Forms.BorderStyle.None; |
this.editorView.DetectUrls = false; |
this.editorView.Dock = System.Windows.Forms.DockStyle.Fill; |
this.editorView.Location = new System.Drawing.Point(3, 3); |
this.editorView.Name = "editorView"; |
this.editorView.Size = new System.Drawing.Size(488, 323); |
this.editorView.TabIndex = 0; |
this.editorView.Text = ""; |
this.editorView.SelectionChanged += new System.EventHandler(this.EditorViewSelectionChanged); |
this.editorView.TextChanged += new System.EventHandler(this.EditorViewTextChanged); |
// |
// treeView |
// |
this.treeView.BackColor = System.Drawing.SystemColors.InactiveBorder; |
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill; |
this.treeView.Location = new System.Drawing.Point(0, 0); |
this.treeView.Name = "treeView"; |
this.treeView.Size = new System.Drawing.Size(249, 355); |
this.treeView.TabIndex = 0; |
this.treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeViewNodeMouseClick); |
// |
// splitContainer1 |
// |
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
this.splitContainer1.Location = new System.Drawing.Point(0, 0); |
this.splitContainer1.Name = "splitContainer1"; |
// |
// splitContainer1.Panel1 |
// |
this.splitContainer1.Panel1.Controls.Add(this.treeView); |
// |
// splitContainer1.Panel2 |
// |
this.splitContainer1.Panel2.Controls.Add(this.tabControl); |
this.splitContainer1.Size = new System.Drawing.Size(755, 355); |
this.splitContainer1.SplitterDistance = 249; |
this.splitContainer1.TabIndex = 3; |
// |
// toolStripContainer1 |
// |
// |
// toolStripContainer1.ContentPanel |
// |
this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer1); |
this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(755, 355); |
this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
this.toolStripContainer1.Location = new System.Drawing.Point(0, 24); |
this.toolStripContainer1.Name = "toolStripContainer1"; |
this.toolStripContainer1.Size = new System.Drawing.Size(755, 380); |
this.toolStripContainer1.TabIndex = 5; |
this.toolStripContainer1.Text = "toolStripContainer1"; |
// |
// toolStripContainer1.TopToolStripPanel |
// |
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.fileBar); |
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.formatBar); |
// |
// MainForm |
// |
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
this.ClientSize = new System.Drawing.Size(755, 404); |
this.Controls.Add(this.splitContainer1); |
this.Controls.Add(this.fileBar); |
this.Controls.Add(this.formatBar); |
this.Controls.Add(this.toolStripContainer1); |
this.Controls.Add(this.menuStrip1); |
this.Name = "MainForm"; |
this.Text = "LassyPad"; |
407,19 → 443,26 |
this.Load += new System.EventHandler(this.MainFormLoad); |
this.fileBar.ResumeLayout(false); |
this.fileBar.PerformLayout(); |
this.splitContainer1.Panel1.ResumeLayout(false); |
this.splitContainer1.Panel2.ResumeLayout(false); |
this.splitContainer1.ResumeLayout(false); |
this.tabControl.ResumeLayout(false); |
this.welcomeTab.ResumeLayout(false); |
this.editorTab.ResumeLayout(false); |
this.formatBar.ResumeLayout(false); |
this.formatBar.PerformLayout(); |
this.menuStrip1.ResumeLayout(false); |
this.menuStrip1.PerformLayout(); |
this.tabControl.ResumeLayout(false); |
this.welcomeTab.ResumeLayout(false); |
this.editorTab.ResumeLayout(false); |
this.splitContainer1.Panel1.ResumeLayout(false); |
this.splitContainer1.Panel2.ResumeLayout(false); |
this.splitContainer1.ResumeLayout(false); |
this.toolStripContainer1.ContentPanel.ResumeLayout(false); |
this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); |
this.toolStripContainer1.TopToolStripPanel.PerformLayout(); |
this.toolStripContainer1.ResumeLayout(false); |
this.toolStripContainer1.PerformLayout(); |
this.ResumeLayout(false); |
this.PerformLayout(); |
} |
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |
private System.Windows.Forms.ToolStripContainer toolStripContainer1; |
private System.Windows.Forms.ToolStripButton toolStripButton8; |
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem; |