36,6 → 36,7 |
/// </summary> |
private void InitializeComponent() |
{ |
this.components = new System.ComponentModel.Container(); |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
this.fileBar = new System.Windows.Forms.ToolStrip(); |
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); |
44,6 → 45,9 |
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); |
this.formatBar = new System.Windows.Forms.ToolStrip(); |
this.sizeF = new System.Windows.Forms.ToolStripTextBox(); |
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); |
this.textColourF = new System.Windows.Forms.ToolStripButton(); |
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); |
this.boldF = new System.Windows.Forms.ToolStripButton(); |
this.italicF = new System.Windows.Forms.ToolStripButton(); |
this.underlineF = new System.Windows.Forms.ToolStripButton(); |
68,9 → 72,16 |
this.welcomeView = new System.Windows.Forms.WebBrowser(); |
this.editorTab = new System.Windows.Forms.TabPage(); |
this.editorView = new System.Windows.Forms.RichTextBox(); |
this.editorMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); |
this.saveFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
this.closeFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
this.zoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
this.inToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
this.outToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
this.treeView = new System.Windows.Forms.TreeView(); |
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); |
this.colorDialog1 = new System.Windows.Forms.ColorDialog(); |
this.fileBar.SuspendLayout(); |
this.formatBar.SuspendLayout(); |
this.menuStrip1.SuspendLayout(); |
77,6 → 88,7 |
this.tabControl.SuspendLayout(); |
this.welcomeTab.SuspendLayout(); |
this.editorTab.SuspendLayout(); |
this.editorMenuStrip.SuspendLayout(); |
this.splitContainer1.Panel1.SuspendLayout(); |
this.splitContainer1.Panel2.SuspendLayout(); |
this.splitContainer1.SuspendLayout(); |
148,6 → 160,9 |
this.formatBar.Dock = System.Windows.Forms.DockStyle.None; |
this.formatBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
this.sizeF, |
this.toolStripSeparator3, |
this.textColourF, |
this.toolStripSeparator4, |
this.boldF, |
this.italicF, |
this.underlineF, |
159,7 → 174,7 |
this.toolStripButton8}); |
this.formatBar.Location = new System.Drawing.Point(107, 0); |
this.formatBar.Name = "formatBar"; |
this.formatBar.Size = new System.Drawing.Size(268, 25); |
this.formatBar.Size = new System.Drawing.Size(272, 25); |
this.formatBar.TabIndex = 2; |
this.formatBar.Text = "toolStrip2"; |
// |
170,6 → 185,27 |
this.sizeF.ToolTipText = "Font Size"; |
this.sizeF.TextChanged += new System.EventHandler(this.SizeFTextChanged); |
// |
// toolStripSeparator3 |
// |
this.toolStripSeparator3.Name = "toolStripSeparator3"; |
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); |
// |
// textColourF |
// |
this.textColourF.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; |
this.textColourF.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
this.textColourF.ImageTransparentColor = System.Drawing.Color.Red; |
this.textColourF.Name = "textColourF"; |
this.textColourF.Size = new System.Drawing.Size(23, 22); |
this.textColourF.Text = "A"; |
this.textColourF.ToolTipText = "Set Text Colour"; |
this.textColourF.Click += new System.EventHandler(this.ToolStripButton9Click); |
// |
// toolStripSeparator4 |
// |
this.toolStripSeparator4.Name = "toolStripSeparator4"; |
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); |
// |
// boldF |
// |
this.boldF.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
375,8 → 411,11 |
// editorView |
// |
this.editorView.BorderStyle = System.Windows.Forms.BorderStyle.None; |
this.editorView.ContextMenuStrip = this.editorMenuStrip; |
this.editorView.DetectUrls = false; |
this.editorView.Dock = System.Windows.Forms.DockStyle.Fill; |
this.editorView.EnableAutoDragDrop = true; |
this.editorView.HideSelection = false; |
this.editorView.Location = new System.Drawing.Point(3, 3); |
this.editorView.Name = "editorView"; |
this.editorView.Size = new System.Drawing.Size(488, 323); |
385,9 → 424,61 |
this.editorView.SelectionChanged += new System.EventHandler(this.EditorViewSelectionChanged); |
this.editorView.TextChanged += new System.EventHandler(this.EditorViewTextChanged); |
// |
// editorMenuStrip |
// |
this.editorMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
this.saveFileToolStripMenuItem, |
this.closeFileToolStripMenuItem, |
this.zoomToolStripMenuItem}); |
this.editorMenuStrip.Name = "editorMenuStrip"; |
this.editorMenuStrip.Size = new System.Drawing.Size(131, 70); |
// |
// saveFileToolStripMenuItem |
// |
this.saveFileToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveFileToolStripMenuItem.Image"))); |
this.saveFileToolStripMenuItem.Name = "saveFileToolStripMenuItem"; |
this.saveFileToolStripMenuItem.Size = new System.Drawing.Size(130, 22); |
this.saveFileToolStripMenuItem.Text = "Save File"; |
this.saveFileToolStripMenuItem.Click += new System.EventHandler(this.SaveFileToolStripMenuItemClick); |
// |
// closeFileToolStripMenuItem |
// |
this.closeFileToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("closeFileToolStripMenuItem.Image"))); |
this.closeFileToolStripMenuItem.Name = "closeFileToolStripMenuItem"; |
this.closeFileToolStripMenuItem.Size = new System.Drawing.Size(130, 22); |
this.closeFileToolStripMenuItem.Text = "Close File"; |
this.closeFileToolStripMenuItem.Click += new System.EventHandler(this.CloseFileToolStripMenuItemClick); |
// |
// zoomToolStripMenuItem |
// |
this.zoomToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
this.inToolStripMenuItem, |
this.outToolStripMenuItem}); |
this.zoomToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("zoomToolStripMenuItem.Image"))); |
this.zoomToolStripMenuItem.Name = "zoomToolStripMenuItem"; |
this.zoomToolStripMenuItem.Size = new System.Drawing.Size(130, 22); |
this.zoomToolStripMenuItem.Text = "Zoom"; |
// |
// inToolStripMenuItem |
// |
this.inToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("inToolStripMenuItem.Image"))); |
this.inToolStripMenuItem.Name = "inToolStripMenuItem"; |
this.inToolStripMenuItem.Size = new System.Drawing.Size(132, 22); |
this.inToolStripMenuItem.Text = "Zoom In"; |
this.inToolStripMenuItem.Click += new System.EventHandler(this.InToolStripMenuItemClick); |
// |
// outToolStripMenuItem |
// |
this.outToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("outToolStripMenuItem.Image"))); |
this.outToolStripMenuItem.Name = "outToolStripMenuItem"; |
this.outToolStripMenuItem.Size = new System.Drawing.Size(132, 22); |
this.outToolStripMenuItem.Text = "Zoom Out"; |
this.outToolStripMenuItem.Click += new System.EventHandler(this.OutToolStripMenuItemClick); |
// |
// treeView |
// |
this.treeView.BackColor = System.Drawing.SystemColors.InactiveBorder; |
this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill; |
this.treeView.Location = new System.Drawing.Point(0, 0); |
this.treeView.Name = "treeView"; |
450,6 → 541,7 |
this.tabControl.ResumeLayout(false); |
this.welcomeTab.ResumeLayout(false); |
this.editorTab.ResumeLayout(false); |
this.editorMenuStrip.ResumeLayout(false); |
this.splitContainer1.Panel1.ResumeLayout(false); |
this.splitContainer1.Panel2.ResumeLayout(false); |
this.splitContainer1.ResumeLayout(false); |
461,6 → 553,16 |
this.ResumeLayout(false); |
this.PerformLayout(); |
} |
private System.Windows.Forms.ToolStripButton textColourF; |
private System.Windows.Forms.ColorDialog colorDialog1; |
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; |
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; |
private System.Windows.Forms.ToolStripMenuItem outToolStripMenuItem; |
private System.Windows.Forms.ToolStripMenuItem inToolStripMenuItem; |
private System.Windows.Forms.ToolStripMenuItem zoomToolStripMenuItem; |
private System.Windows.Forms.ToolStripMenuItem closeFileToolStripMenuItem; |
private System.Windows.Forms.ToolStripMenuItem saveFileToolStripMenuItem; |
private System.Windows.Forms.ContextMenuStrip editorMenuStrip; |
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |
private System.Windows.Forms.ToolStripContainer toolStripContainer1; |
private System.Windows.Forms.ToolStripButton toolStripButton8; |