Пример #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(XEditNetMainForm));
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.mainStatusPanel = new System.Windows.Forms.StatusBarPanel();
     this.statusBar = new System.Windows.Forms.StatusBar();
     this.sandBarManager1 = new TD.SandBar.SandBarManager();
     this.leftSandBarDock = new TD.SandBar.ToolBarContainer();
     this.rightSandBarDock = new TD.SandBar.ToolBarContainer();
     this.bottomSandBarDock = new TD.SandBar.ToolBarContainer();
     this.topSandBarDock = new TD.SandBar.ToolBarContainer();
     this.menuBar1 = new TD.SandBar.MenuBar();
     this.menuFile = new TD.SandBar.MenuBarItem();
     this.menuFileNew = new TD.SandBar.MenuButtonItem();
     this.menuFileOpen = new TD.SandBar.MenuButtonItem();
     this.menuFileMru = new TD.SandBar.MenuButtonItem();
     this.menuFileExit = new TD.SandBar.MenuButtonItem();
     this.menuBarItem6 = new TD.SandBar.MenuBarItem();
     this.menuBarItem7 = new TD.SandBar.MenuBarItem();
     this.menuItem3 = new TD.SandBar.MenuBarItem();
     this.menuItem4 = new TD.SandBar.MenuBarItem();
     this.menuHelpUserGuide = new TD.SandBar.MenuButtonItem();
     this.menuHelpAbout = new TD.SandBar.MenuButtonItem();
     this.toolbar = new TD.SandBar.ToolBar();
     this.buttonFileNew = new TD.SandBar.ButtonItem();
     this.buttonFileOpen = new TD.SandBar.ButtonItem();
     this.menuBarItem1 = new TD.SandBar.MenuBarItem();
     this.menuBarItem2 = new TD.SandBar.MenuBarItem();
     this.menuBarItem3 = new TD.SandBar.MenuBarItem();
     this.menuBarItem4 = new TD.SandBar.MenuBarItem();
     this.menuBarItem5 = new TD.SandBar.MenuBarItem();
     this.buttonItem2 = new TD.SandBar.ButtonItem();
     this.buttonItem4 = new TD.SandBar.ButtonItem();
     ((System.ComponentModel.ISupportInitialize)(this.mainStatusPanel)).BeginInit();
     this.topSandBarDock.SuspendLayout();
     this.SuspendLayout();
     //
     // menuItem1
     //
     this.menuItem1.Index = -1;
     this.menuItem1.Text = "";
     //
     // statusBar
     //
     this.statusBar.Location = new System.Drawing.Point(0, 531);
     this.statusBar.Name = "statusBar";
     this.statusBar.Size = new System.Drawing.Size(888, 22);
     this.statusBar.TabIndex = 3;
     //
     // sandBarManager1
     //
     this.sandBarManager1.OwnerForm = this;
     //
     // leftSandBarDock
     //
     this.leftSandBarDock.Dock = System.Windows.Forms.DockStyle.Left;
     this.leftSandBarDock.Guid = new System.Guid("5f0063a2-6d31-4737-bbb0-8a9c9e2c8e14");
     this.leftSandBarDock.Location = new System.Drawing.Point(0, 50);
     this.leftSandBarDock.Manager = this.sandBarManager1;
     this.leftSandBarDock.Name = "leftSandBarDock";
     this.leftSandBarDock.Size = new System.Drawing.Size(0, 503);
     this.leftSandBarDock.TabIndex = 5;
     //
     // rightSandBarDock
     //
     this.rightSandBarDock.Dock = System.Windows.Forms.DockStyle.Right;
     this.rightSandBarDock.Guid = new System.Guid("cc416637-af15-40c6-bdb2-b595b79b46f7");
     this.rightSandBarDock.Location = new System.Drawing.Point(888, 50);
     this.rightSandBarDock.Manager = this.sandBarManager1;
     this.rightSandBarDock.Name = "rightSandBarDock";
     this.rightSandBarDock.Size = new System.Drawing.Size(0, 503);
     this.rightSandBarDock.TabIndex = 6;
     //
     // bottomSandBarDock
     //
     this.bottomSandBarDock.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandBarDock.Guid = new System.Guid("746bc677-7bd1-43fd-9c76-ab8f67c071f6");
     this.bottomSandBarDock.Location = new System.Drawing.Point(0, 553);
     this.bottomSandBarDock.Manager = this.sandBarManager1;
     this.bottomSandBarDock.Name = "bottomSandBarDock";
     this.bottomSandBarDock.Size = new System.Drawing.Size(888, 0);
     this.bottomSandBarDock.TabIndex = 7;
     //
     // topSandBarDock
     //
     this.topSandBarDock.Controls.Add(this.menuBar1);
     this.topSandBarDock.Controls.Add(this.toolbar);
     this.topSandBarDock.Dock = System.Windows.Forms.DockStyle.Top;
     this.topSandBarDock.Guid = new System.Guid("9dc621f6-032c-409c-ab45-7f5768d88248");
     this.topSandBarDock.Location = new System.Drawing.Point(0, 0);
     this.topSandBarDock.Manager = this.sandBarManager1;
     this.topSandBarDock.Name = "topSandBarDock";
     this.topSandBarDock.Size = new System.Drawing.Size(888, 50);
     this.topSandBarDock.TabIndex = 8;
     //
     // menuBar1
     //
     this.menuBar1.AllowMerge = true;
     this.menuBar1.Guid = new System.Guid("4f520204-743b-4927-9dea-ef3e685de2f0");
     this.menuBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                       this.menuFile,
                                                                       this.menuBarItem6,
                                                                       this.menuBarItem7,
                                                                       this.menuItem3,
                                                                       this.menuItem4});
     this.menuBar1.Location = new System.Drawing.Point(2, 0);
     this.menuBar1.Name = "menuBar1";
     this.menuBar1.OwnerForm = this;
     this.menuBar1.ShowMdiSystemMenu = false;
     this.menuBar1.Size = new System.Drawing.Size(886, 24);
     this.menuBar1.TabIndex = 0;
     this.menuBar1.Text = "menuBar1";
     this.menuBar1.ButtonClick += new TD.SandBar.ToolBar.ButtonClickEventHandler(this.menuBar1_ButtonClick);
     //
     // menuFile
     //
     this.menuFile.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                       this.menuFileNew,
                                                                       this.menuFileOpen,
                                                                       this.menuFileMru,
                                                                       this.menuFileExit});
     this.menuFile.Text = "&File";
     this.menuFile.BeforePopup += new TD.SandBar.MenuItemBase.BeforePopupEventHandler(this.menuFile_BeforePopup);
     //
     // menuFileNew
     //
     this.menuFileNew.Image = ((System.Drawing.Image)(resources.GetObject("menuFileNew.Image")));
     this.menuFileNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.menuFileNew.Text = "&New";
     this.menuFileNew.Activate += new System.EventHandler(this.menuFileNew_Click);
     //
     // menuFileOpen
     //
     this.menuFileOpen.Image = ((System.Drawing.Image)(resources.GetObject("menuFileOpen.Image")));
     this.menuFileOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.menuFileOpen.Text = "&Open...";
     this.menuFileOpen.Activate += new System.EventHandler(this.menuFileOpen_Click);
     //
     // menuFileMru
     //
     this.menuFileMru.BeginGroup = true;
     this.menuFileMru.Text = "Recent &Files";
     //
     // menuFileExit
     //
     this.menuFileExit.Text = "E&xit";
     this.menuFileExit.Activate += new System.EventHandler(this.FileExit);
     //
     // menuBarItem6
     //
     this.menuBarItem6.Text = "&Edit";
     //
     // menuBarItem7
     //
     this.menuBarItem7.Text = "&View";
     //
     // menuItem3
     //
     this.menuItem3.Text = "&Window";
     //
     // menuItem4
     //
     this.menuItem4.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                        this.menuHelpUserGuide,
                                                                        this.menuHelpAbout});
     this.menuItem4.Text = "&Help";
     //
     // menuHelpUserGuide
     //
     this.menuHelpUserGuide.Text = "Table of &Contents";
     this.menuHelpUserGuide.Activate += new System.EventHandler(this.menuHelpUserGuide_Click);
     //
     // menuHelpAbout
     //
     this.menuHelpAbout.BeginGroup = true;
     this.menuHelpAbout.Text = "&About...";
     this.menuHelpAbout.Activate += new System.EventHandler(this.menuHelpAbout_Click);
     //
     // toolbar
     //
     this.toolbar.DockLine = 1;
     this.toolbar.Guid = new System.Guid("b4123575-47eb-4cc2-830d-dbc0514edfd5");
     this.toolbar.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                      this.buttonFileNew,
                                                                      this.buttonFileOpen});
     this.toolbar.Location = new System.Drawing.Point(2, 24);
     this.toolbar.Name = "toolbar";
     this.toolbar.Size = new System.Drawing.Size(70, 26);
     this.toolbar.TabIndex = 1;
     this.toolbar.Text = "toolBar1";
     //
     // buttonFileNew
     //
     this.buttonFileNew.BuddyMenu = this.menuFileNew;
     this.buttonFileNew.Image = ((System.Drawing.Image)(resources.GetObject("buttonFileNew.Image")));
     this.buttonFileNew.ToolTipText = "New";
     this.buttonFileNew.Activate += new System.EventHandler(this.buttonFileNew_Activate);
     //
     // buttonFileOpen
     //
     this.buttonFileOpen.BuddyMenu = this.menuFileOpen;
     this.buttonFileOpen.Image = ((System.Drawing.Image)(resources.GetObject("buttonFileOpen.Image")));
     this.buttonFileOpen.ToolTipText = "Open...";
     //
     // menuBarItem1
     //
     this.menuBarItem1.Text = "&File";
     //
     // menuBarItem2
     //
     this.menuBarItem2.Text = "&Edit";
     //
     // menuBarItem3
     //
     this.menuBarItem3.Text = "&View";
     //
     // menuBarItem4
     //
     this.menuBarItem4.MdiWindowList = true;
     this.menuBarItem4.Text = "&Window";
     //
     // menuBarItem5
     //
     this.menuBarItem5.Text = "&Help";
     //
     // XEditNetMainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(888, 553);
     this.Controls.Add(this.statusBar);
     this.Controls.Add(this.leftSandBarDock);
     this.Controls.Add(this.rightSandBarDock);
     this.Controls.Add(this.bottomSandBarDock);
     this.Controls.Add(this.topSandBarDock);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name = "XEditNetMainForm";
     this.Text = "XEditNet Author";
     this.MdiChildActivate += new System.EventHandler(this.XEditNetMainForm_MdiChildActivate);
     ((System.ComponentModel.ISupportInitialize)(this.mainStatusPanel)).EndInit();
     this.topSandBarDock.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #2
0
 /// <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();
     this.menuBarItem1             = new TD.SandBar.MenuBarItem();
     this.menuBarItem2             = new TD.SandBar.MenuBarItem();
     this.menuBarItem3             = new TD.SandBar.MenuBarItem();
     this.menuBarItem4             = new TD.SandBar.MenuBarItem();
     this.menuBarItem5             = new TD.SandBar.MenuBarItem();
     this.sandDockManager          = new TD.SandDock.SandDockManager();
     this.leftSandDock             = new TD.SandDock.DockContainer();
     this.rightSandDock            = new TD.SandDock.DockContainer();
     this.dockElementInsert        = new TD.SandDock.DockableWindow();
     this.elementInsertPanel       = new XEditNet.Widgets.ElementInsertPanel();
     this.dockElementChange        = new TD.SandDock.DockableWindow();
     this.elementChangePanel       = new XEditNet.Widgets.ElementChangePanel();
     this.dockAttributes           = new TD.SandDock.DockableWindow();
     this.attributeChangePanel     = new XEditNet.Widgets.AttributeChangePanel();
     this.bottomSandDock           = new TD.SandDock.DockContainer();
     this.topSandDock              = new TD.SandDock.DockContainer();
     this.menuBar1                 = new TD.SandBar.MenuBar();
     this.menuBarItem6             = new TD.SandBar.MenuBarItem();
     this.menuFileSave             = new TD.SandBar.MenuButtonItem();
     this.menuButtonItem1          = new TD.SandBar.MenuButtonItem();
     this.menuBarItem7             = new TD.SandBar.MenuBarItem();
     this.menuButtonItem2          = new TD.SandBar.MenuButtonItem();
     this.menuBarItem8             = new TD.SandBar.MenuBarItem();
     this.menuButtonItem3          = new TD.SandBar.MenuButtonItem();
     this.toolBar1                 = new TD.SandBar.ToolBar();
     this.toolBar2                 = new TD.SandBar.ToolBar();
     this.buttonItem1              = new TD.SandBar.ButtonItem();
     this.quickFixBar              = new TD.SandBar.ContainerBar();
     this.containerBarClientPanel1 = new TD.SandBar.ContainerBarClientPanel();
     this.quickFixPanel            = new XEditNet.Widgets.QuickFixPanel();
     this.quickFixImageList        = new System.Windows.Forms.ImageList(this.components);
     this.quickFixPreceeding       = new TD.SandBar.ButtonItem();
     this.quickFixFollowing        = new TD.SandBar.ButtonItem();
     this.commandImageList         = new System.Windows.Forms.ImageList(this.components);
     this.rightSandDock.SuspendLayout();
     this.dockElementInsert.SuspendLayout();
     this.dockElementChange.SuspendLayout();
     this.dockAttributes.SuspendLayout();
     this.quickFixBar.SuspendLayout();
     this.containerBarClientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // menuBarItem1
     //
     this.menuBarItem1.Text = "&File";
     //
     // menuBarItem2
     //
     this.menuBarItem2.Text = "&Edit";
     //
     // menuBarItem3
     //
     this.menuBarItem3.Text = "&View";
     //
     // menuBarItem4
     //
     this.menuBarItem4.MdiWindowList = true;
     this.menuBarItem4.Text          = "&Window";
     //
     // menuBarItem5
     //
     this.menuBarItem5.Text = "&Help";
     //
     // sandDockManager
     //
     this.sandDockManager.OwnerForm = this;
     this.sandDockManager.Renderer  = new TD.SandDock.Rendering.Office2003Renderer();
     //
     // leftSandDock
     //
     this.leftSandDock.Dock         = System.Windows.Forms.DockStyle.Left;
     this.leftSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.leftSandDock.Location     = new System.Drawing.Point(0, 22);
     this.leftSandDock.Manager      = this.sandDockManager;
     this.leftSandDock.Name         = "leftSandDock";
     this.leftSandDock.Size         = new System.Drawing.Size(0, 480);
     this.leftSandDock.TabIndex     = 0;
     //
     // rightSandDock
     //
     this.rightSandDock.Controls.Add(this.dockElementInsert);
     this.rightSandDock.Controls.Add(this.dockElementChange);
     this.rightSandDock.Controls.Add(this.dockAttributes);
     this.rightSandDock.Dock         = System.Windows.Forms.DockStyle.Right;
     this.rightSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] {
         new TD.SandDock.ControlLayoutSystem(212, 238, new TD.SandDock.DockableWindow[] {
             this.dockElementInsert,
             this.dockElementChange
         }, this.dockElementInsert),
         new TD.SandDock.ControlLayoutSystem(212, 238, new TD.SandDock.DockableWindow[] {
             this.dockAttributes
         }, this.dockAttributes)
     });
     this.rightSandDock.Location = new System.Drawing.Point(600, 22);
     this.rightSandDock.Manager  = this.sandDockManager;
     this.rightSandDock.Name     = "rightSandDock";
     this.rightSandDock.Size     = new System.Drawing.Size(216, 480);
     this.rightSandDock.TabIndex = 1;
     //
     // dockElementInsert
     //
     this.dockElementInsert.Controls.Add(this.elementInsertPanel);
     this.dockElementInsert.Guid     = new System.Guid("63fe64f8-5444-45cb-b17d-17f8baf0c91d");
     this.dockElementInsert.Location = new System.Drawing.Point(4, 25);
     this.dockElementInsert.Name     = "dockElementInsert";
     this.dockElementInsert.Size     = new System.Drawing.Size(212, 190);
     this.dockElementInsert.TabIndex = 1;
     this.dockElementInsert.Text     = "Insert";
     //
     // elementInsertPanel
     //
     this.elementInsertPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.elementInsertPanel.Location = new System.Drawing.Point(0, 0);
     this.elementInsertPanel.Name     = "elementInsertPanel";
     this.elementInsertPanel.Size     = new System.Drawing.Size(212, 190);
     this.elementInsertPanel.TabIndex = 0;
     //
     // dockElementChange
     //
     this.dockElementChange.Controls.Add(this.elementChangePanel);
     this.dockElementChange.Guid     = new System.Guid("cb2f6fbf-41de-4588-a08b-f4f00d505fa7");
     this.dockElementChange.Location = new System.Drawing.Point(4, 25);
     this.dockElementChange.Name     = "dockElementChange";
     this.dockElementChange.Size     = new System.Drawing.Size(212, 190);
     this.dockElementChange.TabIndex = 1;
     this.dockElementChange.Text     = "Change";
     //
     // elementChangePanel
     //
     this.elementChangePanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.elementChangePanel.Location = new System.Drawing.Point(0, 0);
     this.elementChangePanel.Name     = "elementChangePanel";
     this.elementChangePanel.Size     = new System.Drawing.Size(212, 190);
     this.elementChangePanel.TabIndex = 0;
     //
     // dockAttributes
     //
     this.dockAttributes.Controls.Add(this.attributeChangePanel);
     this.dockAttributes.Guid     = new System.Guid("7a4f064f-d569-4ab2-8133-ca0b6b8c4151");
     this.dockAttributes.Location = new System.Drawing.Point(4, 267);
     this.dockAttributes.Name     = "dockAttributes";
     this.dockAttributes.Size     = new System.Drawing.Size(212, 190);
     this.dockAttributes.TabIndex = 2;
     this.dockAttributes.Text     = "Attributes";
     //
     // attributeChangePanel
     //
     this.attributeChangePanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.attributeChangePanel.Location = new System.Drawing.Point(0, 0);
     this.attributeChangePanel.Name     = "attributeChangePanel";
     this.attributeChangePanel.Size     = new System.Drawing.Size(212, 190);
     this.attributeChangePanel.TabIndex = 0;
     //
     // bottomSandDock
     //
     this.bottomSandDock.Dock         = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.bottomSandDock.Location     = new System.Drawing.Point(0, 502);
     this.bottomSandDock.Manager      = this.sandDockManager;
     this.bottomSandDock.Name         = "bottomSandDock";
     this.bottomSandDock.Size         = new System.Drawing.Size(816, 0);
     this.bottomSandDock.TabIndex     = 2;
     //
     // topSandDock
     //
     this.topSandDock.Dock         = System.Windows.Forms.DockStyle.Top;
     this.topSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.topSandDock.Location     = new System.Drawing.Point(0, 22);
     this.topSandDock.Manager      = this.sandDockManager;
     this.topSandDock.Name         = "topSandDock";
     this.topSandDock.Size         = new System.Drawing.Size(816, 0);
     this.topSandDock.TabIndex     = 3;
     //
     // menuBar1
     //
     this.menuBar1.AllowMerge = true;
     this.menuBar1.Guid       = new System.Guid("dc0a091b-fb9a-4a33-8bf0-a9a24af4064c");
     this.menuBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuBarItem6,
         this.menuBarItem7,
         this.menuBarItem8
     });
     this.menuBar1.Location  = new System.Drawing.Point(232, 22);
     this.menuBar1.Name      = "menuBar1";
     this.menuBar1.OwnerForm = this;
     this.menuBar1.Size      = new System.Drawing.Size(368, 22);
     this.menuBar1.TabIndex  = 0;
     this.menuBar1.Text      = "menuBar1";
     this.menuBar1.Visible   = false;
     //
     // menuBarItem6
     //
     this.menuBarItem6.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuFileSave,
         this.menuButtonItem1
     });
     this.menuBarItem6.Text = "&File";
     //
     // menuFileSave
     //
     this.menuFileSave.BeginGroup  = true;
     this.menuFileSave.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.menuFileSave.MergeIndex  = 2;
     this.menuFileSave.Text        = "Save";
     this.menuFileSave.Activate   += new System.EventHandler(this.SaveFile);
     //
     // menuButtonItem1
     //
     this.menuButtonItem1.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.menuButtonItem1.MergeIndex  = 3;
     this.menuButtonItem1.Text        = "&Close";
     this.menuButtonItem1.Activate   += new System.EventHandler(this.CloseFile);
     //
     // menuBarItem7
     //
     this.menuBarItem7.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuButtonItem2
     });
     this.menuBarItem7.Text = "&Edit";
     //
     // menuButtonItem2
     //
     this.menuButtonItem2.MergeAction = TD.SandBar.ItemMergeAction.Add;
     this.menuButtonItem2.MergeIndex  = 0;
     this.menuButtonItem2.Text        = "&Test";
     //
     // menuBarItem8
     //
     this.menuBarItem8.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuButtonItem3
     });
     this.menuBarItem8.Text = "&View";
     //
     // menuButtonItem3
     //
     this.menuButtonItem3.MergeAction = TD.SandBar.ItemMergeAction.Add;
     this.menuButtonItem3.MergeIndex  = 0;
     this.menuButtonItem3.Text        = "&ViewTest";
     //
     // toolBar1
     //
     this.toolBar1.DockLine = 1;
     this.toolBar1.Guid     = new System.Guid("88196026-7bd7-4954-85b7-34999dcd37cd");
     this.toolBar1.Location = new System.Drawing.Point(2, 24);
     this.toolBar1.Name     = "toolBar1";
     this.toolBar1.Size     = new System.Drawing.Size(24, 18);
     this.toolBar1.TabIndex = 1;
     this.toolBar1.Text     = "toolBar1";
     //
     // toolBar2
     //
     this.toolBar2.Guid = new System.Guid("458f1dcc-720e-4fb6-b794-41d5a9f186e2");
     this.toolBar2.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.buttonItem1
     });
     this.toolBar2.Location = new System.Drawing.Point(0, 0);
     this.toolBar2.Name     = "toolBar2";
     this.toolBar2.Size     = new System.Drawing.Size(816, 22);
     this.toolBar2.TabIndex = 4;
     this.toolBar2.Text     = "";
     this.toolBar2.Visible  = false;
     //
     // buttonItem1
     //
     this.buttonItem1.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.buttonItem1.MergeIndex  = 2;
     this.buttonItem1.Text        = "xxxx";
     //
     // quickFixBar
     //
     this.quickFixBar.AddRemoveButtonsVisible = false;
     this.quickFixBar.AllowHorizontalDock     = false;
     this.quickFixBar.Controls.Add(this.containerBarClientPanel1);
     this.quickFixBar.Dock      = System.Windows.Forms.DockStyle.Left;
     this.quickFixBar.Flow      = TD.SandBar.ToolBarLayout.Horizontal;
     this.quickFixBar.Guid      = new System.Guid("0e1e9ede-d2fe-4307-a683-d2e3ea4f4e5f");
     this.quickFixBar.ImageList = this.quickFixImageList;
     this.quickFixBar.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.quickFixPreceeding,
         this.quickFixFollowing
     });
     this.quickFixBar.Location = new System.Drawing.Point(0, 22);
     this.quickFixBar.Name     = "quickFixBar";
     this.quickFixBar.Size     = new System.Drawing.Size(232, 480);
     this.quickFixBar.TabIndex = 5;
     this.quickFixBar.Text     = "Quick Fix";
     //
     // containerBarClientPanel1
     //
     this.containerBarClientPanel1.Controls.Add(this.quickFixPanel);
     this.containerBarClientPanel1.Location = new System.Drawing.Point(2, 45);
     this.containerBarClientPanel1.Name     = "containerBarClientPanel1";
     this.containerBarClientPanel1.Size     = new System.Drawing.Size(228, 433);
     this.containerBarClientPanel1.TabIndex = 0;
     //
     // quickFixPanel
     //
     this.quickFixPanel.BackColor     = System.Drawing.Color.Transparent;
     this.quickFixPanel.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.quickFixPanel.Location      = new System.Drawing.Point(0, 0);
     this.quickFixPanel.Name          = "quickFixPanel";
     this.quickFixPanel.Size          = new System.Drawing.Size(228, 433);
     this.quickFixPanel.TabIndex      = 0;
     this.quickFixPanel.FinishUpdate += new System.EventHandler(this.QuickFixUpdated);
     //
     // quickFixImageList
     //
     this.quickFixImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.quickFixImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.quickFixImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // quickFixPreceeding
     //
     this.quickFixPreceeding.ImageIndex = 0;
     this.quickFixPreceeding.Activate  += new System.EventHandler(this.GotoPrecedingError);
     //
     // quickFixFollowing
     //
     this.quickFixFollowing.ImageIndex = 1;
     this.quickFixFollowing.Activate  += new System.EventHandler(this.GotoFollowingError);
     //
     // commandImageList
     //
     this.commandImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.commandImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // XEditNetChildForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(816, 502);
     this.Controls.Add(this.menuBar1);
     this.Controls.Add(this.quickFixBar);
     this.Controls.Add(this.leftSandDock);
     this.Controls.Add(this.rightSandDock);
     this.Controls.Add(this.bottomSandDock);
     this.Controls.Add(this.topSandDock);
     this.Controls.Add(this.toolBar2);
     this.Name = "XEditNetChildForm";
     this.Text = "XEditNetChildForm";
     this.rightSandDock.ResumeLayout(false);
     this.dockElementInsert.ResumeLayout(false);
     this.dockElementChange.ResumeLayout(false);
     this.dockAttributes.ResumeLayout(false);
     this.quickFixBar.ResumeLayout(false);
     this.containerBarClientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #3
0
		/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(NewMessageForm));
			this.formPanel = new System.Windows.Forms.Panel();
			this.newMessagePanel = new System.Windows.Forms.Panel();
			this.textSourceTextBox = new System.Windows.Forms.TextBox();
			this.fileSourceTextBox = new System.Windows.Forms.TextBox();
			this.fileSourceBrowseButton = new System.Windows.Forms.Button();
			this.sourcePanel = new System.Windows.Forms.Panel();
			this.xmlCheckBox = new System.Windows.Forms.CheckBox();
			this.sourceLabel = new System.Windows.Forms.Label();
			this.fileSourceRadioButton = new System.Windows.Forms.RadioButton();
			this.textSourceRadioButton = new System.Windows.Forms.RadioButton();
			this.existingMessagePanel = new System.Windows.Forms.Panel();
			this.existingMessagesLabel = new System.Windows.Forms.Label();
			this.messagesListView = new System.Windows.Forms.ListView();
			this._messageViewerHostPanel = new System.Windows.Forms.Panel();
			this.recipientsListView = new System.Windows.Forms.ListView();
			this.labelTextBox = new System.Windows.Forms.TextBox();
			this.labelLabel = new System.Windows.Forms.Label();
			this.recipientsButton = new System.Windows.Forms.Button();
			this.sandBarManager = new TD.SandBar.SandBarManager();
			this.leftSandBarDock = new TD.SandBar.ToolBarContainer();
			this.rightSandBarDock = new TD.SandBar.ToolBarContainer();
			this.bottomSandBarDock = new TD.SandBar.ToolBarContainer();
			this.topSandBarDock = new TD.SandBar.ToolBarContainer();
			this.mainToolBar = new TD.SandBar.ToolBar();
			this.sendButtonItem = new TD.SandBar.ButtonItem();
			this.sendAndKeepOpenButtonItem = new TD.SandBar.ButtonItem();
			this.numberOfCopiesComboBoxItem = new TD.SandBar.ComboBoxItem();
			this.formatterComboBoxItem = new TD.SandBar.ComboBoxItem();
			this.optionsDropDownMenuItem = new TD.SandBar.DropDownMenuItem();
			this.optionsPriorityMenuItem = new TD.SandBar.MenuButtonItem();
			this.priorityHighestMenuItem = new TD.SandBar.MenuButtonItem();
			this.priorityVeryHighMenuItem = new TD.SandBar.MenuButtonItem();
			this.priorityHighMenuItem = new TD.SandBar.MenuButtonItem();
			this.priorityAboveNormalMenuItem = new TD.SandBar.MenuButtonItem();
			this.priorityNormalMenuItem = new TD.SandBar.MenuButtonItem();
			this.priorityLowMenuItem = new TD.SandBar.MenuButtonItem();
			this.priorityVeryLowMenuItem = new TD.SandBar.MenuButtonItem();
			this.priorityLowestMenuItem = new TD.SandBar.MenuButtonItem();
			this.optionsRecoverableMenuItem = new TD.SandBar.MenuButtonItem();
			this.optionsUseAuthenticationMenuItem = new TD.SandBar.MenuButtonItem();
			this.optionsUseDeadLetterQueueMenuItem = new TD.SandBar.MenuButtonItem();
			this.optionsUseEncryptionMenuItem = new TD.SandBar.MenuButtonItem();
			this.optionsUseJournalQueueMenuItem = new TD.SandBar.MenuButtonItem();
			this.optionsUseTracingMenuItem = new TD.SandBar.MenuButtonItem();
			this.optionsStreamDirectlyMenuItem = new TD.SandBar.MenuButtonItem();
			this.toolTip = new System.Windows.Forms.ToolTip(this.components);
			this.formPanel.SuspendLayout();
			this.newMessagePanel.SuspendLayout();
			this.sourcePanel.SuspendLayout();
			this.existingMessagePanel.SuspendLayout();
			this.topSandBarDock.SuspendLayout();
			this.SuspendLayout();
			// 
			// formPanel
			// 
			this.formPanel.Controls.Add(this.newMessagePanel);
			this.formPanel.Controls.Add(this.existingMessagePanel);
			this.formPanel.Controls.Add(this.recipientsListView);
			this.formPanel.Controls.Add(this.labelTextBox);
			this.formPanel.Controls.Add(this.labelLabel);
			this.formPanel.Controls.Add(this.recipientsButton);
			this.formPanel.Dock = System.Windows.Forms.DockStyle.Fill;
			this.formPanel.Location = new System.Drawing.Point(0, 26);
			this.formPanel.Name = "formPanel";
			this.formPanel.Size = new System.Drawing.Size(616, 444);
			this.formPanel.TabIndex = 12;
			// 
			// newMessagePanel
			// 
			this.newMessagePanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.newMessagePanel.Controls.Add(this.textSourceTextBox);
			this.newMessagePanel.Controls.Add(this.fileSourceTextBox);
			this.newMessagePanel.Controls.Add(this.fileSourceBrowseButton);
			this.newMessagePanel.Controls.Add(this.sourcePanel);
			this.newMessagePanel.Location = new System.Drawing.Point(8, 108);
			this.newMessagePanel.Name = "newMessagePanel";
			this.newMessagePanel.Size = new System.Drawing.Size(600, 328);
			this.newMessagePanel.TabIndex = 16;
			// 
			// textSourceTextBox
			// 
			this.textSourceTextBox.AcceptsReturn = true;
			this.textSourceTextBox.AcceptsTab = true;
			this.textSourceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.textSourceTextBox.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textSourceTextBox.Location = new System.Drawing.Point(68, 49);
			this.textSourceTextBox.Multiline = true;
			this.textSourceTextBox.Name = "textSourceTextBox";
			this.textSourceTextBox.Size = new System.Drawing.Size(532, 278);
			this.textSourceTextBox.TabIndex = 19;
			this.textSourceTextBox.Text = "";
			// 
			// fileSourceTextBox
			// 
			this.fileSourceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.fileSourceTextBox.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.fileSourceTextBox.Location = new System.Drawing.Point(68, 21);
			this.fileSourceTextBox.Name = "fileSourceTextBox";
			this.fileSourceTextBox.Size = new System.Drawing.Size(496, 21);
			this.fileSourceTextBox.TabIndex = 17;
			this.fileSourceTextBox.Text = "";
			// 
			// fileSourceBrowseButton
			// 
			this.fileSourceBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.fileSourceBrowseButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.fileSourceBrowseButton.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.fileSourceBrowseButton.Location = new System.Drawing.Point(568, 21);
			this.fileSourceBrowseButton.Name = "fileSourceBrowseButton";
			this.fileSourceBrowseButton.Size = new System.Drawing.Size(32, 21);
			this.fileSourceBrowseButton.TabIndex = 18;
			this.fileSourceBrowseButton.Text = "...";
			this.fileSourceBrowseButton.Click += new System.EventHandler(this.fileSourceBrowseButton_Click);
			// 
			// sourcePanel
			// 
			this.sourcePanel.Controls.Add(this.xmlCheckBox);
			this.sourcePanel.Controls.Add(this.sourceLabel);
			this.sourcePanel.Controls.Add(this.fileSourceRadioButton);
			this.sourcePanel.Controls.Add(this.textSourceRadioButton);
			this.sourcePanel.Location = new System.Drawing.Point(0, 1);
			this.sourcePanel.Name = "sourcePanel";
			this.sourcePanel.Size = new System.Drawing.Size(64, 103);
			this.sourcePanel.TabIndex = 16;
			// 
			// xmlCheckBox
			// 
			this.xmlCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.xmlCheckBox.Location = new System.Drawing.Point(4, 80);
			this.xmlCheckBox.Name = "xmlCheckBox";
			this.xmlCheckBox.Size = new System.Drawing.Size(60, 24);
			this.xmlCheckBox.TabIndex = 3;
			this.xmlCheckBox.Text = "&XML";
			this.xmlCheckBox.CheckedChanged += new System.EventHandler(this.xmlCheckBox_CheckedChanged);
			// 
			// sourceLabel
			// 
			this.sourceLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.sourceLabel.Location = new System.Drawing.Point(4, 4);
			this.sourceLabel.Name = "sourceLabel";
			this.sourceLabel.Size = new System.Drawing.Size(60, 16);
			this.sourceLabel.TabIndex = 0;
			this.sourceLabel.Text = "Source:";
			// 
			// fileSourceRadioButton
			// 
			this.fileSourceRadioButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.fileSourceRadioButton.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.fileSourceRadioButton.Location = new System.Drawing.Point(4, 24);
			this.fileSourceRadioButton.Name = "fileSourceRadioButton";
			this.fileSourceRadioButton.Size = new System.Drawing.Size(60, 16);
			this.fileSourceRadioButton.TabIndex = 1;
			this.fileSourceRadioButton.Text = "&File";
			this.fileSourceRadioButton.CheckedChanged += new System.EventHandler(this.SourceRadioButton_CheckedChanged);
			// 
			// textSourceRadioButton
			// 
			this.textSourceRadioButton.Checked = true;
			this.textSourceRadioButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.textSourceRadioButton.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textSourceRadioButton.Location = new System.Drawing.Point(4, 48);
			this.textSourceRadioButton.Name = "textSourceRadioButton";
			this.textSourceRadioButton.Size = new System.Drawing.Size(60, 16);
			this.textSourceRadioButton.TabIndex = 2;
			this.textSourceRadioButton.TabStop = true;
			this.textSourceRadioButton.Text = "Text";
			this.textSourceRadioButton.CheckedChanged += new System.EventHandler(this.SourceRadioButton_CheckedChanged);
			// 
			// existingMessagePanel
			// 
			this.existingMessagePanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.existingMessagePanel.Controls.Add(this.existingMessagesLabel);
			this.existingMessagePanel.Controls.Add(this.messagesListView);
			this.existingMessagePanel.Controls.Add(this._messageViewerHostPanel);
			this.existingMessagePanel.Location = new System.Drawing.Point(8, 80);
			this.existingMessagePanel.Name = "existingMessagePanel";
			this.existingMessagePanel.Size = new System.Drawing.Size(600, 356);
			this.existingMessagePanel.TabIndex = 17;
			// 
			// existingMessagesLabel
			// 
			this.existingMessagesLabel.Location = new System.Drawing.Point(4, 4);
			this.existingMessagesLabel.Name = "existingMessagesLabel";
			this.existingMessagesLabel.Size = new System.Drawing.Size(60, 23);
			this.existingMessagesLabel.TabIndex = 11;
			this.existingMessagesLabel.Text = "Message:";
			// 
			// messagesListView
			// 
			this.messagesListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.messagesListView.HideSelection = false;
			this.messagesListView.Location = new System.Drawing.Point(68, 0);
			this.messagesListView.Name = "messagesListView";
			this.messagesListView.Size = new System.Drawing.Size(532, 68);
			this.messagesListView.TabIndex = 10;
			this.messagesListView.View = System.Windows.Forms.View.SmallIcon;
			this.messagesListView.SelectedIndexChanged += new System.EventHandler(this.messagesListView_SelectedIndexChanged);
			// 
			// _messageViewerHostPanel
			// 
			this._messageViewerHostPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this._messageViewerHostPanel.Location = new System.Drawing.Point(0, 76);
			this._messageViewerHostPanel.Name = "_messageViewerHostPanel";
			this._messageViewerHostPanel.Size = new System.Drawing.Size(600, 280);
			this._messageViewerHostPanel.TabIndex = 12;
			// 
			// recipientsListView
			// 
			this.recipientsListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.recipientsListView.Location = new System.Drawing.Point(76, 8);
			this.recipientsListView.Name = "recipientsListView";
			this.recipientsListView.Size = new System.Drawing.Size(532, 68);
			this.recipientsListView.TabIndex = 9;
			this.recipientsListView.View = System.Windows.Forms.View.SmallIcon;
			this.recipientsListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.recipientsListView_KeyUp);
			// 
			// labelTextBox
			// 
			this.labelTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.labelTextBox.Location = new System.Drawing.Point(76, 80);
			this.labelTextBox.Name = "labelTextBox";
			this.labelTextBox.Size = new System.Drawing.Size(532, 21);
			this.labelTextBox.TabIndex = 11;
			this.labelTextBox.Text = "";
			// 
			// labelLabel
			// 
			this.labelLabel.Location = new System.Drawing.Point(12, 84);
			this.labelLabel.Name = "labelLabel";
			this.labelLabel.Size = new System.Drawing.Size(52, 16);
			this.labelLabel.TabIndex = 10;
			this.labelLabel.Text = "&Label:";
			// 
			// recipientsButton
			// 
			this.recipientsButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.recipientsButton.Location = new System.Drawing.Point(8, 8);
			this.recipientsButton.Name = "recipientsButton";
			this.recipientsButton.Size = new System.Drawing.Size(60, 23);
			this.recipientsButton.TabIndex = 8;
			this.recipientsButton.Text = "&To...";
			this.recipientsButton.Click += new System.EventHandler(this.recipientsButton_Click);
			// 
			// sandBarManager
			// 
			this.sandBarManager.OwnerForm = this;
			// 
			// leftSandBarDock
			// 
			this.leftSandBarDock.Dock = System.Windows.Forms.DockStyle.Left;
			this.leftSandBarDock.Guid = new System.Guid("ce92933a-b6c2-4136-9cad-1d50f047a7b4");
			this.leftSandBarDock.Location = new System.Drawing.Point(0, 26);
			this.leftSandBarDock.Manager = this.sandBarManager;
			this.leftSandBarDock.Name = "leftSandBarDock";
			this.leftSandBarDock.Size = new System.Drawing.Size(0, 444);
			this.leftSandBarDock.TabIndex = 13;
			// 
			// rightSandBarDock
			// 
			this.rightSandBarDock.Dock = System.Windows.Forms.DockStyle.Right;
			this.rightSandBarDock.Guid = new System.Guid("700c810c-1dda-42e5-ab48-881c72c966a6");
			this.rightSandBarDock.Location = new System.Drawing.Point(616, 26);
			this.rightSandBarDock.Manager = this.sandBarManager;
			this.rightSandBarDock.Name = "rightSandBarDock";
			this.rightSandBarDock.Size = new System.Drawing.Size(0, 444);
			this.rightSandBarDock.TabIndex = 14;
			// 
			// bottomSandBarDock
			// 
			this.bottomSandBarDock.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.bottomSandBarDock.Guid = new System.Guid("565be2ba-62fa-4d8e-a041-ce649cf5adb3");
			this.bottomSandBarDock.Location = new System.Drawing.Point(0, 470);
			this.bottomSandBarDock.Manager = this.sandBarManager;
			this.bottomSandBarDock.Name = "bottomSandBarDock";
			this.bottomSandBarDock.Size = new System.Drawing.Size(616, 0);
			this.bottomSandBarDock.TabIndex = 15;
			// 
			// topSandBarDock
			// 
			this.topSandBarDock.Controls.Add(this.mainToolBar);
			this.topSandBarDock.Dock = System.Windows.Forms.DockStyle.Top;
			this.topSandBarDock.Guid = new System.Guid("8c813572-b5bb-4bdd-af9b-e2e66ad1a878");
			this.topSandBarDock.Location = new System.Drawing.Point(0, 0);
			this.topSandBarDock.Manager = this.sandBarManager;
			this.topSandBarDock.Name = "topSandBarDock";
			this.topSandBarDock.Size = new System.Drawing.Size(616, 26);
			this.topSandBarDock.TabIndex = 16;
			// 
			// mainToolBar
			// 
			this.mainToolBar.DockLine = 1;
			this.mainToolBar.DrawActionsButton = false;
			this.mainToolBar.Guid = new System.Guid("71951701-c70e-430c-a8d2-6bba5bc2b776");
			this.mainToolBar.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
																				 this.sendButtonItem,
																				 this.sendAndKeepOpenButtonItem,
																				 this.numberOfCopiesComboBoxItem,
																				 this.formatterComboBoxItem,
																				 this.optionsDropDownMenuItem});
			this.mainToolBar.Location = new System.Drawing.Point(2, 0);
			this.mainToolBar.Name = "mainToolBar";
			this.mainToolBar.Size = new System.Drawing.Size(499, 26);
			this.mainToolBar.TabIndex = 1;
			this.mainToolBar.Text = "Main";
			// 
			// sendButtonItem
			// 
			this.sendButtonItem.Icon = ((System.Drawing.Icon)(resources.GetObject("sendButtonItem.Icon")));
			this.sendButtonItem.Text = "&Send";
			this.sendButtonItem.Activate += new System.EventHandler(this.sendButtonItem_Activate);
			// 
			// sendAndKeepOpenButtonItem
			// 
			this.sendAndKeepOpenButtonItem.Icon = ((System.Drawing.Icon)(resources.GetObject("sendAndKeepOpenButtonItem.Icon")));
			this.sendAndKeepOpenButtonItem.Text = "Send and &Keep Open";
			this.sendAndKeepOpenButtonItem.Activate += new System.EventHandler(this.sendButtonItem_Activate);
			// 
			// numberOfCopiesComboBoxItem
			// 
			this.numberOfCopiesComboBoxItem.BeginGroup = true;
			this.numberOfCopiesComboBoxItem.DefaultText = "1";
			this.numberOfCopiesComboBoxItem.Items.AddRange(new object[] {
																			"1",
																			"2",
																			"3",
																			"4",
																			"5",
																			"10",
																			"25",
																			"50",
																			"100",
																			"250",
																			"500",
																			"1000"});
			this.numberOfCopiesComboBoxItem.MinimumControlWidth = 55;
			this.numberOfCopiesComboBoxItem.Padding.Bottom = 0;
			this.numberOfCopiesComboBoxItem.Padding.Left = 1;
			this.numberOfCopiesComboBoxItem.Padding.Right = 1;
			this.numberOfCopiesComboBoxItem.Padding.Top = 0;
			this.numberOfCopiesComboBoxItem.Text = "Copies";
			// 
			// formatterComboBoxItem
			// 
			this.formatterComboBoxItem.MinimumControlWidth = 75;
			this.formatterComboBoxItem.Padding.Bottom = 0;
			this.formatterComboBoxItem.Padding.Left = 1;
			this.formatterComboBoxItem.Padding.Right = 1;
			this.formatterComboBoxItem.Padding.Top = 0;
			this.formatterComboBoxItem.Text = "Formatter";
			// 
			// optionsDropDownMenuItem
			// 
			this.optionsDropDownMenuItem.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
																							 this.optionsPriorityMenuItem,
																							 this.optionsRecoverableMenuItem,
																							 this.optionsUseAuthenticationMenuItem,
																							 this.optionsUseDeadLetterQueueMenuItem,
																							 this.optionsUseEncryptionMenuItem,
																							 this.optionsUseJournalQueueMenuItem,
																							 this.optionsUseTracingMenuItem,
																							 this.optionsStreamDirectlyMenuItem});
			this.optionsDropDownMenuItem.Text = "&Options";
			// 
			// optionsPriorityMenuItem
			// 
			this.optionsPriorityMenuItem.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
																							 this.priorityHighestMenuItem,
																							 this.priorityVeryHighMenuItem,
																							 this.priorityHighMenuItem,
																							 this.priorityAboveNormalMenuItem,
																							 this.priorityNormalMenuItem,
																							 this.priorityLowMenuItem,
																							 this.priorityVeryLowMenuItem,
																							 this.priorityLowestMenuItem});
			this.optionsPriorityMenuItem.Text = "Priority";
			// 
			// priorityHighestMenuItem
			// 
			this.priorityHighestMenuItem.MergeAction = TD.SandBar.ItemMergeAction.Insert;
			this.priorityHighestMenuItem.Text = "Highest";
			this.priorityHighestMenuItem.Activate += new System.EventHandler(this.priorityMenuItem_Activate);
			// 
			// priorityVeryHighMenuItem
			// 
			this.priorityVeryHighMenuItem.Text = "Very High";
			this.priorityVeryHighMenuItem.Activate += new System.EventHandler(this.priorityMenuItem_Activate);
			// 
			// priorityHighMenuItem
			// 
			this.priorityHighMenuItem.Text = "High";
			this.priorityHighMenuItem.Activate += new System.EventHandler(this.priorityMenuItem_Activate);
			// 
			// priorityAboveNormalMenuItem
			// 
			this.priorityAboveNormalMenuItem.Text = "Above Normal";
			this.priorityAboveNormalMenuItem.Activate += new System.EventHandler(this.priorityMenuItem_Activate);
			// 
			// priorityNormalMenuItem
			// 
			this.priorityNormalMenuItem.Text = "Normal";
			this.priorityNormalMenuItem.Activate += new System.EventHandler(this.priorityMenuItem_Activate);
			// 
			// priorityLowMenuItem
			// 
			this.priorityLowMenuItem.Text = "Low";
			this.priorityLowMenuItem.Activate += new System.EventHandler(this.priorityMenuItem_Activate);
			// 
			// priorityVeryLowMenuItem
			// 
			this.priorityVeryLowMenuItem.Text = "Very Low";
			this.priorityVeryLowMenuItem.Activate += new System.EventHandler(this.priorityMenuItem_Activate);
			// 
			// priorityLowestMenuItem
			// 
			this.priorityLowestMenuItem.Text = "Lowest";
			this.priorityLowestMenuItem.Activate += new System.EventHandler(this.priorityMenuItem_Activate);
			// 
			// optionsRecoverableMenuItem
			// 
			this.optionsRecoverableMenuItem.BeginGroup = true;
			this.optionsRecoverableMenuItem.Text = "Recoverable";
			this.optionsRecoverableMenuItem.Activate += new System.EventHandler(this.optionsMenuItem_Activate);
			// 
			// optionsUseAuthenticationMenuItem
			// 
			this.optionsUseAuthenticationMenuItem.Text = "Use Authentication";
			this.optionsUseAuthenticationMenuItem.Activate += new System.EventHandler(this.optionsMenuItem_Activate);
			// 
			// optionsUseDeadLetterQueueMenuItem
			// 
			this.optionsUseDeadLetterQueueMenuItem.Text = "Use Dead Letter Queue";
			this.optionsUseDeadLetterQueueMenuItem.Activate += new System.EventHandler(this.optionsMenuItem_Activate);
			// 
			// optionsUseEncryptionMenuItem
			// 
			this.optionsUseEncryptionMenuItem.Text = "Use Encryption";
			this.optionsUseEncryptionMenuItem.Activate += new System.EventHandler(this.optionsMenuItem_Activate);
			// 
			// optionsUseJournalQueueMenuItem
			// 
			this.optionsUseJournalQueueMenuItem.Text = "Use Journal Queue";
			this.optionsUseJournalQueueMenuItem.Activate += new System.EventHandler(this.optionsMenuItem_Activate);
			// 
			// optionsUseTracingMenuItem
			// 
			this.optionsUseTracingMenuItem.Text = "Use Tracing";
			this.optionsUseTracingMenuItem.Activate += new System.EventHandler(this.optionsMenuItem_Activate);
			// 
			// optionsStreamDirectlyMenuItem
			// 
			this.optionsStreamDirectlyMenuItem.BeginGroup = true;
			this.optionsStreamDirectlyMenuItem.Text = "Stream Directly";
			this.optionsStreamDirectlyMenuItem.Activate += new System.EventHandler(this.optionsMenuItem_Activate);
			// 
			// NewMessageForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
			this.ClientSize = new System.Drawing.Size(616, 470);
			this.Controls.Add(this.formPanel);
			this.Controls.Add(this.leftSandBarDock);
			this.Controls.Add(this.rightSandBarDock);
			this.Controls.Add(this.bottomSandBarDock);
			this.Controls.Add(this.topSandBarDock);
			this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "NewMessageForm";
			this.Text = "New Message";
			this.formPanel.ResumeLayout(false);
			this.newMessagePanel.ResumeLayout(false);
			this.sourcePanel.ResumeLayout(false);
			this.existingMessagePanel.ResumeLayout(false);
			this.topSandBarDock.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Пример #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(XEditNetMainForm));
     this.menuItem1         = new System.Windows.Forms.MenuItem();
     this.mainStatusPanel   = new System.Windows.Forms.StatusBarPanel();
     this.statusBar         = new System.Windows.Forms.StatusBar();
     this.sandBarManager1   = new TD.SandBar.SandBarManager();
     this.leftSandBarDock   = new TD.SandBar.ToolBarContainer();
     this.rightSandBarDock  = new TD.SandBar.ToolBarContainer();
     this.bottomSandBarDock = new TD.SandBar.ToolBarContainer();
     this.topSandBarDock    = new TD.SandBar.ToolBarContainer();
     this.menuBar1          = new TD.SandBar.MenuBar();
     this.menuFile          = new TD.SandBar.MenuBarItem();
     this.menuFileNew       = new TD.SandBar.MenuButtonItem();
     this.menuFileOpen      = new TD.SandBar.MenuButtonItem();
     this.menuFileMru       = new TD.SandBar.MenuButtonItem();
     this.menuFileExit      = new TD.SandBar.MenuButtonItem();
     this.menuBarItem6      = new TD.SandBar.MenuBarItem();
     this.menuBarItem7      = new TD.SandBar.MenuBarItem();
     this.menuItem3         = new TD.SandBar.MenuBarItem();
     this.menuItem4         = new TD.SandBar.MenuBarItem();
     this.menuHelpUserGuide = new TD.SandBar.MenuButtonItem();
     this.menuHelpAbout     = new TD.SandBar.MenuButtonItem();
     this.toolbar           = new TD.SandBar.ToolBar();
     this.buttonFileNew     = new TD.SandBar.ButtonItem();
     this.buttonFileOpen    = new TD.SandBar.ButtonItem();
     this.menuBarItem1      = new TD.SandBar.MenuBarItem();
     this.menuBarItem2      = new TD.SandBar.MenuBarItem();
     this.menuBarItem3      = new TD.SandBar.MenuBarItem();
     this.menuBarItem4      = new TD.SandBar.MenuBarItem();
     this.menuBarItem5      = new TD.SandBar.MenuBarItem();
     this.buttonItem2       = new TD.SandBar.ButtonItem();
     this.buttonItem4       = new TD.SandBar.ButtonItem();
     ((System.ComponentModel.ISupportInitialize)(this.mainStatusPanel)).BeginInit();
     this.topSandBarDock.SuspendLayout();
     this.SuspendLayout();
     //
     // menuItem1
     //
     this.menuItem1.Index = -1;
     this.menuItem1.Text  = "";
     //
     // statusBar
     //
     this.statusBar.Location = new System.Drawing.Point(0, 531);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Size     = new System.Drawing.Size(888, 22);
     this.statusBar.TabIndex = 3;
     //
     // sandBarManager1
     //
     this.sandBarManager1.OwnerForm = this;
     //
     // leftSandBarDock
     //
     this.leftSandBarDock.Dock     = System.Windows.Forms.DockStyle.Left;
     this.leftSandBarDock.Guid     = new System.Guid("5f0063a2-6d31-4737-bbb0-8a9c9e2c8e14");
     this.leftSandBarDock.Location = new System.Drawing.Point(0, 50);
     this.leftSandBarDock.Manager  = this.sandBarManager1;
     this.leftSandBarDock.Name     = "leftSandBarDock";
     this.leftSandBarDock.Size     = new System.Drawing.Size(0, 503);
     this.leftSandBarDock.TabIndex = 5;
     //
     // rightSandBarDock
     //
     this.rightSandBarDock.Dock     = System.Windows.Forms.DockStyle.Right;
     this.rightSandBarDock.Guid     = new System.Guid("cc416637-af15-40c6-bdb2-b595b79b46f7");
     this.rightSandBarDock.Location = new System.Drawing.Point(888, 50);
     this.rightSandBarDock.Manager  = this.sandBarManager1;
     this.rightSandBarDock.Name     = "rightSandBarDock";
     this.rightSandBarDock.Size     = new System.Drawing.Size(0, 503);
     this.rightSandBarDock.TabIndex = 6;
     //
     // bottomSandBarDock
     //
     this.bottomSandBarDock.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandBarDock.Guid     = new System.Guid("746bc677-7bd1-43fd-9c76-ab8f67c071f6");
     this.bottomSandBarDock.Location = new System.Drawing.Point(0, 553);
     this.bottomSandBarDock.Manager  = this.sandBarManager1;
     this.bottomSandBarDock.Name     = "bottomSandBarDock";
     this.bottomSandBarDock.Size     = new System.Drawing.Size(888, 0);
     this.bottomSandBarDock.TabIndex = 7;
     //
     // topSandBarDock
     //
     this.topSandBarDock.Controls.Add(this.menuBar1);
     this.topSandBarDock.Controls.Add(this.toolbar);
     this.topSandBarDock.Dock     = System.Windows.Forms.DockStyle.Top;
     this.topSandBarDock.Guid     = new System.Guid("9dc621f6-032c-409c-ab45-7f5768d88248");
     this.topSandBarDock.Location = new System.Drawing.Point(0, 0);
     this.topSandBarDock.Manager  = this.sandBarManager1;
     this.topSandBarDock.Name     = "topSandBarDock";
     this.topSandBarDock.Size     = new System.Drawing.Size(888, 50);
     this.topSandBarDock.TabIndex = 8;
     //
     // menuBar1
     //
     this.menuBar1.AllowMerge = true;
     this.menuBar1.Guid       = new System.Guid("4f520204-743b-4927-9dea-ef3e685de2f0");
     this.menuBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuFile,
         this.menuBarItem6,
         this.menuBarItem7,
         this.menuItem3,
         this.menuItem4
     });
     this.menuBar1.Location          = new System.Drawing.Point(2, 0);
     this.menuBar1.Name              = "menuBar1";
     this.menuBar1.OwnerForm         = this;
     this.menuBar1.ShowMdiSystemMenu = false;
     this.menuBar1.Size              = new System.Drawing.Size(886, 24);
     this.menuBar1.TabIndex          = 0;
     this.menuBar1.Text              = "menuBar1";
     this.menuBar1.ButtonClick      += new TD.SandBar.ToolBar.ButtonClickEventHandler(this.menuBar1_ButtonClick);
     //
     // menuFile
     //
     this.menuFile.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuFileNew,
         this.menuFileOpen,
         this.menuFileMru,
         this.menuFileExit
     });
     this.menuFile.Text         = "&File";
     this.menuFile.BeforePopup += new TD.SandBar.MenuItemBase.BeforePopupEventHandler(this.menuFile_BeforePopup);
     //
     // menuFileNew
     //
     this.menuFileNew.Image     = ((System.Drawing.Image)(resources.GetObject("menuFileNew.Image")));
     this.menuFileNew.Shortcut  = System.Windows.Forms.Shortcut.CtrlN;
     this.menuFileNew.Text      = "&New";
     this.menuFileNew.Activate += new System.EventHandler(this.menuFileNew_Click);
     //
     // menuFileOpen
     //
     this.menuFileOpen.Image     = ((System.Drawing.Image)(resources.GetObject("menuFileOpen.Image")));
     this.menuFileOpen.Shortcut  = System.Windows.Forms.Shortcut.CtrlO;
     this.menuFileOpen.Text      = "&Open...";
     this.menuFileOpen.Activate += new System.EventHandler(this.menuFileOpen_Click);
     //
     // menuFileMru
     //
     this.menuFileMru.BeginGroup = true;
     this.menuFileMru.Text       = "Recent &Files";
     //
     // menuFileExit
     //
     this.menuFileExit.Text      = "E&xit";
     this.menuFileExit.Activate += new System.EventHandler(this.FileExit);
     //
     // menuBarItem6
     //
     this.menuBarItem6.Text = "&Edit";
     //
     // menuBarItem7
     //
     this.menuBarItem7.Text = "&View";
     //
     // menuItem3
     //
     this.menuItem3.Text = "&Window";
     //
     // menuItem4
     //
     this.menuItem4.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuHelpUserGuide,
         this.menuHelpAbout
     });
     this.menuItem4.Text = "&Help";
     //
     // menuHelpUserGuide
     //
     this.menuHelpUserGuide.Text      = "Table of &Contents";
     this.menuHelpUserGuide.Activate += new System.EventHandler(this.menuHelpUserGuide_Click);
     //
     // menuHelpAbout
     //
     this.menuHelpAbout.BeginGroup = true;
     this.menuHelpAbout.Text       = "&About...";
     this.menuHelpAbout.Activate  += new System.EventHandler(this.menuHelpAbout_Click);
     //
     // toolbar
     //
     this.toolbar.DockLine = 1;
     this.toolbar.Guid     = new System.Guid("b4123575-47eb-4cc2-830d-dbc0514edfd5");
     this.toolbar.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.buttonFileNew,
         this.buttonFileOpen
     });
     this.toolbar.Location = new System.Drawing.Point(2, 24);
     this.toolbar.Name     = "toolbar";
     this.toolbar.Size     = new System.Drawing.Size(70, 26);
     this.toolbar.TabIndex = 1;
     this.toolbar.Text     = "toolBar1";
     //
     // buttonFileNew
     //
     this.buttonFileNew.BuddyMenu   = this.menuFileNew;
     this.buttonFileNew.Image       = ((System.Drawing.Image)(resources.GetObject("buttonFileNew.Image")));
     this.buttonFileNew.ToolTipText = "New";
     this.buttonFileNew.Activate   += new System.EventHandler(this.buttonFileNew_Activate);
     //
     // buttonFileOpen
     //
     this.buttonFileOpen.BuddyMenu   = this.menuFileOpen;
     this.buttonFileOpen.Image       = ((System.Drawing.Image)(resources.GetObject("buttonFileOpen.Image")));
     this.buttonFileOpen.ToolTipText = "Open...";
     //
     // menuBarItem1
     //
     this.menuBarItem1.Text = "&File";
     //
     // menuBarItem2
     //
     this.menuBarItem2.Text = "&Edit";
     //
     // menuBarItem3
     //
     this.menuBarItem3.Text = "&View";
     //
     // menuBarItem4
     //
     this.menuBarItem4.MdiWindowList = true;
     this.menuBarItem4.Text          = "&Window";
     //
     // menuBarItem5
     //
     this.menuBarItem5.Text = "&Help";
     //
     // XEditNetMainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(888, 553);
     this.Controls.Add(this.statusBar);
     this.Controls.Add(this.leftSandBarDock);
     this.Controls.Add(this.rightSandBarDock);
     this.Controls.Add(this.bottomSandBarDock);
     this.Controls.Add(this.topSandBarDock);
     this.Icon              = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer    = true;
     this.Name              = "XEditNetMainForm";
     this.Text              = "XEditNet Author";
     this.MdiChildActivate += new System.EventHandler(this.XEditNetMainForm_MdiChildActivate);
     ((System.ComponentModel.ISupportInitialize)(this.mainStatusPanel)).EndInit();
     this.topSandBarDock.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #5
0
//		/// <summary>
//		///
//		/// </summary>
//		/// <returns></returns>
//		/// <remarks>Use this method rather than NWN2BlueprintView.GetAllSelectedBlueprints() as
//		/// it returns the selected blueprint in EVERY category (bizarrely).</remarks>
//		protected NWN2BlueprintCollection GetSelectedBlueprints()
//		{
//			NWN2BlueprintCollection blueprints = new NWN2BlueprintCollection();
//
//			if (blueprintView != null && blueprintView.ActivePalette != null) {
//				foreach (object o in blueprintView.ActivePalette.Selection) {
//					INWN2Blueprint blueprint = o as INWN2Blueprint;
//					if (blueprint != null) {
//						blueprints.Add(blueprint);
//					}
//				}
//			}
//
//			return blueprints;
//		}


        /// <summary>
        /// Gather references to toolset fields which are used by other plugin methods.
        /// </summary>
        protected void FindFields()
        {
            foreach (FieldInfo field in typeof(NWN2PropertyGrid).GetFields(BindingFlags.Instance | BindingFlags.NonPublic))
            {
                if (field.FieldType == typeof(PropertyGrid))
                {
                    innerPropertyGridFieldInfo = field;
                }
            }

            foreach (FieldInfo field in typeof(NWN2ToolsetMainForm).GetFields(BindingFlags.Instance | BindingFlags.NonPublic))
            {
                if (field.FieldType == typeof(NWN2PropertyGrid))
                {
                    NWN2PropertyGrid mainPropertyGrid = (NWN2PropertyGrid)field.GetValue(NWN2ToolsetMainForm.App);

                    /*
                     * If Narrative Threads is running the main property grid may already have been disposed,
                     * so check that it (and its inner grid) are not null or disposed whenever using them.
                     */
                    if (mainPropertyGrid != null)
                    {
                        Watch(mainPropertyGrid);
                        mainPropertyInnerGrid = (PropertyGrid)innerPropertyGridFieldInfo.GetValue(mainPropertyGrid);
                    }
                }

                else if (field.FieldType == typeof(DockingManager))
                {
                    dockingManager = (DockingManager)field.GetValue(NWN2ToolsetMainForm.App);
                }

                else if (field.FieldType == typeof(TD.SandBar.ToolBar))
                {
                    ToolBar tb = (ToolBar)field.GetValue(NWN2ToolsetMainForm.App);
                    if (tb.Text == "Object Manipulation")
                    {
                        objectsToolbar = tb;
                    }
                }

                else if (field.FieldType == typeof(NWN2ModuleScriptList))
                {
                    scriptPanels.Add((NWN2ModuleScriptList)field.GetValue(NWN2ToolsetMainForm.App));
                }

                else if (field.FieldType == typeof(NWN2BlueprintView))
                {
                    blueprintView = (NWN2BlueprintView)field.GetValue(NWN2ToolsetMainForm.App);

                    winforms.ContextMenu menu = blueprintView.ActivePalette.ContextMenu;

                    if (menu != null)
                    {
                        try {
                            winforms.MenuItem item = new winforms.MenuItem("Create a Flip block from this blueprint");

                            item.Click += delegate
                            {
                                NWN2BlueprintCollection blueprints = blueprintView.GetFocusedListSelectedBlueprints();

                                if (blueprints.Count == 0)
                                {
                                    MessageBox.Show("No blueprint selected.");
                                }

                                else if (blueprints.Count > 1)
                                {
                                    MessageBox.Show("Select one blueprint at a time (you have " + blueprints.Count + " blueprints selected).");
                                }

                                else
                                {
                                    try {
                                        createBlockFromBlueprintDelegate.Invoke(blueprints);
                                    }
                                    catch (Exception x) {
                                        MessageBox.Show("Something went wrong when trying to create a block from a blueprint.\n\n" + x);
                                    }
                                }
                            };

                            menu.Popup += delegate
                            {
                                NWN2BlueprintCollection blueprints = blueprintView.GetFocusedListSelectedBlueprints();
                                item.Enabled = blueprints != null && blueprints.Count > 0;
                            };

                            menu.MenuItems.Add("-");
                            menu.MenuItems.Add(item);
                        }
                        catch (Exception x) {
                            MessageBox.Show("Something went wrong when adding a new option to the Blueprints menu.\n\n" + x);
                        }
                    }
                }

                else if (field.FieldType == typeof(TD.SandBar.MenuButtonItem))
                {
                    TD.SandBar.MenuButtonItem mbi = (TD.SandBar.MenuButtonItem)field.GetValue(NWN2ToolsetMainForm.App);
                    if (mbi.Text == "&Script" || mbi.Text == "Open Conversation/Script")
                    {
                        scriptMenuItems.Add(mbi);
                    }
                }

                // No longer required to find mainPropertyInnerGrid as a result of Narrative Threads integration:
                if (dockingManager != null &&
                    //mainPropertyInnerGrid != null &&
                    innerPropertyGridFieldInfo != null &&
                    scriptPanels.Count == 2 &&
                    scriptMenuItems.Count == 2)
                {
                    return;
                }
            }

            string missingField = null;

            if (innerPropertyGridFieldInfo == null)
            {
                missingField = "inner property grid field info";
            }
            else if (dockingManager == null)
            {
                missingField = "dockingManager";
            }
            else if (scriptPanels.Count != 2)
            {
                missingField = "script panels";
            }
            else if (scriptMenuItems.Count != 2)
            {
                missingField = "script menu items";
            }

            throw new ApplicationException(String.Format("Failed to find a crucial field ('{0}') via reflection.", missingField));
        }
Пример #6
-1
 /// <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();
     this.menuBarItem1 = new TD.SandBar.MenuBarItem();
     this.menuBarItem2 = new TD.SandBar.MenuBarItem();
     this.menuBarItem3 = new TD.SandBar.MenuBarItem();
     this.menuBarItem4 = new TD.SandBar.MenuBarItem();
     this.menuBarItem5 = new TD.SandBar.MenuBarItem();
     this.sandDockManager = new TD.SandDock.SandDockManager();
     this.leftSandDock = new TD.SandDock.DockContainer();
     this.rightSandDock = new TD.SandDock.DockContainer();
     this.dockElementInsert = new TD.SandDock.DockableWindow();
     this.elementInsertPanel = new XEditNet.Widgets.ElementInsertPanel();
     this.dockElementChange = new TD.SandDock.DockableWindow();
     this.elementChangePanel = new XEditNet.Widgets.ElementChangePanel();
     this.dockAttributes = new TD.SandDock.DockableWindow();
     this.attributeChangePanel = new XEditNet.Widgets.AttributeChangePanel();
     this.bottomSandDock = new TD.SandDock.DockContainer();
     this.topSandDock = new TD.SandDock.DockContainer();
     this.menuBar1 = new TD.SandBar.MenuBar();
     this.menuBarItem6 = new TD.SandBar.MenuBarItem();
     this.menuFileSave = new TD.SandBar.MenuButtonItem();
     this.menuButtonItem1 = new TD.SandBar.MenuButtonItem();
     this.menuBarItem7 = new TD.SandBar.MenuBarItem();
     this.menuButtonItem2 = new TD.SandBar.MenuButtonItem();
     this.menuBarItem8 = new TD.SandBar.MenuBarItem();
     this.menuButtonItem3 = new TD.SandBar.MenuButtonItem();
     this.toolBar1 = new TD.SandBar.ToolBar();
     this.toolBar2 = new TD.SandBar.ToolBar();
     this.buttonItem1 = new TD.SandBar.ButtonItem();
     this.quickFixBar = new TD.SandBar.ContainerBar();
     this.containerBarClientPanel1 = new TD.SandBar.ContainerBarClientPanel();
     this.quickFixPanel = new XEditNet.Widgets.QuickFixPanel();
     this.quickFixImageList = new System.Windows.Forms.ImageList(this.components);
     this.quickFixPreceeding = new TD.SandBar.ButtonItem();
     this.quickFixFollowing = new TD.SandBar.ButtonItem();
     this.commandImageList = new System.Windows.Forms.ImageList(this.components);
     this.rightSandDock.SuspendLayout();
     this.dockElementInsert.SuspendLayout();
     this.dockElementChange.SuspendLayout();
     this.dockAttributes.SuspendLayout();
     this.quickFixBar.SuspendLayout();
     this.containerBarClientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // menuBarItem1
     //
     this.menuBarItem1.Text = "&File";
     //
     // menuBarItem2
     //
     this.menuBarItem2.Text = "&Edit";
     //
     // menuBarItem3
     //
     this.menuBarItem3.Text = "&View";
     //
     // menuBarItem4
     //
     this.menuBarItem4.MdiWindowList = true;
     this.menuBarItem4.Text = "&Window";
     //
     // menuBarItem5
     //
     this.menuBarItem5.Text = "&Help";
     //
     // sandDockManager
     //
     this.sandDockManager.OwnerForm = this;
     this.sandDockManager.Renderer = new TD.SandDock.Rendering.Office2003Renderer();
     //
     // leftSandDock
     //
     this.leftSandDock.Dock = System.Windows.Forms.DockStyle.Left;
     this.leftSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.leftSandDock.Location = new System.Drawing.Point(0, 22);
     this.leftSandDock.Manager = this.sandDockManager;
     this.leftSandDock.Name = "leftSandDock";
     this.leftSandDock.Size = new System.Drawing.Size(0, 480);
     this.leftSandDock.TabIndex = 0;
     //
     // rightSandDock
     //
     this.rightSandDock.Controls.Add(this.dockElementInsert);
     this.rightSandDock.Controls.Add(this.dockElementChange);
     this.rightSandDock.Controls.Add(this.dockAttributes);
     this.rightSandDock.Dock = System.Windows.Forms.DockStyle.Right;
     this.rightSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] {
                                                                                                                                                                       new TD.SandDock.ControlLayoutSystem(212, 238, new TD.SandDock.DockableWindow[] {
                                                                                                                                                                                                                                                       this.dockElementInsert,
                                                                                                                                                                                                                                                       this.dockElementChange}, this.dockElementInsert),
                                                                                                                                                                       new TD.SandDock.ControlLayoutSystem(212, 238, new TD.SandDock.DockableWindow[] {
                                                                                                                                                                                                                                                       this.dockAttributes}, this.dockAttributes)});
     this.rightSandDock.Location = new System.Drawing.Point(600, 22);
     this.rightSandDock.Manager = this.sandDockManager;
     this.rightSandDock.Name = "rightSandDock";
     this.rightSandDock.Size = new System.Drawing.Size(216, 480);
     this.rightSandDock.TabIndex = 1;
     //
     // dockElementInsert
     //
     this.dockElementInsert.Controls.Add(this.elementInsertPanel);
     this.dockElementInsert.Guid = new System.Guid("63fe64f8-5444-45cb-b17d-17f8baf0c91d");
     this.dockElementInsert.Location = new System.Drawing.Point(4, 25);
     this.dockElementInsert.Name = "dockElementInsert";
     this.dockElementInsert.Size = new System.Drawing.Size(212, 190);
     this.dockElementInsert.TabIndex = 1;
     this.dockElementInsert.Text = "Insert";
     //
     // elementInsertPanel
     //
     this.elementInsertPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.elementInsertPanel.Location = new System.Drawing.Point(0, 0);
     this.elementInsertPanel.Name = "elementInsertPanel";
     this.elementInsertPanel.Size = new System.Drawing.Size(212, 190);
     this.elementInsertPanel.TabIndex = 0;
     //
     // dockElementChange
     //
     this.dockElementChange.Controls.Add(this.elementChangePanel);
     this.dockElementChange.Guid = new System.Guid("cb2f6fbf-41de-4588-a08b-f4f00d505fa7");
     this.dockElementChange.Location = new System.Drawing.Point(4, 25);
     this.dockElementChange.Name = "dockElementChange";
     this.dockElementChange.Size = new System.Drawing.Size(212, 190);
     this.dockElementChange.TabIndex = 1;
     this.dockElementChange.Text = "Change";
     //
     // elementChangePanel
     //
     this.elementChangePanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.elementChangePanel.Location = new System.Drawing.Point(0, 0);
     this.elementChangePanel.Name = "elementChangePanel";
     this.elementChangePanel.Size = new System.Drawing.Size(212, 190);
     this.elementChangePanel.TabIndex = 0;
     //
     // dockAttributes
     //
     this.dockAttributes.Controls.Add(this.attributeChangePanel);
     this.dockAttributes.Guid = new System.Guid("7a4f064f-d569-4ab2-8133-ca0b6b8c4151");
     this.dockAttributes.Location = new System.Drawing.Point(4, 267);
     this.dockAttributes.Name = "dockAttributes";
     this.dockAttributes.Size = new System.Drawing.Size(212, 190);
     this.dockAttributes.TabIndex = 2;
     this.dockAttributes.Text = "Attributes";
     //
     // attributeChangePanel
     //
     this.attributeChangePanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.attributeChangePanel.Location = new System.Drawing.Point(0, 0);
     this.attributeChangePanel.Name = "attributeChangePanel";
     this.attributeChangePanel.Size = new System.Drawing.Size(212, 190);
     this.attributeChangePanel.TabIndex = 0;
     //
     // bottomSandDock
     //
     this.bottomSandDock.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.bottomSandDock.Location = new System.Drawing.Point(0, 502);
     this.bottomSandDock.Manager = this.sandDockManager;
     this.bottomSandDock.Name = "bottomSandDock";
     this.bottomSandDock.Size = new System.Drawing.Size(816, 0);
     this.bottomSandDock.TabIndex = 2;
     //
     // topSandDock
     //
     this.topSandDock.Dock = System.Windows.Forms.DockStyle.Top;
     this.topSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.topSandDock.Location = new System.Drawing.Point(0, 22);
     this.topSandDock.Manager = this.sandDockManager;
     this.topSandDock.Name = "topSandDock";
     this.topSandDock.Size = new System.Drawing.Size(816, 0);
     this.topSandDock.TabIndex = 3;
     //
     // menuBar1
     //
     this.menuBar1.AllowMerge = true;
     this.menuBar1.Guid = new System.Guid("dc0a091b-fb9a-4a33-8bf0-a9a24af4064c");
     this.menuBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                       this.menuBarItem6,
                                                                       this.menuBarItem7,
                                                                       this.menuBarItem8});
     this.menuBar1.Location = new System.Drawing.Point(232, 22);
     this.menuBar1.Name = "menuBar1";
     this.menuBar1.OwnerForm = this;
     this.menuBar1.Size = new System.Drawing.Size(368, 22);
     this.menuBar1.TabIndex = 0;
     this.menuBar1.Text = "menuBar1";
     this.menuBar1.Visible = false;
     //
     // menuBarItem6
     //
     this.menuBarItem6.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                           this.menuFileSave,
                                                                           this.menuButtonItem1});
     this.menuBarItem6.Text = "&File";
     //
     // menuFileSave
     //
     this.menuFileSave.BeginGroup = true;
     this.menuFileSave.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.menuFileSave.MergeIndex = 2;
     this.menuFileSave.Text = "Save";
     this.menuFileSave.Activate += new System.EventHandler(this.SaveFile);
     //
     // menuButtonItem1
     //
     this.menuButtonItem1.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.menuButtonItem1.MergeIndex = 3;
     this.menuButtonItem1.Text = "&Close";
     this.menuButtonItem1.Activate += new System.EventHandler(this.CloseFile);
     //
     // menuBarItem7
     //
     this.menuBarItem7.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                           this.menuButtonItem2});
     this.menuBarItem7.Text = "&Edit";
     //
     // menuButtonItem2
     //
     this.menuButtonItem2.MergeAction = TD.SandBar.ItemMergeAction.Add;
     this.menuButtonItem2.MergeIndex = 0;
     this.menuButtonItem2.Text = "&Test";
     //
     // menuBarItem8
     //
     this.menuBarItem8.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                           this.menuButtonItem3});
     this.menuBarItem8.Text = "&View";
     //
     // menuButtonItem3
     //
     this.menuButtonItem3.MergeAction = TD.SandBar.ItemMergeAction.Add;
     this.menuButtonItem3.MergeIndex = 0;
     this.menuButtonItem3.Text = "&ViewTest";
     //
     // toolBar1
     //
     this.toolBar1.DockLine = 1;
     this.toolBar1.Guid = new System.Guid("88196026-7bd7-4954-85b7-34999dcd37cd");
     this.toolBar1.Location = new System.Drawing.Point(2, 24);
     this.toolBar1.Name = "toolBar1";
     this.toolBar1.Size = new System.Drawing.Size(24, 18);
     this.toolBar1.TabIndex = 1;
     this.toolBar1.Text = "toolBar1";
     //
     // toolBar2
     //
     this.toolBar2.Guid = new System.Guid("458f1dcc-720e-4fb6-b794-41d5a9f186e2");
     this.toolBar2.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                       this.buttonItem1});
     this.toolBar2.Location = new System.Drawing.Point(0, 0);
     this.toolBar2.Name = "toolBar2";
     this.toolBar2.Size = new System.Drawing.Size(816, 22);
     this.toolBar2.TabIndex = 4;
     this.toolBar2.Text = "";
     this.toolBar2.Visible = false;
     //
     // buttonItem1
     //
     this.buttonItem1.MergeAction = TD.SandBar.ItemMergeAction.Insert;
     this.buttonItem1.MergeIndex = 2;
     this.buttonItem1.Text = "xxxx";
     //
     // quickFixBar
     //
     this.quickFixBar.AddRemoveButtonsVisible = false;
     this.quickFixBar.AllowHorizontalDock = false;
     this.quickFixBar.Controls.Add(this.containerBarClientPanel1);
     this.quickFixBar.Dock = System.Windows.Forms.DockStyle.Left;
     this.quickFixBar.Flow = TD.SandBar.ToolBarLayout.Horizontal;
     this.quickFixBar.Guid = new System.Guid("0e1e9ede-d2fe-4307-a683-d2e3ea4f4e5f");
     this.quickFixBar.ImageList = this.quickFixImageList;
     this.quickFixBar.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                          this.quickFixPreceeding,
                                                                          this.quickFixFollowing});
     this.quickFixBar.Location = new System.Drawing.Point(0, 22);
     this.quickFixBar.Name = "quickFixBar";
     this.quickFixBar.Size = new System.Drawing.Size(232, 480);
     this.quickFixBar.TabIndex = 5;
     this.quickFixBar.Text = "Quick Fix";
     //
     // containerBarClientPanel1
     //
     this.containerBarClientPanel1.Controls.Add(this.quickFixPanel);
     this.containerBarClientPanel1.Location = new System.Drawing.Point(2, 45);
     this.containerBarClientPanel1.Name = "containerBarClientPanel1";
     this.containerBarClientPanel1.Size = new System.Drawing.Size(228, 433);
     this.containerBarClientPanel1.TabIndex = 0;
     //
     // quickFixPanel
     //
     this.quickFixPanel.BackColor = System.Drawing.Color.Transparent;
     this.quickFixPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.quickFixPanel.Location = new System.Drawing.Point(0, 0);
     this.quickFixPanel.Name = "quickFixPanel";
     this.quickFixPanel.Size = new System.Drawing.Size(228, 433);
     this.quickFixPanel.TabIndex = 0;
     this.quickFixPanel.FinishUpdate += new System.EventHandler(this.QuickFixUpdated);
     //
     // quickFixImageList
     //
     this.quickFixImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.quickFixImageList.ImageSize = new System.Drawing.Size(16, 16);
     this.quickFixImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // quickFixPreceeding
     //
     this.quickFixPreceeding.ImageIndex = 0;
     this.quickFixPreceeding.Activate += new System.EventHandler(this.GotoPrecedingError);
     //
     // quickFixFollowing
     //
     this.quickFixFollowing.ImageIndex = 1;
     this.quickFixFollowing.Activate += new System.EventHandler(this.GotoFollowingError);
     //
     // commandImageList
     //
     this.commandImageList.ImageSize = new System.Drawing.Size(16, 16);
     this.commandImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // XEditNetChildForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(816, 502);
     this.Controls.Add(this.menuBar1);
     this.Controls.Add(this.quickFixBar);
     this.Controls.Add(this.leftSandDock);
     this.Controls.Add(this.rightSandDock);
     this.Controls.Add(this.bottomSandDock);
     this.Controls.Add(this.topSandDock);
     this.Controls.Add(this.toolBar2);
     this.Name = "XEditNetChildForm";
     this.Text = "XEditNetChildForm";
     this.rightSandDock.ResumeLayout(false);
     this.dockElementInsert.ResumeLayout(false);
     this.dockElementChange.ResumeLayout(false);
     this.dockAttributes.ResumeLayout(false);
     this.quickFixBar.ResumeLayout(false);
     this.containerBarClientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }