Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3146 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
25 changed files with 1379 additions and 123 deletions
@ -0,0 +1,635 @@
@@ -0,0 +1,635 @@
|
||||
namespace DockSample |
||||
{ |
||||
partial class MainForm2 |
||||
{ |
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null; |
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing) |
||||
{ |
||||
if (disposing && (components != null)) |
||||
{ |
||||
components.Dispose(); |
||||
} |
||||
base.Dispose(disposing); |
||||
} |
||||
|
||||
#region Windows Form Designer generated code
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent() |
||||
{ |
||||
this.components = new System.ComponentModel.Container(); |
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm2)); |
||||
this.mainMenu = new System.Windows.Forms.MenuStrip(); |
||||
this.menuItemFile = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemNew = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemOpen = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemClose = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemCloseAll = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemCloseAllButThisOne = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItem4 = new System.Windows.Forms.ToolStripSeparator(); |
||||
this.menuItemExit = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.exitWithoutSavingLayout = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemView = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemSolutionExplorer = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemPropertyWindow = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemToolbox = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemOutputWindow = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemTaskList = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItem1 = new System.Windows.Forms.ToolStripSeparator(); |
||||
this.menuItemToolBar = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemStatusBar = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItem2 = new System.Windows.Forms.ToolStripSeparator(); |
||||
this.menuItemLayoutByCode = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemLayoutByXml = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemTools = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemLockLayout = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemShowDocumentIcon = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItem3 = new System.Windows.Forms.ToolStripSeparator(); |
||||
this.menuItemSchemaVS2005 = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemSchemaVS2003 = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItem6 = new System.Windows.Forms.ToolStripSeparator(); |
||||
this.menuItemDockingMdi = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemDockingSdi = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemDockingWindow = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemSystemMdi = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItem5 = new System.Windows.Forms.ToolStripSeparator(); |
||||
this.showRightToLeft = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemWindow = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemNewWindow = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemHelp = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuItemAbout = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.imageList = new System.Windows.Forms.ImageList(this.components); |
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
||||
this.toolBar = new System.Windows.Forms.ToolStrip(); |
||||
this.toolBarButtonNew = new System.Windows.Forms.ToolStripButton(); |
||||
this.toolBarButtonOpen = new System.Windows.Forms.ToolStripButton(); |
||||
this.toolBarButtonSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
||||
this.toolBarButtonSolutionExplorer = new System.Windows.Forms.ToolStripButton(); |
||||
this.toolBarButtonPropertyWindow = new System.Windows.Forms.ToolStripButton(); |
||||
this.toolBarButtonToolbox = new System.Windows.Forms.ToolStripButton(); |
||||
this.toolBarButtonOutputWindow = new System.Windows.Forms.ToolStripButton(); |
||||
this.toolBarButtonTaskList = new System.Windows.Forms.ToolStripButton(); |
||||
this.toolBarButtonSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |
||||
this.toolBarButtonLayoutByCode = new System.Windows.Forms.ToolStripButton(); |
||||
this.toolBarButtonLayoutByXml = new System.Windows.Forms.ToolStripButton(); |
||||
this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); |
||||
this.statusBar = new System.Windows.Forms.StatusStrip(); |
||||
this.mainMenu.SuspendLayout(); |
||||
this.tableLayoutPanel1.SuspendLayout(); |
||||
this.toolBar.SuspendLayout(); |
||||
this.SuspendLayout(); |
||||
//
|
||||
// mainMenu
|
||||
//
|
||||
this.mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.menuItemFile, |
||||
this.menuItemView, |
||||
this.menuItemTools, |
||||
this.menuItemWindow, |
||||
this.menuItemHelp}); |
||||
this.mainMenu.Location = new System.Drawing.Point(0, 0); |
||||
this.mainMenu.MdiWindowListItem = this.menuItemWindow; |
||||
this.mainMenu.Name = "mainMenu"; |
||||
this.mainMenu.Size = new System.Drawing.Size(579, 24); |
||||
this.mainMenu.TabIndex = 7; |
||||
//
|
||||
// menuItemFile
|
||||
//
|
||||
this.menuItemFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.menuItemNew, |
||||
this.menuItemOpen, |
||||
this.menuItemClose, |
||||
this.menuItemCloseAll, |
||||
this.menuItemCloseAllButThisOne, |
||||
this.menuItem4, |
||||
this.menuItemExit, |
||||
this.exitWithoutSavingLayout}); |
||||
this.menuItemFile.Name = "menuItemFile"; |
||||
this.menuItemFile.Size = new System.Drawing.Size(35, 20); |
||||
this.menuItemFile.Text = "&File"; |
||||
this.menuItemFile.DropDownOpening += new System.EventHandler(this.menuItemFile_Popup); |
||||
//
|
||||
// menuItemNew
|
||||
//
|
||||
this.menuItemNew.Name = "menuItemNew"; |
||||
this.menuItemNew.Size = new System.Drawing.Size(204, 22); |
||||
this.menuItemNew.Text = "&New"; |
||||
this.menuItemNew.Click += new System.EventHandler(this.menuItemNew_Click); |
||||
//
|
||||
// menuItemOpen
|
||||
//
|
||||
this.menuItemOpen.Name = "menuItemOpen"; |
||||
this.menuItemOpen.Size = new System.Drawing.Size(204, 22); |
||||
this.menuItemOpen.Text = "&Open..."; |
||||
this.menuItemOpen.Click += new System.EventHandler(this.menuItemOpen_Click); |
||||
//
|
||||
// menuItemClose
|
||||
//
|
||||
this.menuItemClose.Name = "menuItemClose"; |
||||
this.menuItemClose.Size = new System.Drawing.Size(204, 22); |
||||
this.menuItemClose.Text = "&Close"; |
||||
this.menuItemClose.Click += new System.EventHandler(this.menuItemClose_Click); |
||||
//
|
||||
// menuItemCloseAll
|
||||
//
|
||||
this.menuItemCloseAll.Name = "menuItemCloseAll"; |
||||
this.menuItemCloseAll.Size = new System.Drawing.Size(204, 22); |
||||
this.menuItemCloseAll.Text = "Close &All"; |
||||
this.menuItemCloseAll.Click += new System.EventHandler(this.menuItemCloseAll_Click); |
||||
//
|
||||
// menuItemCloseAllButThisOne
|
||||
//
|
||||
this.menuItemCloseAllButThisOne.Name = "menuItemCloseAllButThisOne"; |
||||
this.menuItemCloseAllButThisOne.Size = new System.Drawing.Size(204, 22); |
||||
this.menuItemCloseAllButThisOne.Text = "Close All &But This One"; |
||||
this.menuItemCloseAllButThisOne.Click += new System.EventHandler(this.menuItemCloseAllButThisOne_Click); |
||||
//
|
||||
// menuItem4
|
||||
//
|
||||
this.menuItem4.Name = "menuItem4"; |
||||
this.menuItem4.Size = new System.Drawing.Size(201, 6); |
||||
//
|
||||
// menuItemExit
|
||||
//
|
||||
this.menuItemExit.Name = "menuItemExit"; |
||||
this.menuItemExit.Size = new System.Drawing.Size(204, 22); |
||||
this.menuItemExit.Text = "&Exit"; |
||||
this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click); |
||||
//
|
||||
// exitWithoutSavingLayout
|
||||
//
|
||||
this.exitWithoutSavingLayout.Name = "exitWithoutSavingLayout"; |
||||
this.exitWithoutSavingLayout.Size = new System.Drawing.Size(204, 22); |
||||
this.exitWithoutSavingLayout.Text = "Exit &Without Saving Layout"; |
||||
this.exitWithoutSavingLayout.Click += new System.EventHandler(this.exitWithoutSavingLayout_Click); |
||||
//
|
||||
// menuItemView
|
||||
//
|
||||
this.menuItemView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.menuItemSolutionExplorer, |
||||
this.menuItemPropertyWindow, |
||||
this.menuItemToolbox, |
||||
this.menuItemOutputWindow, |
||||
this.menuItemTaskList, |
||||
this.menuItem1, |
||||
this.menuItemToolBar, |
||||
this.menuItemStatusBar, |
||||
this.menuItem2, |
||||
this.menuItemLayoutByCode, |
||||
this.menuItemLayoutByXml}); |
||||
this.menuItemView.MergeIndex = 1; |
||||
this.menuItemView.Name = "menuItemView"; |
||||
this.menuItemView.Size = new System.Drawing.Size(41, 20); |
||||
this.menuItemView.Text = "&View"; |
||||
//
|
||||
// menuItemSolutionExplorer
|
||||
//
|
||||
this.menuItemSolutionExplorer.Name = "menuItemSolutionExplorer"; |
||||
this.menuItemSolutionExplorer.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemSolutionExplorer.Text = "&Solution Explorer"; |
||||
this.menuItemSolutionExplorer.Click += new System.EventHandler(this.menuItemSolutionExplorer_Click); |
||||
//
|
||||
// menuItemPropertyWindow
|
||||
//
|
||||
this.menuItemPropertyWindow.Name = "menuItemPropertyWindow"; |
||||
this.menuItemPropertyWindow.ShortcutKeys = System.Windows.Forms.Keys.F4; |
||||
this.menuItemPropertyWindow.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemPropertyWindow.Text = "&Property Window"; |
||||
this.menuItemPropertyWindow.Click += new System.EventHandler(this.menuItemPropertyWindow_Click); |
||||
//
|
||||
// menuItemToolbox
|
||||
//
|
||||
this.menuItemToolbox.Name = "menuItemToolbox"; |
||||
this.menuItemToolbox.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemToolbox.Text = "&Toolbox"; |
||||
this.menuItemToolbox.Click += new System.EventHandler(this.menuItemToolbox_Click); |
||||
//
|
||||
// menuItemOutputWindow
|
||||
//
|
||||
this.menuItemOutputWindow.Name = "menuItemOutputWindow"; |
||||
this.menuItemOutputWindow.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemOutputWindow.Text = "&Output Window"; |
||||
this.menuItemOutputWindow.Click += new System.EventHandler(this.menuItemOutputWindow_Click); |
||||
//
|
||||
// menuItemTaskList
|
||||
//
|
||||
this.menuItemTaskList.Name = "menuItemTaskList"; |
||||
this.menuItemTaskList.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemTaskList.Text = "Task &List"; |
||||
this.menuItemTaskList.Click += new System.EventHandler(this.menuItemTaskList_Click); |
||||
//
|
||||
// menuItem1
|
||||
//
|
||||
this.menuItem1.Name = "menuItem1"; |
||||
this.menuItem1.Size = new System.Drawing.Size(173, 6); |
||||
//
|
||||
// menuItemToolBar
|
||||
//
|
||||
this.menuItemToolBar.Checked = true; |
||||
this.menuItemToolBar.CheckState = System.Windows.Forms.CheckState.Checked; |
||||
this.menuItemToolBar.Name = "menuItemToolBar"; |
||||
this.menuItemToolBar.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemToolBar.Text = "Tool &Bar"; |
||||
this.menuItemToolBar.Click += new System.EventHandler(this.menuItemToolBar_Click); |
||||
//
|
||||
// menuItemStatusBar
|
||||
//
|
||||
this.menuItemStatusBar.Checked = true; |
||||
this.menuItemStatusBar.CheckState = System.Windows.Forms.CheckState.Checked; |
||||
this.menuItemStatusBar.Name = "menuItemStatusBar"; |
||||
this.menuItemStatusBar.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemStatusBar.Text = "Status B&ar"; |
||||
this.menuItemStatusBar.Click += new System.EventHandler(this.menuItemStatusBar_Click); |
||||
//
|
||||
// menuItem2
|
||||
//
|
||||
this.menuItem2.Name = "menuItem2"; |
||||
this.menuItem2.Size = new System.Drawing.Size(173, 6); |
||||
//
|
||||
// menuItemLayoutByCode
|
||||
//
|
||||
this.menuItemLayoutByCode.Name = "menuItemLayoutByCode"; |
||||
this.menuItemLayoutByCode.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemLayoutByCode.Text = "Layout By &Code"; |
||||
this.menuItemLayoutByCode.Click += new System.EventHandler(this.menuItemLayoutByCode_Click); |
||||
//
|
||||
// menuItemLayoutByXml
|
||||
//
|
||||
this.menuItemLayoutByXml.Name = "menuItemLayoutByXml"; |
||||
this.menuItemLayoutByXml.Size = new System.Drawing.Size(176, 22); |
||||
this.menuItemLayoutByXml.Text = "Layout By &XML"; |
||||
this.menuItemLayoutByXml.Click += new System.EventHandler(this.menuItemLayoutByXml_Click); |
||||
//
|
||||
// menuItemTools
|
||||
//
|
||||
this.menuItemTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.menuItemLockLayout, |
||||
this.menuItemShowDocumentIcon, |
||||
this.menuItem3, |
||||
this.menuItemSchemaVS2005, |
||||
this.menuItemSchemaVS2003, |
||||
this.menuItem6, |
||||
this.menuItemDockingMdi, |
||||
this.menuItemDockingSdi, |
||||
this.menuItemDockingWindow, |
||||
this.menuItemSystemMdi, |
||||
this.menuItem5, |
||||
this.showRightToLeft}); |
||||
this.menuItemTools.MergeIndex = 2; |
||||
this.menuItemTools.Name = "menuItemTools"; |
||||
this.menuItemTools.Size = new System.Drawing.Size(44, 20); |
||||
this.menuItemTools.Text = "&Tools"; |
||||
this.menuItemTools.DropDownOpening += new System.EventHandler(this.menuItemTools_Popup); |
||||
//
|
||||
// menuItemLockLayout
|
||||
//
|
||||
this.menuItemLockLayout.Name = "menuItemLockLayout"; |
||||
this.menuItemLockLayout.Size = new System.Drawing.Size(234, 22); |
||||
this.menuItemLockLayout.Text = "&Lock Layout"; |
||||
this.menuItemLockLayout.Click += new System.EventHandler(this.menuItemLockLayout_Click); |
||||
//
|
||||
// menuItemShowDocumentIcon
|
||||
//
|
||||
this.menuItemShowDocumentIcon.Name = "menuItemShowDocumentIcon"; |
||||
this.menuItemShowDocumentIcon.Size = new System.Drawing.Size(234, 22); |
||||
this.menuItemShowDocumentIcon.Text = "&Show Document Icon"; |
||||
this.menuItemShowDocumentIcon.Click += new System.EventHandler(this.menuItemShowDocumentIcon_Click); |
||||
//
|
||||
// menuItem3
|
||||
//
|
||||
this.menuItem3.Name = "menuItem3"; |
||||
this.menuItem3.Size = new System.Drawing.Size(231, 6); |
||||
//
|
||||
// menuItemSchemaVS2005
|
||||
//
|
||||
this.menuItemSchemaVS2005.Checked = true; |
||||
this.menuItemSchemaVS2005.CheckState = System.Windows.Forms.CheckState.Checked; |
||||
this.menuItemSchemaVS2005.Name = "menuItemSchemaVS2005"; |
||||
this.menuItemSchemaVS2005.Size = new System.Drawing.Size(234, 22); |
||||
this.menuItemSchemaVS2005.Text = "Schema: VS200&5"; |
||||
this.menuItemSchemaVS2005.Click += new System.EventHandler(this.SetSchema); |
||||
//
|
||||
// menuItemSchemaVS2003
|
||||
//
|
||||
this.menuItemSchemaVS2003.Name = "menuItemSchemaVS2003"; |
||||
this.menuItemSchemaVS2003.Size = new System.Drawing.Size(234, 22); |
||||
this.menuItemSchemaVS2003.Text = "Schema: VS200&3"; |
||||
this.menuItemSchemaVS2003.Click += new System.EventHandler(this.SetSchema); |
||||
//
|
||||
// menuItem6
|
||||
//
|
||||
this.menuItem6.Name = "menuItem6"; |
||||
this.menuItem6.Size = new System.Drawing.Size(231, 6); |
||||
//
|
||||
// menuItemDockingMdi
|
||||
//
|
||||
this.menuItemDockingMdi.Checked = true; |
||||
this.menuItemDockingMdi.CheckState = System.Windows.Forms.CheckState.Checked; |
||||
this.menuItemDockingMdi.Name = "menuItemDockingMdi"; |
||||
this.menuItemDockingMdi.Size = new System.Drawing.Size(234, 22); |
||||
this.menuItemDockingMdi.Text = "Document Style: Docking &MDI"; |
||||
this.menuItemDockingMdi.Click += new System.EventHandler(this.SetDocumentStyle); |
||||
//
|
||||
// menuItemDockingSdi
|
||||
//
|
||||
this.menuItemDockingSdi.Name = "menuItemDockingSdi"; |
||||
this.menuItemDockingSdi.Size = new System.Drawing.Size(234, 22); |
||||
this.menuItemDockingSdi.Text = "Document Style: Docking &SDI"; |
||||
this.menuItemDockingSdi.Click += new System.EventHandler(this.SetDocumentStyle); |
||||
//
|
||||
// menuItemDockingWindow
|
||||
//
|
||||
this.menuItemDockingWindow.Name = "menuItemDockingWindow"; |
||||
this.menuItemDockingWindow.Size = new System.Drawing.Size(234, 22); |
||||
this.menuItemDockingWindow.Text = "Document Style: Docking &Window"; |
||||
this.menuItemDockingWindow.Click += new System.EventHandler(this.SetDocumentStyle); |
||||
//
|
||||
// menuItemSystemMdi
|
||||
//
|
||||
this.menuItemSystemMdi.Name = "menuItemSystemMdi"; |
||||
this.menuItemSystemMdi.Size = new System.Drawing.Size(234, 22); |
||||
this.menuItemSystemMdi.Text = "Document Style: S&ystem MDI"; |
||||
this.menuItemSystemMdi.Click += new System.EventHandler(this.SetDocumentStyle); |
||||
//
|
||||
// menuItem5
|
||||
//
|
||||
this.menuItem5.Name = "menuItem5"; |
||||
this.menuItem5.Size = new System.Drawing.Size(231, 6); |
||||
//
|
||||
// showRightToLeft
|
||||
//
|
||||
this.showRightToLeft.Name = "showRightToLeft"; |
||||
this.showRightToLeft.Size = new System.Drawing.Size(234, 22); |
||||
this.showRightToLeft.Text = "Show &Right-To-Left"; |
||||
this.showRightToLeft.Click += new System.EventHandler(this.showRightToLeft_Click); |
||||
//
|
||||
// menuItemWindow
|
||||
//
|
||||
this.menuItemWindow.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.menuItemNewWindow}); |
||||
this.menuItemWindow.MergeIndex = 2; |
||||
this.menuItemWindow.Name = "menuItemWindow"; |
||||
this.menuItemWindow.Size = new System.Drawing.Size(57, 20); |
||||
this.menuItemWindow.Text = "&Window"; |
||||
//
|
||||
// menuItemNewWindow
|
||||
//
|
||||
this.menuItemNewWindow.Name = "menuItemNewWindow"; |
||||
this.menuItemNewWindow.Size = new System.Drawing.Size(136, 22); |
||||
this.menuItemNewWindow.Text = "&New Window"; |
||||
this.menuItemNewWindow.Click += new System.EventHandler(this.menuItemNewWindow_Click); |
||||
//
|
||||
// menuItemHelp
|
||||
//
|
||||
this.menuItemHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.menuItemAbout}); |
||||
this.menuItemHelp.MergeIndex = 3; |
||||
this.menuItemHelp.Name = "menuItemHelp"; |
||||
this.menuItemHelp.Size = new System.Drawing.Size(40, 20); |
||||
this.menuItemHelp.Text = "&Help"; |
||||
//
|
||||
// menuItemAbout
|
||||
//
|
||||
this.menuItemAbout.Name = "menuItemAbout"; |
||||
this.menuItemAbout.Size = new System.Drawing.Size(175, 22); |
||||
this.menuItemAbout.Text = "&About DockSample..."; |
||||
this.menuItemAbout.Click += new System.EventHandler(this.menuItemAbout_Click); |
||||
//
|
||||
// imageList
|
||||
//
|
||||
this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); |
||||
this.imageList.TransparentColor = System.Drawing.Color.Transparent; |
||||
this.imageList.Images.SetKeyName(0, ""); |
||||
this.imageList.Images.SetKeyName(1, ""); |
||||
this.imageList.Images.SetKeyName(2, ""); |
||||
this.imageList.Images.SetKeyName(3, ""); |
||||
this.imageList.Images.SetKeyName(4, ""); |
||||
this.imageList.Images.SetKeyName(5, ""); |
||||
this.imageList.Images.SetKeyName(6, ""); |
||||
this.imageList.Images.SetKeyName(7, ""); |
||||
this.imageList.Images.SetKeyName(8, ""); |
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 1; |
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
||||
this.tableLayoutPanel1.Controls.Add(this.toolBar, 0, 0); |
||||
this.tableLayoutPanel1.Controls.Add(this.dockPanel, 0, 1); |
||||
this.tableLayoutPanel1.Controls.Add(this.statusBar, 0, 2); |
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; |
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 24); |
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; |
||||
this.tableLayoutPanel1.RowCount = 2; |
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); |
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); |
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(579, 385); |
||||
this.tableLayoutPanel1.TabIndex = 9; |
||||
//
|
||||
// toolBar
|
||||
//
|
||||
this.toolBar.ImageList = this.imageList; |
||||
this.toolBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.toolBarButtonNew, |
||||
this.toolBarButtonOpen, |
||||
this.toolBarButtonSeparator1, |
||||
this.toolBarButtonSolutionExplorer, |
||||
this.toolBarButtonPropertyWindow, |
||||
this.toolBarButtonToolbox, |
||||
this.toolBarButtonOutputWindow, |
||||
this.toolBarButtonTaskList, |
||||
this.toolBarButtonSeparator2, |
||||
this.toolBarButtonLayoutByCode, |
||||
this.toolBarButtonLayoutByXml}); |
||||
this.toolBar.Location = new System.Drawing.Point(0, 0); |
||||
this.toolBar.Name = "toolBar"; |
||||
this.toolBar.Size = new System.Drawing.Size(579, 25); |
||||
this.toolBar.TabIndex = 7; |
||||
//
|
||||
// toolBarButtonNew
|
||||
//
|
||||
this.toolBarButtonNew.ImageIndex = 0; |
||||
this.toolBarButtonNew.Name = "toolBarButtonNew"; |
||||
this.toolBarButtonNew.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonNew.ToolTipText = "Show Layout From XML"; |
||||
//
|
||||
// toolBarButtonOpen
|
||||
//
|
||||
this.toolBarButtonOpen.ImageIndex = 1; |
||||
this.toolBarButtonOpen.Name = "toolBarButtonOpen"; |
||||
this.toolBarButtonOpen.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonOpen.ToolTipText = "Open"; |
||||
//
|
||||
// toolBarButtonSeparator1
|
||||
//
|
||||
this.toolBarButtonSeparator1.Name = "toolBarButtonSeparator1"; |
||||
this.toolBarButtonSeparator1.Size = new System.Drawing.Size(6, 25); |
||||
//
|
||||
// toolBarButtonSolutionExplorer
|
||||
//
|
||||
this.toolBarButtonSolutionExplorer.ImageIndex = 2; |
||||
this.toolBarButtonSolutionExplorer.Name = "toolBarButtonSolutionExplorer"; |
||||
this.toolBarButtonSolutionExplorer.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonSolutionExplorer.ToolTipText = "Solution Explorer"; |
||||
//
|
||||
// toolBarButtonPropertyWindow
|
||||
//
|
||||
this.toolBarButtonPropertyWindow.ImageIndex = 3; |
||||
this.toolBarButtonPropertyWindow.Name = "toolBarButtonPropertyWindow"; |
||||
this.toolBarButtonPropertyWindow.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonPropertyWindow.ToolTipText = "Property Window"; |
||||
//
|
||||
// toolBarButtonToolbox
|
||||
//
|
||||
this.toolBarButtonToolbox.ImageIndex = 4; |
||||
this.toolBarButtonToolbox.Name = "toolBarButtonToolbox"; |
||||
this.toolBarButtonToolbox.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonToolbox.ToolTipText = "Tool Box"; |
||||
//
|
||||
// toolBarButtonOutputWindow
|
||||
//
|
||||
this.toolBarButtonOutputWindow.ImageIndex = 5; |
||||
this.toolBarButtonOutputWindow.Name = "toolBarButtonOutputWindow"; |
||||
this.toolBarButtonOutputWindow.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonOutputWindow.ToolTipText = "Output Window"; |
||||
//
|
||||
// toolBarButtonTaskList
|
||||
//
|
||||
this.toolBarButtonTaskList.ImageIndex = 6; |
||||
this.toolBarButtonTaskList.Name = "toolBarButtonTaskList"; |
||||
this.toolBarButtonTaskList.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonTaskList.ToolTipText = "Task List"; |
||||
//
|
||||
// toolBarButtonSeparator2
|
||||
//
|
||||
this.toolBarButtonSeparator2.Name = "toolBarButtonSeparator2"; |
||||
this.toolBarButtonSeparator2.Size = new System.Drawing.Size(6, 25); |
||||
//
|
||||
// toolBarButtonLayoutByCode
|
||||
//
|
||||
this.toolBarButtonLayoutByCode.ImageIndex = 7; |
||||
this.toolBarButtonLayoutByCode.Name = "toolBarButtonLayoutByCode"; |
||||
this.toolBarButtonLayoutByCode.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonLayoutByCode.ToolTipText = "Show Layout By Code"; |
||||
//
|
||||
// toolBarButtonLayoutByXml
|
||||
//
|
||||
this.toolBarButtonLayoutByXml.ImageIndex = 8; |
||||
this.toolBarButtonLayoutByXml.Name = "toolBarButtonLayoutByXml"; |
||||
this.toolBarButtonLayoutByXml.Size = new System.Drawing.Size(23, 22); |
||||
this.toolBarButtonLayoutByXml.ToolTipText = "Show layout by predefined XML file"; |
||||
//
|
||||
// dockPanel
|
||||
//
|
||||
this.dockPanel.ActiveAutoHideContent = null; |
||||
this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; |
||||
this.dockPanel.DockBottomPortion = 150; |
||||
this.dockPanel.DockLeftPortion = 200; |
||||
this.dockPanel.DockRightPortion = 200; |
||||
this.dockPanel.DockTopPortion = 150; |
||||
this.dockPanel.DocumentStyle = WeifenLuo.WinFormsUI.Docking.DocumentStyle.DockingWindow; |
||||
this.dockPanel.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(0))); |
||||
this.dockPanel.Location = new System.Drawing.Point(3, 28); |
||||
this.dockPanel.Name = "dockPanel"; |
||||
this.dockPanel.RightToLeftLayout = true; |
||||
this.dockPanel.Size = new System.Drawing.Size(573, 332); |
||||
this.dockPanel.TabIndex = 10; |
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 363); |
||||
this.statusBar.Name = "statusBar"; |
||||
this.statusBar.Size = new System.Drawing.Size(579, 22); |
||||
this.statusBar.TabIndex = 8; |
||||
//
|
||||
// MainForm2
|
||||
//
|
||||
this.ClientSize = new System.Drawing.Size(579, 409); |
||||
this.Controls.Add(this.tableLayoutPanel1); |
||||
this.Controls.Add(this.mainMenu); |
||||
this.IsMdiContainer = true; |
||||
this.MainMenuStrip = this.mainMenu; |
||||
this.Name = "MainForm2"; |
||||
this.Text = "DockSample"; |
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
||||
this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); |
||||
this.Load += new System.EventHandler(this.MainForm_Load); |
||||
this.mainMenu.ResumeLayout(false); |
||||
this.mainMenu.PerformLayout(); |
||||
this.tableLayoutPanel1.ResumeLayout(false); |
||||
this.tableLayoutPanel1.PerformLayout(); |
||||
this.toolBar.ResumeLayout(false); |
||||
this.toolBar.PerformLayout(); |
||||
this.ResumeLayout(false); |
||||
this.PerformLayout(); |
||||
|
||||
} |
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.ImageList imageList; |
||||
private System.Windows.Forms.MenuStrip mainMenu; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemFile; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemNew; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemOpen; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemClose; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemCloseAll; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemCloseAllButThisOne; |
||||
private System.Windows.Forms.ToolStripSeparator menuItem4; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemExit; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemView; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemSolutionExplorer; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemPropertyWindow; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemToolbox; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemOutputWindow; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemTaskList; |
||||
private System.Windows.Forms.ToolStripSeparator menuItem1; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemToolBar; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemStatusBar; |
||||
private System.Windows.Forms.ToolStripSeparator menuItem2; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemLayoutByCode; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemLayoutByXml; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemTools; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemLockLayout; |
||||
private System.Windows.Forms.ToolStripSeparator menuItem3; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemSchemaVS2005; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemSchemaVS2003; |
||||
private System.Windows.Forms.ToolStripSeparator menuItem6; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemDockingMdi; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemDockingSdi; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemDockingWindow; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemSystemMdi; |
||||
private System.Windows.Forms.ToolStripSeparator menuItem5; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemShowDocumentIcon; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemWindow; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemNewWindow; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemHelp; |
||||
private System.Windows.Forms.ToolStripMenuItem menuItemAbout; |
||||
private System.Windows.Forms.ToolStripMenuItem showRightToLeft; |
||||
private System.Windows.Forms.ToolStripMenuItem exitWithoutSavingLayout; |
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; |
||||
private WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel; |
||||
private System.Windows.Forms.StatusStrip statusBar; |
||||
private System.Windows.Forms.ToolStrip toolBar; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonNew; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonOpen; |
||||
private System.Windows.Forms.ToolStripSeparator toolBarButtonSeparator1; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonSolutionExplorer; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonPropertyWindow; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonToolbox; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonOutputWindow; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonTaskList; |
||||
private System.Windows.Forms.ToolStripSeparator toolBarButtonSeparator2; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonLayoutByCode; |
||||
private System.Windows.Forms.ToolStripButton toolBarButtonLayoutByXml; |
||||
} |
||||
} |
||||
@ -0,0 +1,443 @@
@@ -0,0 +1,443 @@
|
||||
using System; |
||||
using System.Drawing; |
||||
using System.Collections; |
||||
using System.ComponentModel; |
||||
using System.Reflection; |
||||
using System.Windows.Forms; |
||||
using System.IO; |
||||
using WeifenLuo.WinFormsUI.Docking; |
||||
using DockSample.Customization; |
||||
|
||||
namespace DockSample |
||||
{ |
||||
public partial class MainForm2 : Form |
||||
{ |
||||
private bool m_bSaveLayout = true; |
||||
private DeserializeDockContent m_deserializeDockContent; |
||||
private DummySolutionExplorer m_solutionExplorer = new DummySolutionExplorer(); |
||||
private DummyPropertyWindow m_propertyWindow = new DummyPropertyWindow(); |
||||
private DummyToolbox m_toolbox = new DummyToolbox(); |
||||
private DummyOutputWindow m_outputWindow = new DummyOutputWindow(); |
||||
private DummyTaskList m_taskList = new DummyTaskList(); |
||||
|
||||
public MainForm2() |
||||
{ |
||||
InitializeComponent(); |
||||
showRightToLeft.Checked = (RightToLeft == RightToLeft.Yes); |
||||
RightToLeftLayout = showRightToLeft.Checked; |
||||
m_solutionExplorer = new DummySolutionExplorer(); |
||||
m_solutionExplorer.RightToLeftLayout = RightToLeftLayout; |
||||
m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString); |
||||
} |
||||
|
||||
private void menuItemExit_Click(object sender, System.EventArgs e) |
||||
{ |
||||
Close(); |
||||
} |
||||
|
||||
private void menuItemSolutionExplorer_Click(object sender, System.EventArgs e) |
||||
{ |
||||
m_solutionExplorer.Show(dockPanel); |
||||
} |
||||
|
||||
private void menuItemPropertyWindow_Click(object sender, System.EventArgs e) |
||||
{ |
||||
m_propertyWindow.Show(dockPanel); |
||||
} |
||||
|
||||
private void menuItemToolbox_Click(object sender, System.EventArgs e) |
||||
{ |
||||
m_toolbox.Show(dockPanel); |
||||
} |
||||
|
||||
private void menuItemOutputWindow_Click(object sender, System.EventArgs e) |
||||
{ |
||||
m_outputWindow.Show(dockPanel); |
||||
} |
||||
|
||||
private void menuItemTaskList_Click(object sender, System.EventArgs e) |
||||
{ |
||||
m_taskList.Show(dockPanel); |
||||
} |
||||
|
||||
private void menuItemAbout_Click(object sender, System.EventArgs e) |
||||
{ |
||||
AboutDialog aboutDialog = new AboutDialog(); |
||||
aboutDialog.ShowDialog(this); |
||||
} |
||||
|
||||
private IDockContent FindDocument(string text) |
||||
{ |
||||
if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) |
||||
{ |
||||
foreach (Form form in MdiChildren) |
||||
if (form.Text == text) |
||||
return form as IDockContent; |
||||
|
||||
return null; |
||||
} |
||||
else |
||||
{ |
||||
foreach (IDockContent content in dockPanel.Documents) |
||||
if (content.DockHandler.TabText == text) |
||||
return content; |
||||
|
||||
return null; |
||||
} |
||||
} |
||||
|
||||
private void menuItemNew_Click(object sender, System.EventArgs e) |
||||
{ |
||||
DummyDoc dummyDoc = CreateNewDocument(); |
||||
if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) |
||||
{ |
||||
dummyDoc.MdiParent = this; |
||||
dummyDoc.Show(); |
||||
} |
||||
else |
||||
dummyDoc.Show(dockPanel); |
||||
} |
||||
|
||||
private DummyDoc CreateNewDocument() |
||||
{ |
||||
DummyDoc dummyDoc = new DummyDoc(); |
||||
|
||||
int count = 1; |
||||
//string text = "C:\\MADFDKAJ\\ADAKFJASD\\ADFKDSAKFJASD\\ASDFKASDFJASDF\\ASDFIJADSFJ\\ASDFKDFDA" + count.ToString();
|
||||
string text = "Document" + count.ToString(); |
||||
while (FindDocument(text) != null) |
||||
{ |
||||
count ++; |
||||
//text = "C:\\MADFDKAJ\\ADAKFJASD\\ADFKDSAKFJASD\\ASDFKASDFJASDF\\ASDFIJADSFJ\\ASDFKDFDA" + count.ToString();
|
||||
text = "Document" + count.ToString(); |
||||
} |
||||
dummyDoc.Text = text; |
||||
return dummyDoc; |
||||
} |
||||
|
||||
private DummyDoc CreateNewDocument(string text) |
||||
{ |
||||
DummyDoc dummyDoc = new DummyDoc(); |
||||
dummyDoc.Text = text; |
||||
return dummyDoc; |
||||
} |
||||
|
||||
private void menuItemOpen_Click(object sender, System.EventArgs e) |
||||
{ |
||||
OpenFileDialog openFile = new OpenFileDialog(); |
||||
|
||||
openFile.InitialDirectory = Application.ExecutablePath; |
||||
openFile.Filter = "rtf files (*.rtf)|*.rtf|txt files (*.txt)|*.txt|All files (*.*)|*.*" ; |
||||
openFile.FilterIndex = 1; |
||||
openFile.RestoreDirectory = true ; |
||||
|
||||
if(openFile.ShowDialog() == DialogResult.OK) |
||||
{ |
||||
string fullName = openFile.FileName; |
||||
string fileName = Path.GetFileName(fullName); |
||||
|
||||
if (FindDocument(fileName) != null) |
||||
{ |
||||
MessageBox.Show("The document: " + fileName + " has already opened!"); |
||||
return; |
||||
} |
||||
|
||||
DummyDoc dummyDoc = new DummyDoc(); |
||||
dummyDoc.Text = fileName; |
||||
dummyDoc.Show(dockPanel); |
||||
try |
||||
{ |
||||
dummyDoc.FileName = fullName; |
||||
} |
||||
catch (Exception exception) |
||||
{ |
||||
dummyDoc.Close(); |
||||
MessageBox.Show(exception.Message); |
||||
} |
||||
|
||||
} |
||||
} |
||||
|
||||
private void menuItemFile_Popup(object sender, System.EventArgs e) |
||||
{ |
||||
if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) |
||||
{ |
||||
menuItemClose.Enabled = menuItemCloseAll.Enabled = (ActiveMdiChild != null); |
||||
} |
||||
else |
||||
{ |
||||
menuItemClose.Enabled = (dockPanel.ActiveDocument != null); |
||||
menuItemCloseAll.Enabled = (dockPanel.DocumentsCount > 0); |
||||
} |
||||
} |
||||
|
||||
private void menuItemClose_Click(object sender, System.EventArgs e) |
||||
{ |
||||
if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) |
||||
ActiveMdiChild.Close(); |
||||
else if (dockPanel.ActiveDocument != null) |
||||
dockPanel.ActiveDocument.DockHandler.Close(); |
||||
} |
||||
|
||||
private void menuItemCloseAll_Click(object sender, System.EventArgs e) |
||||
{ |
||||
CloseAllDocuments(); |
||||
} |
||||
|
||||
private void CloseAllDocuments() |
||||
{ |
||||
if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) |
||||
{ |
||||
foreach (Form form in MdiChildren) |
||||
form.Close(); |
||||
} |
||||
else |
||||
{ |
||||
IDockContent[] documents = dockPanel.DocumentsToArray(); |
||||
foreach (IDockContent content in documents) |
||||
content.DockHandler.Close(); |
||||
} |
||||
} |
||||
|
||||
private IDockContent GetContentFromPersistString(string persistString) |
||||
{ |
||||
if (persistString == typeof(DummySolutionExplorer).ToString()) |
||||
return m_solutionExplorer; |
||||
else if (persistString == typeof(DummyPropertyWindow).ToString()) |
||||
return m_propertyWindow; |
||||
else if (persistString == typeof(DummyToolbox).ToString()) |
||||
return m_toolbox; |
||||
else if (persistString == typeof(DummyOutputWindow).ToString()) |
||||
return m_outputWindow; |
||||
else if (persistString == typeof(DummyTaskList).ToString()) |
||||
return m_taskList; |
||||
else |
||||
{ |
||||
string[] parsedStrings = persistString.Split(new char[] { ',' }); |
||||
if (parsedStrings.Length != 3) |
||||
return null; |
||||
|
||||
if (parsedStrings[0] != typeof(DummyDoc).ToString()) |
||||
return null; |
||||
|
||||
DummyDoc dummyDoc = new DummyDoc(); |
||||
if (parsedStrings[1] != string.Empty) |
||||
dummyDoc.FileName = parsedStrings[1]; |
||||
if (parsedStrings[2] != string.Empty) |
||||
dummyDoc.Text = parsedStrings[2]; |
||||
|
||||
return dummyDoc; |
||||
} |
||||
} |
||||
|
||||
private void MainForm_Load(object sender, System.EventArgs e) |
||||
{ |
||||
string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "DockPanel.config"); |
||||
|
||||
if (File.Exists(configFile)) |
||||
dockPanel.LoadFromXml(configFile, m_deserializeDockContent); |
||||
} |
||||
|
||||
private void MainForm_Closing(object sender, System.ComponentModel.CancelEventArgs e) |
||||
{ |
||||
string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "DockPanel.config"); |
||||
if (m_bSaveLayout) |
||||
dockPanel.SaveAsXml(configFile); |
||||
else if (File.Exists(configFile)) |
||||
File.Delete(configFile); |
||||
} |
||||
|
||||
private void menuItemToolBar_Click(object sender, System.EventArgs e) |
||||
{ |
||||
toolBar.Visible = menuItemToolBar.Checked = !menuItemToolBar.Checked; |
||||
} |
||||
|
||||
private void menuItemStatusBar_Click(object sender, System.EventArgs e) |
||||
{ |
||||
statusBar.Visible = menuItemStatusBar.Checked = !menuItemStatusBar.Checked; |
||||
} |
||||
|
||||
private void toolBar_ButtonClick(object sender, System.Windows.Forms.ToolStripItemClickedEventArgs e) |
||||
{ |
||||
if (e.ClickedItem == toolBarButtonNew) |
||||
menuItemNew_Click(null, null); |
||||
else if (e.ClickedItem == toolBarButtonOpen) |
||||
menuItemOpen_Click(null, null); |
||||
else if (e.ClickedItem == toolBarButtonSolutionExplorer) |
||||
menuItemSolutionExplorer_Click(null, null); |
||||
else if (e.ClickedItem == toolBarButtonPropertyWindow) |
||||
menuItemPropertyWindow_Click(null, null); |
||||
else if (e.ClickedItem == toolBarButtonToolbox) |
||||
menuItemToolbox_Click(null, null); |
||||
else if (e.ClickedItem == toolBarButtonOutputWindow) |
||||
menuItemOutputWindow_Click(null, null); |
||||
else if (e.ClickedItem == toolBarButtonTaskList) |
||||
menuItemTaskList_Click(null, null); |
||||
else if (e.ClickedItem == toolBarButtonLayoutByCode) |
||||
menuItemLayoutByCode_Click(null, null); |
||||
else if (e.ClickedItem == toolBarButtonLayoutByXml) |
||||
menuItemLayoutByXml_Click(null, null); |
||||
} |
||||
|
||||
private void menuItemNewWindow_Click(object sender, System.EventArgs e) |
||||
{ |
||||
MainForm newWindow = new MainForm(); |
||||
newWindow.Text = newWindow.Text + " - New"; |
||||
newWindow.Show(); |
||||
} |
||||
|
||||
private void menuItemTools_Popup(object sender, System.EventArgs e) |
||||
{ |
||||
menuItemLockLayout.Checked = !this.dockPanel.AllowEndUserDocking; |
||||
} |
||||
|
||||
private void menuItemLockLayout_Click(object sender, System.EventArgs e) |
||||
{ |
||||
dockPanel.AllowEndUserDocking = !dockPanel.AllowEndUserDocking; |
||||
} |
||||
|
||||
private void menuItemLayoutByCode_Click(object sender, System.EventArgs e) |
||||
{ |
||||
dockPanel.SuspendLayout(true); |
||||
|
||||
m_solutionExplorer.Show(dockPanel, DockState.DockRight); |
||||
m_propertyWindow.Show(m_solutionExplorer.Pane, m_solutionExplorer); |
||||
m_toolbox.Show(dockPanel, new Rectangle(98, 133, 200, 383)); |
||||
m_outputWindow.Show(m_solutionExplorer.Pane, DockAlignment.Bottom, 0.35); |
||||
m_taskList.Show(m_toolbox.Pane, DockAlignment.Left, 0.4); |
||||
|
||||
CloseAllDocuments(); |
||||
DummyDoc doc1 = CreateNewDocument("Document1"); |
||||
DummyDoc doc2 = CreateNewDocument("Document2"); |
||||
DummyDoc doc3 = CreateNewDocument("Document3"); |
||||
DummyDoc doc4 = CreateNewDocument("Document4"); |
||||
doc1.Show(dockPanel, DockState.Document); |
||||
doc2.Show(doc1.Pane, null); |
||||
doc3.Show(doc1.Pane, DockAlignment.Bottom, 0.5); |
||||
doc4.Show(doc3.Pane, DockAlignment.Right, 0.5); |
||||
|
||||
dockPanel.ResumeLayout(true, true); |
||||
} |
||||
|
||||
private void menuItemLayoutByXml_Click(object sender, System.EventArgs e) |
||||
{ |
||||
dockPanel.SuspendLayout(true); |
||||
|
||||
// In order to load layout from XML, we need to close all the DockContents
|
||||
CloseAllContents(); |
||||
|
||||
Assembly assembly = Assembly.GetAssembly(typeof(MainForm)); |
||||
Stream xmlStream = assembly.GetManifestResourceStream("DockSample.Resources.DockPanel.xml"); |
||||
dockPanel.LoadFromXml(xmlStream, m_deserializeDockContent); |
||||
xmlStream.Close(); |
||||
|
||||
dockPanel.ResumeLayout(true, true); |
||||
} |
||||
|
||||
private void CloseAllContents() |
||||
{ |
||||
// we don't want to create another instance of tool window, set DockPanel to null
|
||||
m_solutionExplorer.DockPanel = null; |
||||
m_propertyWindow.DockPanel = null; |
||||
m_toolbox.DockPanel = null; |
||||
m_outputWindow.DockPanel = null; |
||||
m_taskList.DockPanel = null; |
||||
|
||||
// Close all other document windows
|
||||
CloseAllDocuments(); |
||||
} |
||||
|
||||
private void SetSchema(object sender, System.EventArgs e) |
||||
{ |
||||
CloseAllContents(); |
||||
|
||||
if (sender == menuItemSchemaVS2005) |
||||
Extender.SetSchema(dockPanel, Extender.Schema.VS2005); |
||||
else if (sender == menuItemSchemaVS2003) |
||||
Extender.SetSchema(dockPanel, Extender.Schema.VS2003); |
||||
|
||||
menuItemSchemaVS2005.Checked = (sender == menuItemSchemaVS2005); |
||||
menuItemSchemaVS2003.Checked = (sender == menuItemSchemaVS2003); |
||||
} |
||||
|
||||
private void SetDocumentStyle(object sender, System.EventArgs e) |
||||
{ |
||||
DocumentStyle oldStyle = dockPanel.DocumentStyle; |
||||
DocumentStyle newStyle; |
||||
if (sender == menuItemDockingMdi) |
||||
newStyle = DocumentStyle.DockingMdi; |
||||
else if (sender == menuItemDockingWindow) |
||||
newStyle = DocumentStyle.DockingWindow; |
||||
else if (sender == menuItemDockingSdi) |
||||
newStyle = DocumentStyle.DockingSdi; |
||||
else |
||||
newStyle = DocumentStyle.SystemMdi; |
||||
|
||||
if (oldStyle == newStyle) |
||||
return; |
||||
|
||||
if (oldStyle == DocumentStyle.SystemMdi || newStyle == DocumentStyle.SystemMdi) |
||||
CloseAllDocuments(); |
||||
|
||||
dockPanel.DocumentStyle = newStyle; |
||||
menuItemDockingMdi.Checked = (newStyle == DocumentStyle.DockingMdi); |
||||
menuItemDockingWindow.Checked = (newStyle == DocumentStyle.DockingWindow); |
||||
menuItemDockingSdi.Checked = (newStyle == DocumentStyle.DockingSdi); |
||||
menuItemSystemMdi.Checked = (newStyle == DocumentStyle.SystemMdi); |
||||
menuItemLayoutByCode.Enabled = (newStyle != DocumentStyle.SystemMdi); |
||||
menuItemLayoutByXml.Enabled = (newStyle != DocumentStyle.SystemMdi); |
||||
toolBarButtonLayoutByCode.Enabled = (newStyle != DocumentStyle.SystemMdi); |
||||
toolBarButtonLayoutByXml.Enabled = (newStyle != DocumentStyle.SystemMdi); |
||||
} |
||||
|
||||
private void menuItemCloseAllButThisOne_Click(object sender, System.EventArgs e) |
||||
{ |
||||
if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) |
||||
{ |
||||
Form activeMdi = ActiveMdiChild; |
||||
foreach (Form form in MdiChildren) |
||||
{ |
||||
if (form != activeMdi) |
||||
form.Close(); |
||||
} |
||||
} |
||||
else |
||||
{ |
||||
foreach (IDockContent document in dockPanel.DocumentsToArray()) |
||||
{ |
||||
if (!document.DockHandler.IsActivated) |
||||
document.DockHandler.Close(); |
||||
} |
||||
} |
||||
} |
||||
|
||||
private void menuItemShowDocumentIcon_Click(object sender, System.EventArgs e) |
||||
{ |
||||
dockPanel.ShowDocumentIcon = menuItemShowDocumentIcon.Checked= !menuItemShowDocumentIcon.Checked; |
||||
} |
||||
|
||||
private void showRightToLeft_Click(object sender, EventArgs e) |
||||
{ |
||||
CloseAllContents(); |
||||
if (showRightToLeft.Checked) |
||||
{ |
||||
this.RightToLeft = RightToLeft.No; |
||||
this.RightToLeftLayout = false; |
||||
} |
||||
else |
||||
{ |
||||
this.RightToLeft = RightToLeft.Yes; |
||||
this.RightToLeftLayout = true; |
||||
} |
||||
m_solutionExplorer.RightToLeftLayout = this.RightToLeftLayout; |
||||
showRightToLeft.Checked = !showRightToLeft.Checked; |
||||
} |
||||
|
||||
private void exitWithoutSavingLayout_Click(object sender, EventArgs e) |
||||
{ |
||||
m_bSaveLayout = false; |
||||
Close(); |
||||
m_bSaveLayout = true; |
||||
} |
||||
} |
||||
} |
||||
@ -0,0 +1,194 @@
@@ -0,0 +1,194 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<root> |
||||
<!-- |
||||
Microsoft ResX Schema |
||||
|
||||
Version 2.0 |
||||
|
||||
The primary goals of this format is to allow a simple XML format |
||||
that is mostly human readable. The generation and parsing of the |
||||
various data types are done through the TypeConverter classes |
||||
associated with the data types. |
||||
|
||||
Example: |
||||
|
||||
... ado.net/XML headers & schema ... |
||||
<resheader name="resmimetype">text/microsoft-resx</resheader> |
||||
<resheader name="version">2.0</resheader> |
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
||||
<value>[base64 mime encoded serialized .NET Framework object]</value> |
||||
</data> |
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
||||
<comment>This is a comment</comment> |
||||
</data> |
||||
|
||||
There are any number of "resheader" rows that contain simple |
||||
name/value pairs. |
||||
|
||||
Each data row contains a name, and value. The row also contains a |
||||
type or mimetype. Type corresponds to a .NET class that support |
||||
text/value conversion through the TypeConverter architecture. |
||||
Classes that don't support this are serialized and stored with the |
||||
mimetype set. |
||||
|
||||
The mimetype is used for serialized objects, and tells the |
||||
ResXResourceReader how to depersist the object. This is currently not |
||||
extensible. For a given mimetype the value must be set accordingly: |
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format |
||||
that the ResXResourceWriter will generate, however the reader can |
||||
read any of the formats listed below. |
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64 |
||||
value : The object must be serialized into a byte array |
||||
: using a System.ComponentModel.TypeConverter |
||||
: and then encoded with base64 encoding. |
||||
--> |
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
||||
<xsd:element name="root" msdata:IsDataSet="true"> |
||||
<xsd:complexType> |
||||
<xsd:choice maxOccurs="unbounded"> |
||||
<xsd:element name="metadata"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" use="required" type="xsd:string" /> |
||||
<xsd:attribute name="type" type="xsd:string" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="assembly"> |
||||
<xsd:complexType> |
||||
<xsd:attribute name="alias" type="xsd:string" /> |
||||
<xsd:attribute name="name" type="xsd:string" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="data"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="resheader"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:choice> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:schema> |
||||
<resheader name="resmimetype"> |
||||
<value>text/microsoft-resx</value> |
||||
</resheader> |
||||
<resheader name="version"> |
||||
<value>2.0</value> |
||||
</resheader> |
||||
<resheader name="reader"> |
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<resheader name="writer"> |
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<metadata name="mainMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
||||
<value>120, 12</value> |
||||
</metadata> |
||||
<metadata name="imageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
||||
<value>24, 9</value> |
||||
</metadata> |
||||
<data name="imageList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> |
||||
<value> |
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w |
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 |
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADY |
||||
DAAAAk1TRnQBSQFMAgEBCQEAAQ4BAAEEAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo |
||||
AwABQAMAATADAAEBAQABCAYAAQwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA |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EHAQABBwGAAgABDwHAAQcBAAEDAYACAAEPAcABBwEAAQEBgAIAAQ8BwAEHAgABgAEBAQABDwHA |
||||
AQcBAAEfAYABAwEIAY4BwAEHAQABHwGAAQMBBQFEAcABBwEAAR8BgAEDAQIBuAHAAQcBjwHxAYABAwH9 |
||||
AXwBwAEPAf8B+QGAAQMB/gH8AcABHwH/AXUBgAEDAf8BAAHAAT8B/wGPAYABAwH/AfwI/ws= |
||||
</value> |
||||
</data> |
||||
<metadata name="toolBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
||||
<value>226, 12</value> |
||||
</metadata> |
||||
<metadata name="statusBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
||||
<value>310, 13</value> |
||||
</metadata> |
||||
</root> |
||||
@ -1,42 +0,0 @@
@@ -1,42 +0,0 @@
|
||||
<project SchemaVersion="1.3"> |
||||
<assemblies> |
||||
<assembly location=".\WinFormsUI\bin\NDoc\WeifenLuo.WinFormsUI.Docking.dll" documentation=".\WinFormsUI\bin\NDoc\CodeDoc.xml" /> |
||||
</assemblies> |
||||
<documenters> |
||||
<documenter name="JavaDoc"> |
||||
<property name="OutputDirectory" value=".\doc\" /> |
||||
</documenter> |
||||
<documenter name="LaTeX"> |
||||
<property name="OutputDirectory" value=".\doc\" /> |
||||
<property name="TextFileFullName" value="Documentation.tex" /> |
||||
<property name="TexFileBaseName" value="Documentation" /> |
||||
<property name="LatexCompiler" value="latex" /> |
||||
<property name="TexFileFullPath" value=".\doc\Documentation.tex" /> |
||||
</documenter> |
||||
<documenter name="LinearHtml"> |
||||
<property name="OutputDirectory" value=".\doc\" /> |
||||
<property name="Title" value="An NDoc Documented Class Library" /> |
||||
</documenter> |
||||
<documenter name="MSDN"> |
||||
<property name="OutputDirectory" value="..\doc\" /> |
||||
<property name="HtmlHelpName" value="DockPanel" /> |
||||
<property name="Title" value="DockPanel Class Library (Ver 1.0)" /> |
||||
<property name="OutputTarget" value="HtmlHelp" /> |
||||
<property name="CopyrightText" value="Copyright Weifen Luo, All Rights Reserved." /> |
||||
<property name="FeedbackEmailAddress" value="weifenluo@yahoo.com" /> |
||||
<property name="CleanIntermediates" value="True" /> |
||||
</documenter> |
||||
<documenter name="MSDN 2003"> |
||||
<property name="OutputDirectory" value=".\doc\" /> |
||||
<property name="Title" value="An NDoc Documented Class Library" /> |
||||
</documenter> |
||||
<documenter name="VS.NET 2003"> |
||||
<property name="OutputDirectory" value=".\doc\" /> |
||||
<property name="HtmlHelpName" value="Documentation" /> |
||||
<property name="Title" value="An NDoc documented library" /> |
||||
</documenter> |
||||
<documenter name="XML"> |
||||
<property name="OutputFile" value=".\doc\doc.xml" /> |
||||
</documenter> |
||||
</documenters> |
||||
</project> |
||||
Binary file not shown.
|
Before Width: | Height: | Size: 822 B After Width: | Height: | Size: 822 B |
Binary file not shown.
Loading…
Reference in new issue