diff --git a/DarkUI/DarkUI.csproj b/DarkUI/DarkUI.csproj
index 7f141eb..b964aae 100644
--- a/DarkUI/DarkUI.csproj
+++ b/DarkUI/DarkUI.csproj
@@ -88,6 +88,12 @@
+
+ UserControl
+
+
+ UserControl
+
Form
@@ -124,10 +130,11 @@
True
TreeViewIcons.resx
-
+
+
@@ -198,6 +205,7 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ AAABAAEAECAAAAEAIAAuAQAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgGAAAAH/P/YQAAAAFz
+ UkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAw0lEQVQ4T92TsQ0C
+ MQxFswcNm8ECTMA07IF0oqHNDFAhKCKKJGXIOxx08VkgQceXfuP/v+X4fE4j57yOMQ4ppTIlNTSxzVHF
+ ZTX64XQvq/2lLHbnjtTQ8OCV2BMSDpvDdRbU3B5vNAldE7oiaHODrksTP4Z5F6NpE2ywNDJkHcux3vyJ
+ ZMgyvmmADZYGyf5Dg3dLbLC01xJ//oygjuKtK2zQ9e6QAGdZC8G6Rk3zlIE0+e5nmoJ3sZxqHLfcSA1N
+ bALnHokvo216mLOQAAAAAElFTkSuQmCC
+
+
+
\ No newline at end of file
diff --git a/Example/Forms/DialogTest.Designer.cs b/Example/Forms/DialogTest.Designer.cs
new file mode 100644
index 0000000..aceb1b1
--- /dev/null
+++ b/Example/Forms/DialogTest.Designer.cs
@@ -0,0 +1,211 @@
+namespace Example
+{
+ partial class DialogTest
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DialogTest));
+ this.pnlMain = new System.Windows.Forms.Panel();
+ this.tblMain = new System.Windows.Forms.TableLayoutPanel();
+ this.pnlTreeView = new DarkUI.DarkSectionPanel();
+ this.treeTest = new DarkUI.DarkTreeView();
+ this.pnlListView = new DarkUI.DarkSectionPanel();
+ this.lstTest = new DarkUI.DarkListView();
+ this.pnlMessageBox = new DarkUI.DarkSectionPanel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.btnMessageBox = new DarkUI.DarkButton();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.btnDialog = new DarkUI.DarkButton();
+ this.pnlMain.SuspendLayout();
+ this.tblMain.SuspendLayout();
+ this.pnlTreeView.SuspendLayout();
+ this.pnlListView.SuspendLayout();
+ this.pnlMessageBox.SuspendLayout();
+ this.panel1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // pnlMain
+ //
+ this.pnlMain.Controls.Add(this.tblMain);
+ this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pnlMain.Location = new System.Drawing.Point(0, 0);
+ this.pnlMain.Name = "pnlMain";
+ this.pnlMain.Padding = new System.Windows.Forms.Padding(10, 15, 10, 5);
+ this.pnlMain.Size = new System.Drawing.Size(708, 410);
+ this.pnlMain.TabIndex = 2;
+ //
+ // tblMain
+ //
+ this.tblMain.ColumnCount = 3;
+ this.tblMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
+ this.tblMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
+ this.tblMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
+ this.tblMain.Controls.Add(this.pnlTreeView, 0, 0);
+ this.tblMain.Controls.Add(this.pnlListView, 0, 0);
+ this.tblMain.Controls.Add(this.pnlMessageBox, 0, 0);
+ this.tblMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tblMain.Location = new System.Drawing.Point(10, 15);
+ this.tblMain.Name = "tblMain";
+ this.tblMain.RowCount = 1;
+ this.tblMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tblMain.Size = new System.Drawing.Size(688, 390);
+ this.tblMain.TabIndex = 0;
+ //
+ // pnlTreeView
+ //
+ this.pnlTreeView.Controls.Add(this.treeTest);
+ this.pnlTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pnlTreeView.Location = new System.Drawing.Point(463, 0);
+ this.pnlTreeView.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.pnlTreeView.Name = "pnlTreeView";
+ this.pnlTreeView.SectionHeader = "Tree view test";
+ this.pnlTreeView.Size = new System.Drawing.Size(220, 390);
+ this.pnlTreeView.TabIndex = 14;
+ //
+ // treeTest
+ //
+ this.treeTest.AllowMoveNodes = true;
+ this.treeTest.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.treeTest.Location = new System.Drawing.Point(1, 25);
+ this.treeTest.MultiSelect = true;
+ this.treeTest.Name = "treeTest";
+ this.treeTest.ShowIcons = true;
+ this.treeTest.Size = new System.Drawing.Size(218, 364);
+ this.treeTest.TabIndex = 0;
+ this.treeTest.Text = "darkTreeView1";
+ //
+ // pnlListView
+ //
+ this.pnlListView.Controls.Add(this.lstTest);
+ this.pnlListView.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pnlListView.Location = new System.Drawing.Point(234, 0);
+ this.pnlListView.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.pnlListView.Name = "pnlListView";
+ this.pnlListView.SectionHeader = "List view test";
+ this.pnlListView.Size = new System.Drawing.Size(219, 390);
+ this.pnlListView.TabIndex = 13;
+ //
+ // lstTest
+ //
+ this.lstTest.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.lstTest.Location = new System.Drawing.Point(1, 25);
+ this.lstTest.MultiSelect = true;
+ this.lstTest.Name = "lstTest";
+ this.lstTest.Size = new System.Drawing.Size(217, 364);
+ this.lstTest.TabIndex = 7;
+ this.lstTest.Text = "darkListView1";
+ //
+ // pnlMessageBox
+ //
+ this.pnlMessageBox.Controls.Add(this.panel1);
+ this.pnlMessageBox.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pnlMessageBox.Location = new System.Drawing.Point(5, 0);
+ this.pnlMessageBox.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.pnlMessageBox.Name = "pnlMessageBox";
+ this.pnlMessageBox.SectionHeader = "Section test";
+ this.pnlMessageBox.Size = new System.Drawing.Size(219, 390);
+ this.pnlMessageBox.TabIndex = 12;
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.btnMessageBox);
+ this.panel1.Controls.Add(this.panel2);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Location = new System.Drawing.Point(1, 25);
+ this.panel1.Name = "panel1";
+ this.panel1.Padding = new System.Windows.Forms.Padding(10);
+ this.panel1.Size = new System.Drawing.Size(217, 364);
+ this.panel1.TabIndex = 0;
+ //
+ // btnMessageBox
+ //
+ this.btnMessageBox.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnMessageBox.Location = new System.Drawing.Point(10, 50);
+ this.btnMessageBox.Name = "btnMessageBox";
+ this.btnMessageBox.Padding = new System.Windows.Forms.Padding(5);
+ this.btnMessageBox.Size = new System.Drawing.Size(197, 30);
+ this.btnMessageBox.TabIndex = 6;
+ this.btnMessageBox.Text = "Message Box";
+ //
+ // panel2
+ //
+ this.panel2.Controls.Add(this.btnDialog);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel2.Location = new System.Drawing.Point(10, 10);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(197, 40);
+ this.panel2.TabIndex = 5;
+ //
+ // btnDialog
+ //
+ this.btnDialog.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnDialog.Location = new System.Drawing.Point(0, 0);
+ this.btnDialog.Name = "btnDialog";
+ this.btnDialog.Padding = new System.Windows.Forms.Padding(5);
+ this.btnDialog.Size = new System.Drawing.Size(197, 30);
+ this.btnDialog.TabIndex = 4;
+ this.btnDialog.Text = "Dialog";
+ //
+ // DialogTest
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(708, 455);
+ this.Controls.Add(this.pnlMain);
+ this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "DialogTest";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "Test dialog please ignore";
+ this.Controls.SetChildIndex(this.pnlMain, 0);
+ this.pnlMain.ResumeLayout(false);
+ this.tblMain.ResumeLayout(false);
+ this.pnlTreeView.ResumeLayout(false);
+ this.pnlListView.ResumeLayout(false);
+ this.pnlMessageBox.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel pnlMain;
+ private System.Windows.Forms.TableLayoutPanel tblMain;
+ private DarkUI.DarkSectionPanel pnlTreeView;
+ private DarkUI.DarkTreeView treeTest;
+ private DarkUI.DarkSectionPanel pnlListView;
+ private DarkUI.DarkListView lstTest;
+ private DarkUI.DarkSectionPanel pnlMessageBox;
+ private System.Windows.Forms.Panel panel1;
+ private DarkUI.DarkButton btnMessageBox;
+ private System.Windows.Forms.Panel panel2;
+ private DarkUI.DarkButton btnDialog;
+ }
+}
\ No newline at end of file
diff --git a/Example/Forms/DialogTest.cs b/Example/Forms/DialogTest.cs
new file mode 100644
index 0000000..b0a74d4
--- /dev/null
+++ b/Example/Forms/DialogTest.cs
@@ -0,0 +1,49 @@
+using DarkUI;
+
+namespace Example
+{
+ public partial class DialogTest : DarkDialog
+ {
+ public DialogTest()
+ {
+ InitializeComponent();
+
+ // Build dummy list data
+ for (var i = 0; i < 100; i++)
+ {
+ var item = new DarkListItem(string.Format("List item #{0}", i));
+ lstTest.Items.Add(item);
+ }
+
+ // Build dummy nodes
+ var childCount = 0;
+ for (var i = 0; i < 20; i++)
+ {
+ var node = new DarkTreeNode(string.Format("Root node #{0}", i));
+ node.ExpandedIcon = Icons.folder_open;
+ node.Icon = Icons.folder_closed;
+
+ for (var x = 0; x < 10; x++)
+ {
+ var childNode = new DarkTreeNode(string.Format("Child node #{0}", childCount));
+ childNode.Icon = Icons.files;
+ childCount++;
+ node.Nodes.Add(childNode);
+ }
+
+ treeTest.Nodes.Add(node);
+ }
+
+ // Hook dialog button events
+ btnDialog.Click += delegate
+ {
+ DarkMessageBox.ShowError("This is an error", "Dark UI - Example");
+ };
+
+ btnMessageBox.Click += delegate
+ {
+ DarkMessageBox.ShowInformation("This is some information, except it is much bigger, so there we go. I wonder how this is going to go. I hope it resizes properly. It probably will.", "Dark UI - Example");
+ };
+ }
+ }
+}
diff --git a/Example/Forms/DialogTest.resx b/Example/Forms/DialogTest.resx
new file mode 100644
index 0000000..16202c3
--- /dev/null
+++ b/Example/Forms/DialogTest.resx
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ AAABAAEAECAAAAEAIAA8AQAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgGAAAAH/P/YQAAAAFz
+ UkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAA0UlEQVQ4T7WRsQ2D
+ MBREGSUjZAZ6D0CXUaiYwj1bsAKDUNAYKB0/8j9xsB0pkTjpJPO5O5/t6lIsy9Ku6zoHeuHMbNu2m0jK
+ COJxGAbfNI2v63qntXYPCQGPryHsglmNsOu6w6xNRJ4CQbzz2axNRJ5imqbs7pA1s7D2Ik9xDtAQNcNi
+ gHPuzk9jzEdATI5HG7G8IeajZolccHKJJXPchJ0xB90othd405yZ7zCPmX8+hn3f58wzzURWBgG87V9m
+ oEegBfzJrCCEJpC1jK9GVT0B8ztfSZzDuHAAAAAASUVORK5CYII=
+
+
+
\ No newline at end of file
diff --git a/Example/Forms/MainForm.Designer.cs b/Example/Forms/MainForm.Designer.cs
index 05b8134..312e955 100644
--- a/Example/Forms/MainForm.Designer.cs
+++ b/Example/Forms/MainForm.Designer.cs
@@ -30,71 +30,26 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.mnuMain = new DarkUI.DarkMenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
- this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
- this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
- this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
- this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
- this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.customizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.contentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.indexToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
- this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.mnuFile = new System.Windows.Forms.ToolStripMenuItem();
+ this.mnuView = new System.Windows.Forms.ToolStripMenuItem();
+ this.mnuDialog = new System.Windows.Forms.ToolStripMenuItem();
+ this.mnuTools = new System.Windows.Forms.ToolStripMenuItem();
+ this.mnuWindow = new System.Windows.Forms.ToolStripMenuItem();
+ this.mnuHelp = new System.Windows.Forms.ToolStripMenuItem();
this.toolMain = new DarkUI.DarkToolStrip();
- this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.printToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
- this.cutToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.copyToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.pasteToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
- this.helpToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.darkStatusStrip1 = new DarkUI.DarkStatusStrip();
+ this.stripMain = new DarkUI.DarkStatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
- this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
- this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
- this.toolStripStatusLabel4 = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStripStatusLabel6 = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStripStatusLabel5 = new System.Windows.Forms.ToolStripStatusLabel();
- this.darkSectionPanel1 = new DarkUI.DarkSectionPanel();
- this.btnDialog = new DarkUI.DarkButton();
- this.btnMessageBox = new DarkUI.DarkButton();
- this.darkContextMenu1 = new DarkUI.DarkContextMenu();
- this.testToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.moreTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.test3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.darkSectionPanel2 = new DarkUI.DarkSectionPanel();
- this.darkListView1 = new DarkUI.DarkListView();
- this.darkSectionPanel3 = new DarkUI.DarkSectionPanel();
- this.darkTreeView1 = new DarkUI.DarkTreeView();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.DockPanel = new DarkUI.DarkDockPanel();
+ this.btnNewFile = new System.Windows.Forms.ToolStripButton();
+ this.mnuNewFile = new System.Windows.Forms.ToolStripMenuItem();
+ this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.mnuAbout = new System.Windows.Forms.ToolStripMenuItem();
this.mnuMain.SuspendLayout();
this.toolMain.SuspendLayout();
- this.darkStatusStrip1.SuspendLayout();
- this.darkSectionPanel1.SuspendLayout();
- this.darkContextMenu1.SuspendLayout();
- this.darkSectionPanel2.SuspendLayout();
- this.darkSectionPanel3.SuspendLayout();
+ this.stripMain.SuspendLayout();
this.SuspendLayout();
//
// mnuMain
@@ -102,10 +57,11 @@
this.mnuMain.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.mnuMain.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.mnuMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem,
- this.editToolStripMenuItem,
- this.toolsToolStripMenuItem,
- this.helpToolStripMenuItem});
+ this.mnuFile,
+ this.mnuView,
+ this.mnuTools,
+ this.mnuWindow,
+ this.mnuHelp});
this.mnuMain.Location = new System.Drawing.Point(0, 0);
this.mnuMain.Name = "mnuMain";
this.mnuMain.Padding = new System.Windows.Forms.Padding(3, 2, 0, 2);
@@ -113,250 +69,55 @@
this.mnuMain.TabIndex = 0;
this.mnuMain.Text = "darkMenuStrip1";
//
- // fileToolStripMenuItem
+ // mnuFile
//
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.newToolStripMenuItem,
- this.openToolStripMenuItem,
- this.toolStripSeparator,
- this.saveToolStripMenuItem,
- this.saveAsToolStripMenuItem,
+ this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.mnuNewFile,
this.toolStripSeparator1,
- this.printToolStripMenuItem,
- this.printPreviewToolStripMenuItem,
- this.toolStripSeparator2,
- this.exitToolStripMenuItem});
- this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem.Text = "&File";
+ this.closeToolStripMenuItem});
+ this.mnuFile.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.mnuFile.Name = "mnuFile";
+ this.mnuFile.Size = new System.Drawing.Size(37, 20);
+ this.mnuFile.Text = "&File";
//
- // newToolStripMenuItem
+ // mnuView
//
- this.newToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
- this.newToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.newToolStripMenuItem.Name = "newToolStripMenuItem";
- this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
- this.newToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
- this.newToolStripMenuItem.Text = "&New";
+ this.mnuView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.mnuDialog});
+ this.mnuView.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.mnuView.Name = "mnuView";
+ this.mnuView.Size = new System.Drawing.Size(44, 20);
+ this.mnuView.Text = "&View";
//
- // openToolStripMenuItem
+ // mnuDialog
//
- this.openToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
- this.openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.openToolStripMenuItem.Name = "openToolStripMenuItem";
- this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
- this.openToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
- this.openToolStripMenuItem.Text = "&Open";
+ this.mnuDialog.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.mnuDialog.Name = "mnuDialog";
+ this.mnuDialog.Size = new System.Drawing.Size(152, 22);
+ this.mnuDialog.Text = "&Dialog test";
//
- // toolStripSeparator
+ // mnuTools
//
- this.toolStripSeparator.Name = "toolStripSeparator";
- this.toolStripSeparator.Size = new System.Drawing.Size(143, 6);
+ this.mnuTools.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.mnuTools.Name = "mnuTools";
+ this.mnuTools.Size = new System.Drawing.Size(48, 20);
+ this.mnuTools.Text = "&Tools";
//
- // saveToolStripMenuItem
+ // mnuWindow
//
- this.saveToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
- this.saveToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
- this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
- this.saveToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
- this.saveToolStripMenuItem.Text = "&Save";
+ this.mnuWindow.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.mnuWindow.Name = "mnuWindow";
+ this.mnuWindow.Size = new System.Drawing.Size(63, 20);
+ this.mnuWindow.Text = "&Window";
//
- // saveAsToolStripMenuItem
+ // mnuHelp
//
- this.saveAsToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
- this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
- this.saveAsToolStripMenuItem.Text = "Save &As";
- //
- // toolStripSeparator1
- //
- this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(143, 6);
- //
- // printToolStripMenuItem
- //
- this.printToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.printToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image")));
- this.printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.printToolStripMenuItem.Name = "printToolStripMenuItem";
- this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
- this.printToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
- this.printToolStripMenuItem.Text = "&Print";
- //
- // printPreviewToolStripMenuItem
- //
- this.printPreviewToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.printPreviewToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripMenuItem.Image")));
- this.printPreviewToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem";
- this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
- this.printPreviewToolStripMenuItem.Text = "Print Pre&view";
- //
- // toolStripSeparator2
- //
- this.toolStripSeparator2.Name = "toolStripSeparator2";
- this.toolStripSeparator2.Size = new System.Drawing.Size(143, 6);
- //
- // exitToolStripMenuItem
- //
- this.exitToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
- this.exitToolStripMenuItem.Text = "E&xit";
- //
- // editToolStripMenuItem
- //
- this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.undoToolStripMenuItem,
- this.redoToolStripMenuItem,
- this.toolStripSeparator3,
- this.cutToolStripMenuItem,
- this.copyToolStripMenuItem,
- this.pasteToolStripMenuItem,
- this.toolStripSeparator4,
- this.selectAllToolStripMenuItem});
- this.editToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.editToolStripMenuItem.Name = "editToolStripMenuItem";
- this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
- this.editToolStripMenuItem.Text = "&Edit";
- //
- // undoToolStripMenuItem
- //
- this.undoToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
- this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
- this.undoToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.undoToolStripMenuItem.Text = "&Undo";
- //
- // redoToolStripMenuItem
- //
- this.redoToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.redoToolStripMenuItem.Name = "redoToolStripMenuItem";
- this.redoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
- this.redoToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.redoToolStripMenuItem.Text = "&Redo";
- //
- // toolStripSeparator3
- //
- this.toolStripSeparator3.Name = "toolStripSeparator3";
- this.toolStripSeparator3.Size = new System.Drawing.Size(141, 6);
- //
- // cutToolStripMenuItem
- //
- this.cutToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.cutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image")));
- this.cutToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
- this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
- this.cutToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.cutToolStripMenuItem.Text = "Cu&t";
- //
- // copyToolStripMenuItem
- //
- this.copyToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.copyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image")));
- this.copyToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
- this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
- this.copyToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.copyToolStripMenuItem.Text = "&Copy";
- //
- // pasteToolStripMenuItem
- //
- this.pasteToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.pasteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image")));
- this.pasteToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
- this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
- this.pasteToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.pasteToolStripMenuItem.Text = "&Paste";
- //
- // toolStripSeparator4
- //
- this.toolStripSeparator4.Name = "toolStripSeparator4";
- this.toolStripSeparator4.Size = new System.Drawing.Size(141, 6);
- //
- // selectAllToolStripMenuItem
- //
- this.selectAllToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
- this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
- this.selectAllToolStripMenuItem.Text = "Select &All";
- //
- // toolsToolStripMenuItem
- //
- this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.customizeToolStripMenuItem,
- this.optionsToolStripMenuItem});
- this.toolsToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
- this.toolsToolStripMenuItem.Size = new System.Drawing.Size(48, 20);
- this.toolsToolStripMenuItem.Text = "&Tools";
- //
- // customizeToolStripMenuItem
- //
- this.customizeToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.customizeToolStripMenuItem.Name = "customizeToolStripMenuItem";
- this.customizeToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
- this.customizeToolStripMenuItem.Text = "&Customize";
- //
- // optionsToolStripMenuItem
- //
- this.optionsToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
- this.optionsToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
- this.optionsToolStripMenuItem.Text = "&Options";
- //
- // helpToolStripMenuItem
- //
- this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.contentsToolStripMenuItem,
- this.indexToolStripMenuItem,
- this.searchToolStripMenuItem,
- this.toolStripSeparator5,
- this.aboutToolStripMenuItem});
- this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
- this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
- this.helpToolStripMenuItem.Text = "&Help";
- //
- // contentsToolStripMenuItem
- //
- this.contentsToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.contentsToolStripMenuItem.Name = "contentsToolStripMenuItem";
- this.contentsToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
- this.contentsToolStripMenuItem.Text = "&Contents";
- //
- // indexToolStripMenuItem
- //
- this.indexToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.indexToolStripMenuItem.Name = "indexToolStripMenuItem";
- this.indexToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
- this.indexToolStripMenuItem.Text = "&Index";
- //
- // searchToolStripMenuItem
- //
- this.searchToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.searchToolStripMenuItem.Name = "searchToolStripMenuItem";
- this.searchToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
- this.searchToolStripMenuItem.Text = "&Search";
- //
- // toolStripSeparator5
- //
- this.toolStripSeparator5.Name = "toolStripSeparator5";
- this.toolStripSeparator5.Size = new System.Drawing.Size(119, 6);
- //
- // aboutToolStripMenuItem
- //
- this.aboutToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
- this.aboutToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
- this.aboutToolStripMenuItem.Text = "&About...";
+ this.mnuHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.mnuAbout});
+ this.mnuHelp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.mnuHelp.Name = "mnuHelp";
+ this.mnuHelp.Size = new System.Drawing.Size(44, 20);
+ this.mnuHelp.Text = "&Help";
//
// toolMain
//
@@ -365,16 +126,7 @@
this.toolMain.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.toolMain.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.newToolStripButton,
- this.openToolStripButton,
- this.saveToolStripButton,
- this.printToolStripButton,
- this.toolStripSeparator6,
- this.cutToolStripButton,
- this.copyToolStripButton,
- this.pasteToolStripButton,
- this.toolStripSeparator7,
- this.helpToolStripButton});
+ this.btnNewFile});
this.toolMain.Location = new System.Drawing.Point(0, 24);
this.toolMain.Name = "toolMain";
this.toolMain.Padding = new System.Windows.Forms.Padding(5, 0, 1, 0);
@@ -382,127 +134,22 @@
this.toolMain.TabIndex = 1;
this.toolMain.Text = "darkToolStrip1";
//
- // newToolStripButton
+ // stripMain
//
- this.newToolStripButton.AutoSize = false;
- this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.newToolStripButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
- this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.newToolStripButton.Name = "newToolStripButton";
- this.newToolStripButton.Size = new System.Drawing.Size(24, 24);
- this.newToolStripButton.Text = "&New";
- //
- // openToolStripButton
- //
- this.openToolStripButton.AutoSize = false;
- this.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.openToolStripButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
- this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.openToolStripButton.Name = "openToolStripButton";
- this.openToolStripButton.Size = new System.Drawing.Size(24, 24);
- this.openToolStripButton.Text = "&Open";
- //
- // saveToolStripButton
- //
- this.saveToolStripButton.AutoSize = false;
- this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.saveToolStripButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
- this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.saveToolStripButton.Name = "saveToolStripButton";
- this.saveToolStripButton.Size = new System.Drawing.Size(24, 24);
- this.saveToolStripButton.Text = "&Save";
- //
- // printToolStripButton
- //
- this.printToolStripButton.AutoSize = false;
- this.printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.printToolStripButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image")));
- this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.printToolStripButton.Name = "printToolStripButton";
- this.printToolStripButton.Size = new System.Drawing.Size(24, 24);
- this.printToolStripButton.Text = "&Print";
- //
- // toolStripSeparator6
- //
- this.toolStripSeparator6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.toolStripSeparator6.Margin = new System.Windows.Forms.Padding(0, 0, 2, 0);
- this.toolStripSeparator6.Name = "toolStripSeparator6";
- this.toolStripSeparator6.Size = new System.Drawing.Size(6, 28);
- //
- // cutToolStripButton
- //
- this.cutToolStripButton.AutoSize = false;
- this.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.cutToolStripButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.cutToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image")));
- this.cutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.cutToolStripButton.Name = "cutToolStripButton";
- this.cutToolStripButton.Size = new System.Drawing.Size(24, 24);
- this.cutToolStripButton.Text = "C&ut";
- //
- // copyToolStripButton
- //
- this.copyToolStripButton.AutoSize = false;
- this.copyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.copyToolStripButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.copyToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image")));
- this.copyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.copyToolStripButton.Name = "copyToolStripButton";
- this.copyToolStripButton.Size = new System.Drawing.Size(24, 24);
- this.copyToolStripButton.Text = "&Copy";
- //
- // pasteToolStripButton
- //
- this.pasteToolStripButton.AutoSize = false;
- this.pasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.pasteToolStripButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.pasteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image")));
- this.pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.pasteToolStripButton.Name = "pasteToolStripButton";
- this.pasteToolStripButton.Size = new System.Drawing.Size(24, 24);
- this.pasteToolStripButton.Text = "&Paste";
- //
- // toolStripSeparator7
- //
- this.toolStripSeparator7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.toolStripSeparator7.Margin = new System.Windows.Forms.Padding(0, 0, 2, 0);
- this.toolStripSeparator7.Name = "toolStripSeparator7";
- this.toolStripSeparator7.Size = new System.Drawing.Size(6, 28);
- //
- // helpToolStripButton
- //
- this.helpToolStripButton.AutoSize = false;
- this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.helpToolStripButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
- this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.helpToolStripButton.Name = "helpToolStripButton";
- this.helpToolStripButton.Size = new System.Drawing.Size(24, 24);
- this.helpToolStripButton.Text = "He&lp";
- //
- // darkStatusStrip1
- //
- this.darkStatusStrip1.AutoSize = false;
- this.darkStatusStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
- this.darkStatusStrip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.darkStatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.stripMain.AutoSize = false;
+ this.stripMain.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
+ this.stripMain.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.stripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1,
- this.toolStripStatusLabel2,
- this.toolStripStatusLabel3,
- this.toolStripStatusLabel4,
this.toolStripStatusLabel6,
this.toolStripStatusLabel5});
- this.darkStatusStrip1.Location = new System.Drawing.Point(0, 538);
- this.darkStatusStrip1.Name = "darkStatusStrip1";
- this.darkStatusStrip1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 3);
- this.darkStatusStrip1.Size = new System.Drawing.Size(784, 24);
- this.darkStatusStrip1.SizingGrip = false;
- this.darkStatusStrip1.TabIndex = 2;
- this.darkStatusStrip1.Text = "darkStatusStrip1";
+ this.stripMain.Location = new System.Drawing.Point(0, 538);
+ this.stripMain.Name = "stripMain";
+ this.stripMain.Padding = new System.Windows.Forms.Padding(0, 5, 0, 3);
+ this.stripMain.Size = new System.Drawing.Size(784, 24);
+ this.stripMain.SizingGrip = false;
+ this.stripMain.TabIndex = 2;
+ this.stripMain.Text = "darkStatusStrip1";
//
// toolStripStatusLabel1
//
@@ -513,35 +160,11 @@
this.toolStripStatusLabel1.Text = "Ready";
this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
- // toolStripStatusLabel2
- //
- this.toolStripStatusLabel2.Margin = new System.Windows.Forms.Padding(0, 0, 50, 0);
- this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
- this.toolStripStatusLabel2.Size = new System.Drawing.Size(25, 16);
- this.toolStripStatusLabel2.Text = "0, 0";
- this.toolStripStatusLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // toolStripStatusLabel3
- //
- this.toolStripStatusLabel3.Margin = new System.Windows.Forms.Padding(0, 0, 50, 0);
- this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
- this.toolStripStatusLabel3.Size = new System.Drawing.Size(49, 16);
- this.toolStripStatusLabel3.Text = "150, 200";
- this.toolStripStatusLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // toolStripStatusLabel4
- //
- this.toolStripStatusLabel4.Margin = new System.Windows.Forms.Padding(0, 0, 50, 0);
- this.toolStripStatusLabel4.Name = "toolStripStatusLabel4";
- this.toolStripStatusLabel4.Size = new System.Drawing.Size(112, 16);
- this.toolStripStatusLabel4.Text = "Active layer: Default";
- this.toolStripStatusLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
// toolStripStatusLabel6
//
this.toolStripStatusLabel6.Margin = new System.Windows.Forms.Padding(0, 0, 50, 2);
this.toolStripStatusLabel6.Name = "toolStripStatusLabel6";
- this.toolStripStatusLabel6.Size = new System.Drawing.Size(261, 14);
+ this.toolStripStatusLabel6.Size = new System.Drawing.Size(597, 14);
this.toolStripStatusLabel6.Spring = true;
this.toolStripStatusLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
@@ -553,119 +176,68 @@
this.toolStripStatusLabel5.Text = "120 MB";
this.toolStripStatusLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
- // darkSectionPanel1
+ // toolStripSeparator1
//
- this.darkSectionPanel1.Controls.Add(this.btnDialog);
- this.darkSectionPanel1.Controls.Add(this.btnMessageBox);
- this.darkSectionPanel1.Location = new System.Drawing.Point(12, 69);
- this.darkSectionPanel1.Name = "darkSectionPanel1";
- this.darkSectionPanel1.SectionHeader = "Section test";
- this.darkSectionPanel1.Size = new System.Drawing.Size(221, 224);
- this.darkSectionPanel1.TabIndex = 5;
+ this.toolStripSeparator1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.toolStripSeparator1.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(149, 6);
//
- // btnDialog
+ // DockPanel
//
- this.btnDialog.Location = new System.Drawing.Point(10, 71);
- this.btnDialog.Name = "btnDialog";
- this.btnDialog.Padding = new System.Windows.Forms.Padding(5);
- this.btnDialog.Size = new System.Drawing.Size(97, 30);
- this.btnDialog.TabIndex = 6;
- this.btnDialog.Text = "Dialog";
+ this.DockPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
+ this.DockPanel.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.DockPanel.Location = new System.Drawing.Point(0, 52);
+ this.DockPanel.Name = "DockPanel";
+ this.DockPanel.Size = new System.Drawing.Size(784, 486);
+ this.DockPanel.TabIndex = 3;
//
- // btnMessageBox
+ // btnNewFile
//
- this.btnMessageBox.ContextMenuStrip = this.darkContextMenu1;
- this.btnMessageBox.Location = new System.Drawing.Point(10, 35);
- this.btnMessageBox.Name = "btnMessageBox";
- this.btnMessageBox.Padding = new System.Windows.Forms.Padding(5);
- this.btnMessageBox.Size = new System.Drawing.Size(97, 30);
- this.btnMessageBox.TabIndex = 5;
- this.btnMessageBox.Text = "Message Box";
+ this.btnNewFile.AutoSize = false;
+ this.btnNewFile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.btnNewFile.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.btnNewFile.Image = global::Example.Icons.NewFile_6276;
+ this.btnNewFile.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btnNewFile.Name = "btnNewFile";
+ this.btnNewFile.Size = new System.Drawing.Size(24, 24);
+ this.btnNewFile.Text = "New file";
//
- // darkContextMenu1
+ // mnuNewFile
//
- this.darkContextMenu1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
- this.darkContextMenu1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.darkContextMenu1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.testToolStripMenuItem,
- this.moreTestToolStripMenuItem,
- this.test3ToolStripMenuItem});
- this.darkContextMenu1.Name = "darkContextMenu1";
- this.darkContextMenu1.Size = new System.Drawing.Size(125, 70);
+ this.mnuNewFile.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.mnuNewFile.Image = global::Example.Icons.NewFile_6276;
+ this.mnuNewFile.Name = "mnuNewFile";
+ this.mnuNewFile.Size = new System.Drawing.Size(152, 22);
+ this.mnuNewFile.Text = "&New file";
//
- // testToolStripMenuItem
+ // closeToolStripMenuItem
//
- this.testToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.testToolStripMenuItem.Name = "testToolStripMenuItem";
- this.testToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
- this.testToolStripMenuItem.Text = "Test";
+ this.closeToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.closeToolStripMenuItem.Image = global::Example.Icons.Close_16xLG;
+ this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
+ this.closeToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.closeToolStripMenuItem.Text = "&Close";
//
- // moreTestToolStripMenuItem
+ // mnuAbout
//
- this.moreTestToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.moreTestToolStripMenuItem.Name = "moreTestToolStripMenuItem";
- this.moreTestToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
- this.moreTestToolStripMenuItem.Text = "More test";
- //
- // test3ToolStripMenuItem
- //
- this.test3ToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
- this.test3ToolStripMenuItem.Name = "test3ToolStripMenuItem";
- this.test3ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
- this.test3ToolStripMenuItem.Text = "Test 3";
- //
- // darkSectionPanel2
- //
- this.darkSectionPanel2.Controls.Add(this.darkListView1);
- this.darkSectionPanel2.Location = new System.Drawing.Point(239, 69);
- this.darkSectionPanel2.Name = "darkSectionPanel2";
- this.darkSectionPanel2.SectionHeader = "List view test";
- this.darkSectionPanel2.Size = new System.Drawing.Size(221, 224);
- this.darkSectionPanel2.TabIndex = 7;
- //
- // darkListView1
- //
- this.darkListView1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.darkListView1.Location = new System.Drawing.Point(1, 25);
- this.darkListView1.MultiSelect = true;
- this.darkListView1.Name = "darkListView1";
- this.darkListView1.Size = new System.Drawing.Size(219, 198);
- this.darkListView1.TabIndex = 7;
- this.darkListView1.Text = "darkListView1";
- //
- // darkSectionPanel3
- //
- this.darkSectionPanel3.Controls.Add(this.darkTreeView1);
- this.darkSectionPanel3.Location = new System.Drawing.Point(466, 69);
- this.darkSectionPanel3.Name = "darkSectionPanel3";
- this.darkSectionPanel3.SectionHeader = "Tree view test";
- this.darkSectionPanel3.Size = new System.Drawing.Size(221, 224);
- this.darkSectionPanel3.TabIndex = 8;
- //
- // darkTreeView1
- //
- this.darkTreeView1.AllowMoveNodes = true;
- this.darkTreeView1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.darkTreeView1.Location = new System.Drawing.Point(1, 25);
- this.darkTreeView1.MultiSelect = true;
- this.darkTreeView1.Name = "darkTreeView1";
- this.darkTreeView1.ShowIcons = true;
- this.darkTreeView1.Size = new System.Drawing.Size(219, 198);
- this.darkTreeView1.TabIndex = 0;
- this.darkTreeView1.Text = "darkTreeView1";
+ this.mnuAbout.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
+ this.mnuAbout.Image = global::Example.Icons.StatusAnnotations_Information_16xLG_color;
+ this.mnuAbout.Name = "mnuAbout";
+ this.mnuAbout.Size = new System.Drawing.Size(152, 22);
+ this.mnuAbout.Text = "&About DarkUI";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(784, 562);
- this.Controls.Add(this.darkSectionPanel3);
- this.Controls.Add(this.darkSectionPanel2);
- this.Controls.Add(this.darkSectionPanel1);
- this.Controls.Add(this.darkStatusStrip1);
+ this.Controls.Add(this.DockPanel);
+ this.Controls.Add(this.stripMain);
this.Controls.Add(this.toolMain);
this.Controls.Add(this.mnuMain);
this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.mnuMain;
this.MinimumSize = new System.Drawing.Size(640, 480);
this.Name = "MainForm";
@@ -675,12 +247,8 @@
this.mnuMain.PerformLayout();
this.toolMain.ResumeLayout(false);
this.toolMain.PerformLayout();
- this.darkStatusStrip1.ResumeLayout(false);
- this.darkStatusStrip1.PerformLayout();
- this.darkSectionPanel1.ResumeLayout(false);
- this.darkContextMenu1.ResumeLayout(false);
- this.darkSectionPanel2.ResumeLayout(false);
- this.darkSectionPanel3.ResumeLayout(false);
+ this.stripMain.ResumeLayout(false);
+ this.stripMain.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@@ -689,64 +257,23 @@
#endregion
private DarkUI.DarkMenuStrip mnuMain;
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
- private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
- private System.Windows.Forms.ToolStripMenuItem printToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem printPreviewToolStripMenuItem;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
- private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem redoToolStripMenuItem;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
- private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
- private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem customizeToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem contentsToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem indexToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem searchToolStripMenuItem;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
- private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
private DarkUI.DarkToolStrip toolMain;
- private System.Windows.Forms.ToolStripButton newToolStripButton;
- private System.Windows.Forms.ToolStripButton openToolStripButton;
- private System.Windows.Forms.ToolStripButton saveToolStripButton;
- private System.Windows.Forms.ToolStripButton printToolStripButton;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
- private System.Windows.Forms.ToolStripButton cutToolStripButton;
- private System.Windows.Forms.ToolStripButton copyToolStripButton;
- private System.Windows.Forms.ToolStripButton pasteToolStripButton;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
- private System.Windows.Forms.ToolStripButton helpToolStripButton;
- private DarkUI.DarkStatusStrip darkStatusStrip1;
+ private DarkUI.DarkStatusStrip stripMain;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel2;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel4;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel6;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel5;
- private DarkUI.DarkSectionPanel darkSectionPanel1;
- private DarkUI.DarkButton btnMessageBox;
- private DarkUI.DarkContextMenu darkContextMenu1;
- private System.Windows.Forms.ToolStripMenuItem testToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem moreTestToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem test3ToolStripMenuItem;
- private DarkUI.DarkSectionPanel darkSectionPanel2;
- private DarkUI.DarkListView darkListView1;
- private DarkUI.DarkButton btnDialog;
- private DarkUI.DarkSectionPanel darkSectionPanel3;
- private DarkUI.DarkTreeView darkTreeView1;
+ private System.Windows.Forms.ToolStripMenuItem mnuFile;
+ private System.Windows.Forms.ToolStripMenuItem mnuView;
+ private System.Windows.Forms.ToolStripMenuItem mnuDialog;
+ private System.Windows.Forms.ToolStripMenuItem closeToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem mnuTools;
+ private System.Windows.Forms.ToolStripMenuItem mnuWindow;
+ private System.Windows.Forms.ToolStripMenuItem mnuHelp;
+ private System.Windows.Forms.ToolStripMenuItem mnuAbout;
+ private System.Windows.Forms.ToolStripButton btnNewFile;
+ private System.Windows.Forms.ToolStripMenuItem mnuNewFile;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
+ private DarkUI.DarkDockPanel DockPanel;
}
}
diff --git a/Example/Forms/MainForm.cs b/Example/Forms/MainForm.cs
index 8711d01..8bee97e 100644
--- a/Example/Forms/MainForm.cs
+++ b/Example/Forms/MainForm.cs
@@ -5,6 +5,8 @@ namespace Example
{
public partial class MainForm : DarkForm
{
+ #region Constructor Region
+
public MainForm()
{
InitializeComponent();
@@ -13,42 +15,33 @@ namespace Example
// to the control the user is currently hovering over with their cursor.
Application.AddMessageFilter(new ControlScrollFilter());
- // Build dummy list data
- for (var i = 0; i < 100; i++)
+ // Add the dock panel message filter to filter through for dock panel splitter
+ // input before letting events pass through to the rest of the application.
+ Application.AddMessageFilter(DockPanel.MessageFilter);
+
+ // Hook in all the UI events manually for clarity.
+ HookEvents();
+ }
+
+ #endregion
+
+ #region Method Region
+
+ private void HookEvents()
+ {
+ mnuDialog.Click += delegate
{
- var item = new DarkListItem(string.Format("List item #{0}", i));
- darkListView1.Items.Add(item);
- }
-
- // Build dummy nodes
- var childCount = 0;
- for (var i = 0; i < 20; i++)
- {
- var node = new DarkTreeNode(string.Format("Root node #{0}", i));
- node.ExpandedIcon = Icons.folder_open;
- node.Icon = Icons.folder_closed;
-
- for (var x = 0; x < 10; x++)
- {
- var childNode = new DarkTreeNode(string.Format("Child node #{0}", childCount));
- childNode.Icon = Icons.files;
- childCount++;
- node.Nodes.Add(childNode);
- }
-
- darkTreeView1.Nodes.Add(node);
- }
-
- // Hook dialog button events
- btnDialog.Click += delegate
- {
- DarkMessageBox.ShowError("This is an error", "Dark UI - Example");
+ var test = new DialogTest();
+ test.ShowDialog();
};
- btnMessageBox.Click += delegate
+ mnuAbout.Click += delegate
{
- DarkMessageBox.ShowInformation("This is some information, except it is much bigger, so there we go. I wonder how this is going to go. I hope it resizes properly. It probably will.", "Dark UI - Example");
+ var about = new DialogAbout();
+ about.ShowDialog();
};
}
+
+ #endregion
}
}
diff --git a/Example/Forms/MainForm.resx b/Example/Forms/MainForm.resx
index 9271f3a..c15ccc5 100644
--- a/Example/Forms/MainForm.resx
+++ b/Example/Forms/MainForm.resx
@@ -120,244 +120,18 @@
17, 17
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAERSURBVDhPrZDbSgJRGIXnpewd6jXsjSQvIrwoI0RQMChU
- 0iiDPCGiE3ZCRkvR8VzTeBhnyR5/ccaZNnPhB4t9sdf6Ln5hb8QeathNJFVFKF5C8DqL4ksDVHWGDf7j
- LHyPg6NjviSaFqlu5yQYR+KpupaIkrMknCxT3Y7v/NYYb0ITK1c3BarbWWhLQ7IR0cTKReyZ6lZ0XYei
- ztHpK4bAc+h1F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K7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAMUlEQVQ4T2OgGHz7
+ 9u0/JRhsgJOTE1l4kBnw4f1HkvCoAcPTAHIw3ABKMDRPkgsYGAD4YMZfYsb9cAAAAABJRU5ErkJggg==
+
+
\ No newline at end of file
diff --git a/Example/Icons.Designer.cs b/Example/Icons.Designer.cs
index 40f305b..4838e0b 100644
--- a/Example/Icons.Designer.cs
+++ b/Example/Icons.Designer.cs
@@ -60,6 +60,16 @@ namespace Example {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap Close_16xLG {
+ get {
+ object obj = ResourceManager.GetObject("Close_16xLG", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -89,5 +99,35 @@ namespace Example {
return ((System.Drawing.Bitmap)(obj));
}
}
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap NewFile_6276 {
+ get {
+ object obj = ResourceManager.GetObject("NewFile_6276", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap StatusAnnotations_Information_16xLG_color {
+ get {
+ object obj = ResourceManager.GetObject("StatusAnnotations_Information_16xLG_color", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap StatusAnnotations_Information_16xMD_color {
+ get {
+ object obj = ResourceManager.GetObject("StatusAnnotations_Information_16xMD_color", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
}
}
diff --git a/Example/Icons.resx b/Example/Icons.resx
index 1487cbd..672a26c 100644
--- a/Example/Icons.resx
+++ b/Example/Icons.resx
@@ -118,13 +118,25 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Resources\folder_16x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ Resources\StatusAnnotations_Information_16xMD_color.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ Resources\Close_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
Resources\Files_7954.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ Resources\NewFile_6276.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
Resources\folder_Closed_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- Resources\folder_16x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ Resources\StatusAnnotations_Information_16xLG_color.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/Example/Resources/Close_16xLG.png b/Example/Resources/Close_16xLG.png
new file mode 100644
index 0000000..a9ae49f
Binary files /dev/null and b/Example/Resources/Close_16xLG.png differ
diff --git a/Example/Resources/NewFile_6276.png b/Example/Resources/NewFile_6276.png
new file mode 100644
index 0000000..12354ce
Binary files /dev/null and b/Example/Resources/NewFile_6276.png differ
diff --git a/Example/Resources/StatusAnnotations_Information_16xLG_color.png b/Example/Resources/StatusAnnotations_Information_16xLG_color.png
new file mode 100644
index 0000000..fc631e2
Binary files /dev/null and b/Example/Resources/StatusAnnotations_Information_16xLG_color.png differ
diff --git a/Example/Resources/StatusAnnotations_Information_16xMD_color.png b/Example/Resources/StatusAnnotations_Information_16xMD_color.png
new file mode 100644
index 0000000..cfb2d3c
Binary files /dev/null and b/Example/Resources/StatusAnnotations_Information_16xMD_color.png differ