public static TD.SandBar.ToolBar GenerateToolBar(string name)
        {
            TD.SandBar.ToolBar toolBar = new TD.SandBar.ToolBar();
            toolBar.Name = name;
            toolBar.Overflow = ToolBarOverflow.Hide;
            toolBar.AllowHorizontalDock = true;
            toolBar.AllowRightToLeft = true;
            toolBar.AllowVerticalDock = true;
            toolBar.Closable = false;
            toolBar.Movable = true;
            toolBar.Tearable = true;
            toolBar.DockOffset = 2;
            toolBar.DockLine = 2;

            return toolBar;
        }
Пример #2
0
        private void CreateToolBar(string name, ToolBarInitialPos initialPos)
        {
            TD.SandBar.ToolBar temp = new TD.SandBar.ToolBar();
            temp.Name                = name;
            temp.Overflow            = ToolBarOverflow.Hide;
            temp.AllowHorizontalDock = true;
            temp.AllowRightToLeft    = true;
            temp.AllowVerticalDock   = true;
            temp.Closable            = false;
            temp.Movable             = true;
            temp.Tearable            = true;
            temp.DockLine            = 2;

            ToolBarDef tbd = new ToolBarDef();

            tbd.NWNToolsetDockName = GetDockNameFromPosEnum(initialPos);
            tbd.toolBar            = temp;

            AllToolbars.Add(name, tbd);
        }
Пример #3
0
        private void Test(TD.SandBar.ToolBar toolClient)
        {
            //
            // toolBarMain
            // 位置要改变,待定
            this.topSandBarDock.Controls.Add(toolClient);
            toolClient.DockLine = 1;
            toolClient.Guid     = new System.Guid("46d02df3-0068-4bb3-a433-298ceabd4491");
            toolClient.Location = new System.Drawing.Point(2, 23);
            toolClient.Name     = "toolClient";
            toolClient.Size     = new System.Drawing.Size(2, 47);
            toolClient.TabIndex = 10;
            toolClient.Text     = "toolBar2";

            toolClient.SuspendLayout();

            toolClient.ImageList = _toolImages;

            CreateMainToolbar(toolClient);

            toolClient.ButtonClick += new TD.SandBar.ToolBar.ButtonClickEventHandler(OnAnyToolClientButtonClick);

            toolClient.ResumeLayout(false);
        }
Пример #4
0
        private void CreateMainToolbar(TD.SandBar.ToolBar tb)
        {
            AppToolCommand tool1 = new AppToolCommand("cmdExit",
                                                      owner.Mediator, new ExecuteCommandHandler(owner.CmdExitApp),
                                                      "RES_MenuExitCaption", "RES_MenuExitDesc", 0);
            Bitmap il1 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("Exit.bmp"));

            tool1.Image       = il1;
            tool1.ToolTipText = "退出";



            AppToolCommand tool2 = new AppToolCommand("cmdMakeCustomCard",
                                                      owner.Mediator, new ExecuteCommandHandler(this.CmdLoadChild),
                                                      "RES_MenuMakeCustomCardCaption1", "RES_MenuMakeCustomCardDesc1", 0);

            Bitmap il2 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("FlyWheel1.bmp"));

            tool2.Image       = il2;
            tool2.ToolTipText = "飞轮1";



            tool2.BeginGroup = true;

            AppToolCommand tool3 = new AppToolCommand("cmdFillMoneyCard",
                                                      owner.Mediator, new ExecuteCommandHandler(this.CmdLoadChild),
                                                      "RES_MenuFillMoneyCardCaption1", "RES_MenuFillMoneyCardDesc1", 1);

            Bitmap il3 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("FlyWheel2.bmp"));

            tool3.Image       = il3;
            tool3.ToolTipText = "飞轮2";

            AppToolCommand tool4 = new AppToolCommand("cmdReplaceCustomCard",
                                                      owner.Mediator, new ExecuteCommandHandler(this.CmdLoadChild),
                                                      "RES_MenuReplaceCustomCardCaption1", "RES_MenuReplaceCustomCardDesc1", 5);

            Bitmap il4 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("FlyWheel3.bmp"));

            tool4.Image       = il4;
            tool4.ToolTipText = "飞轮3";


            AppToolCommand tool5 = new AppToolCommand("cmdMakeParameterCard",
                                                      owner.Mediator, new ExecuteCommandHandler(this.CmdLoadChild),
                                                      "RES_MenuMakeParameterCardCaption1", "RES_MenuMakeParameterCardDesc1", 6);

            Bitmap il5 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("FlyWheel4.bmp"));

            tool5.Image       = il5;
            tool5.ToolTipText = "飞轮4";

            AppToolCommand tool6 = new AppToolCommand("cmdMakeTimeCard",
                                                      owner.Mediator, new ExecuteCommandHandler(this.CmdLoadChild),
                                                      "RES_MenuMakeTimeCardCaption1", "RES_MenuMakeTimeCardDesc1", 7);

            Bitmap il6 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("FlyWheel5.bmp"));

            tool6.Image       = il6;
            tool6.ToolTipText = "飞轮5";

            tool6.BeginGroup = true;

            AppToolCommand tool7 = new AppToolCommand("cmdMakeGasCard",
                                                      owner.Mediator, new ExecuteCommandHandler(this.CmdLoadChild),
                                                      "RES_MenuMakeGasCardCaption1", "RES_MenuMakeGasCardDesc1", 13);

            Bitmap il7 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("FlyWheel6.bmp"));

            tool7.Image       = il7;
            tool7.ToolTipText = "飞轮6";

            AppToolCommand tool8 = new AppToolCommand("cmdFlyWheel7",
                                                      owner.Mediator, new ExecuteCommandHandler(this.CmdLoadChild),
                                                      "RES_MenuMakeTimeCardCaption", "RES_MenuMakeTimeCardDesc", 13);

            Bitmap il8 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("FlyWheel7.bmp"));

            tool8.Image       = il8;
            tool8.ToolTipText = "飞轮7";


            AppToolCommand tool9 = new AppToolCommand("cmdFlyWheel8",
                                                      owner.Mediator, new ExecuteCommandHandler(this.CmdLoadChild),
                                                      "RES_MenuMakeGasCardCaption", "RES_MenuMakeGasCardDesc", 13);

            Bitmap il9 = new Bitmap(Framework.Core.Resource.Manager.LoadBitmap("FlyWheel8.bmp"));

            tool9.Image       = il9;
            tool9.ToolTipText = "飞轮8";


            tb.Buttons.AddRange(new ToolbarItemBase[] { tool1, tool2, tool3, tool4, tool5, tool6, tool7, tool8, tool9 });
        }
Пример #5
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components        = new System.ComponentModel.Container();
     this.sandBarManager    = new TD.SandBar.SandBarManager();
     this.bottomSandBarDock = new TD.SandBar.ToolBarContainer();
     this.leftSandBarDock   = new TD.SandBar.ToolBarContainer();
     this.rightSandBarDock  = new TD.SandBar.ToolBarContainer();
     this.topSandBarDock    = new TD.SandBar.ToolBarContainer();
     this.toolBarMain       = new TD.SandBar.ToolBar();
     this._status           = new System.Windows.Forms.StatusBar();
     this._statusInfo       = new System.Windows.Forms.StatusBarPanel();
     this._statusTime       = new System.Windows.Forms.StatusBarPanel();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     this.helpProvider1     = new System.Windows.Forms.HelpProvider();
     this.contextMenu1      = new System.Windows.Forms.ContextMenu();
     this.panelGround       = new System.Windows.Forms.Panel();
     this.panel1            = new System.Windows.Forms.Panel();
     this.label1            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.topSandBarDock.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._statusInfo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._statusTime)).BeginInit();
     this.panelGround.SuspendLayout();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // sandBarManager
     //
     this.sandBarManager.BottomContainer = this.bottomSandBarDock;
     this.sandBarManager.LeftContainer   = this.leftSandBarDock;
     this.sandBarManager.OwnerForm       = this;
     this.sandBarManager.RightContainer  = this.rightSandBarDock;
     this.sandBarManager.TopContainer    = this.topSandBarDock;
     //
     // bottomSandBarDock
     //
     this.bottomSandBarDock.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandBarDock.Location = new System.Drawing.Point(0, 750);
     this.bottomSandBarDock.Manager  = this.sandBarManager;
     this.bottomSandBarDock.Name     = "bottomSandBarDock";
     this.bottomSandBarDock.Size     = new System.Drawing.Size(1260, 0);
     this.bottomSandBarDock.TabIndex = 2;
     //
     // leftSandBarDock
     //
     this.leftSandBarDock.Dock     = System.Windows.Forms.DockStyle.Left;
     this.leftSandBarDock.Location = new System.Drawing.Point(0, 23);
     this.leftSandBarDock.Manager  = this.sandBarManager;
     this.leftSandBarDock.Name     = "leftSandBarDock";
     this.leftSandBarDock.Size     = new System.Drawing.Size(0, 727);
     this.leftSandBarDock.TabIndex = 0;
     //
     // rightSandBarDock
     //
     this.rightSandBarDock.Dock     = System.Windows.Forms.DockStyle.Right;
     this.rightSandBarDock.Location = new System.Drawing.Point(1260, 23);
     this.rightSandBarDock.Manager  = this.sandBarManager;
     this.rightSandBarDock.Name     = "rightSandBarDock";
     this.rightSandBarDock.Size     = new System.Drawing.Size(0, 727);
     this.rightSandBarDock.TabIndex = 1;
     //
     // topSandBarDock
     //
     this.topSandBarDock.Controls.Add(this.toolBarMain);
     this.topSandBarDock.Dock     = System.Windows.Forms.DockStyle.Top;
     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(1260, 23);
     this.topSandBarDock.TabIndex = 3;
     //
     // toolBarMain
     //
     this.toolBarMain.DockLine    = 1;
     this.toolBarMain.Guid        = new System.Guid("46d02df3-0068-4bb3-a433-298ceabd4490");
     this.toolBarMain.Location    = new System.Drawing.Point(2, 0);
     this.toolBarMain.Name        = "toolBarMain";
     this.toolBarMain.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.toolBarMain.Size        = new System.Drawing.Size(25, 23);
     this.toolBarMain.TabIndex    = 1;
     this.toolBarMain.Text        = "toolBar1";
     //
     // _status
     //
     this._status.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this._status.Location = new System.Drawing.Point(0, 727);
     this._status.Name     = "_status";
     this._status.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this._statusInfo,
         this._statusTime
     });
     this._status.ShowPanels = true;
     this._status.Size       = new System.Drawing.Size(1260, 23);
     this._status.TabIndex   = 4;
     //
     // _statusInfo
     //
     this._statusInfo.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this._statusInfo.Name     = "_statusInfo";
     this._statusInfo.Text     = "_statusInfo";
     this._statusInfo.Width    = 621;
     //
     // _statusTime
     //
     this._statusTime.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this._statusTime.Name     = "_statusTime";
     this._statusTime.Text     = "_statusTime";
     this._statusTime.Width    = 621;
     //
     // panelGround
     //
     this.panelGround.AutoScroll = true;
     this.panelGround.Controls.Add(this.panel1);
     this.panelGround.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panelGround.Location = new System.Drawing.Point(0, 23);
     this.panelGround.Name     = "panelGround";
     this.panelGround.Size     = new System.Drawing.Size(1260, 704);
     this.panelGround.TabIndex = 5;
     //
     // panel1
     //
     this.panel1.AutoScroll = true;
     this.panel1.BackColor  = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1260, 704);
     this.panel1.TabIndex = 0;
     //
     // label1
     //
     this.label1.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.label1.Image     = global::Card.Properties.Resources.FlyWheelTest1;
     this.label1.Location  = new System.Drawing.Point(16, 148);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(1232, 540);
     this.label1.TabIndex  = 2;
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.Location  = new System.Drawing.Point(180, 78);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(895, 35);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "飞轮测试平台";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // WinGuiMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(1260, 750);
     this.Controls.Add(this.panelGround);
     this.Controls.Add(this._status);
     this.Controls.Add(this.leftSandBarDock);
     this.Controls.Add(this.rightSandBarDock);
     this.Controls.Add(this.bottomSandBarDock);
     this.Controls.Add(this.topSandBarDock);
     this.Name          = "WinGuiMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "WinGuiMain";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.topSandBarDock.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._statusInfo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._statusTime)).EndInit();
     this.panelGround.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #6
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);
 }
Пример #7
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);
 }
        /// <summary>
        /// 
        /// </summary>
        public void Startup(INWN2PluginHost cHost)
        {
            m_cMenuItem = cHost.GetMenuForPlugin(this);
            m_cMenuItem.Items.Add("Validate Module", ValidateModule);

            // Get common views, forms, and controls.
            NWN2BlueprintView blueprintView = (NWN2BlueprintView)ToolsetHelper.GetControlOfFieldType(typeof(NWN2BlueprintView));

            // Create our toolbar.
            toolBar = ToolsetHelper.GenerateToolBar("acrToolBar");
            ToolsetHelper.GetControl(typeof(ToolBarContainer), "topSandBarDock").Controls.Add(toolBar);

            // Populate it with some buttons.
            toolBar.Items.Add(ToolsetHelper.GenerateButtonItem("Creature", OpenCreatureEditor));
            toolBar.Items.Add(ToolsetHelper.GenerateButtonItem("Trigger", OpenTriggerEditor));
            toolBar.Items.Add(ToolsetHelper.GenerateButtonItem("Waypoint", OpenWaypointEditor));

            // Handle blueprint view selection changes.
            blueprintView.SelectionChanged += delegate(object sender, BlueprintSelectionChangedEventArgs e)
            {
                if (e.Selection.Length > 0 && e.Selection != e.OldSelection)
                {
                    INWN2Blueprint blueprint = (INWN2Blueprint)e.Selection[0];
                    switch ( blueprint.ObjectType )
                    {
                        case NWN2ObjectType.Creature:
                            creatureEditor.setFocus((NWN2CreatureBlueprint)blueprint);
                            break;
                        case NWN2ObjectType.Waypoint:
                            waypointEditor.setFocus((NWN2WaypointBlueprint)blueprint);
                            break;
                        case NWN2ObjectType.Trigger:
                            triggerEditor.setFocus((NWN2TriggerBlueprint)blueprint);
                            break;
                    }
                }
            };

        }
Пример #9
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);

		}
Пример #10
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.sandDockManager = new SandDockManager();
     this.sandBarManager = new SandBarManager(this.components);
     this.leftSandBarDock = new ToolBarContainer();
     this.rightSandBarDock = new ToolBarContainer();
     this.bottomSandBarDock = new ToolBarContainer();
     this.topSandBarDock = new ToolBarContainer();
     this.menuBar = new MenuBar();
     this.menuBarItem1 = new MenuBarItem();
     this.menuItem_newMap = new MenuButtonItem();
     this.menuItem_newWilderness = new MenuButtonItem();
     this.menuItem_loadMap = new MenuButtonItem();
     this.menuItem_saveMap = new MenuButtonItem();
     this.menuItem_saveMapAs = new MenuButtonItem();
     this.menuItem_exit = new MenuButtonItem();
     this.menuBarItem3 = new MenuBarItem();
     this.menuItem_Undo = new MenuButtonItem();
     this.menuItem_Redo = new MenuButtonItem();
     this.menuBarItem2 = new MenuBarItem();
     this.menuItem_viewToolParameters = new MenuButtonItem();
     this.menuItem_viewEditorSettings = new MenuButtonItem();
     this.menuItem_viewContextHelp = new MenuButtonItem();
     this.menuBarItem4 = new MenuBarItem();
     this.menuItem_TestIngame = new MenuButtonItem();
     this.menuBarItem5 = new MenuBarItem();
     this.menuItem_OpenCodeEditor = new MenuButtonItem();
     this.menuItem_DumpMap = new MenuButtonItem();
     this.menuItem_ExtractBigFile = new MenuButtonItem();
     this.menuItem_ExportToPC = new MenuButtonItem();
     this.menuItem_ExportToConsole = new MenuButtonItem();
     this.menuItem_ResetLayout = new MenuButtonItem();
     this.menuItem_PrepareThumbnails = new MenuButtonItem();
     this.menuItem_ReloadEditor = new MenuButtonItem();
     this.menuItem_ImportWorld = new MenuButtonItem();
     this.menuItem_ObjectAdmin = new MenuButtonItem();
     this.menuBarItem6 = new MenuBarItem();
     this.menuItem_visitWebsite = new MenuButtonItem();
     this.menuItem_about = new MenuButtonItem();
     this.toolBarMain = new TD.SandBar.ToolBar();
     this.buttonItem1 = new ButtonItem();
     this.buttonItem2 = new ButtonItem();
     this.buttonItem3 = new ButtonItem();
     this.buttonItem4 = new ButtonItem();
     this.buttonItem5 = new ButtonItem();
     this.toolTip = new ToolTip(this.components);
     this.openMapDialog = new OpenFileDialog();
     this.saveMapDialog = new SaveFileDialog();
     this.timerUIUpdate = new Timer(this.components);
     this.statusBar = new StatusStrip();
     this.statusBarContextMenu = new ContextMenuStrip(this.components);
     this.whatsThisToolStripMenuItem = new ToolStripMenuItem();
     this.statusCaption = new ToolStripStatusLabel();
     this.statusBarCameraSpeed = new ToolStripDropDownButton();
     this.cameraSpeedStrip = new ContextMenuStrip(this.components);
     this.statusBarCameraPos = new ToolStripStatusLabel();
     this.statusBarCursorPos = new ToolStripStatusLabel();
     this.statusBarMemoryUsage = new ToolStripStatusLabel();
     this.statusBarObjectUsage = new ToolStripStatusLabel();
     this.statusBarFpsItem = new ToolStripStatusLabel();
     this.folderBrowserDialog = new FolderBrowserDialog();
     this.viewport = new ViewportControl();
     this.topSandBarDock.SuspendLayout();
     this.statusBar.SuspendLayout();
     this.statusBarContextMenu.SuspendLayout();
     base.SuspendLayout();
     this.sandDockManager.DockSystemContainer = this;
     this.sandDockManager.MaximumDockContainerSize = 2000;
     this.sandDockManager.OwnerForm = this;
     this.sandBarManager.OwnerForm = this;
     this.sandBarManager.Renderer = new WhidbeyRenderer();
     this.leftSandBarDock.Dock = DockStyle.Left;
     this.leftSandBarDock.Guid = new Guid("5af42533-b4bf-4ff9-b113-19c06ff822ad");
     this.leftSandBarDock.Location = new Point(0, 49);
     this.leftSandBarDock.Manager = this.sandBarManager;
     this.leftSandBarDock.Name = "leftSandBarDock";
     this.leftSandBarDock.Size = new Size(0, 592);
     this.leftSandBarDock.TabIndex = 0;
     this.rightSandBarDock.Dock = DockStyle.Right;
     this.rightSandBarDock.Guid = new Guid("dd1d865e-52de-4df1-b60b-8d95778c6a99");
     this.rightSandBarDock.Location = new Point(973, 49);
     this.rightSandBarDock.Manager = this.sandBarManager;
     this.rightSandBarDock.Name = "rightSandBarDock";
     this.rightSandBarDock.Size = new Size(0, 592);
     this.rightSandBarDock.TabIndex = 1;
     this.bottomSandBarDock.Dock = DockStyle.Bottom;
     this.bottomSandBarDock.Guid = new Guid("241b4d86-e08e-4fbd-9187-85417e2a6762");
     this.bottomSandBarDock.Location = new Point(0, 641);
     this.bottomSandBarDock.Manager = this.sandBarManager;
     this.bottomSandBarDock.Name = "bottomSandBarDock";
     this.bottomSandBarDock.Size = new Size(973, 0);
     this.bottomSandBarDock.TabIndex = 2;
     this.topSandBarDock.Controls.Add(this.menuBar);
     this.topSandBarDock.Controls.Add(this.toolBarMain);
     this.topSandBarDock.Dock = DockStyle.Top;
     this.topSandBarDock.Guid = new Guid("9d4d899c-2f1c-48a5-b6b3-c2965fee85b0");
     this.topSandBarDock.Location = new Point(0, 0);
     this.topSandBarDock.Manager = this.sandBarManager;
     this.topSandBarDock.Name = "topSandBarDock";
     this.topSandBarDock.Size = new Size(973, 49);
     this.topSandBarDock.TabIndex = 3;
     this.menuBar.Guid = new Guid("67d4f929-8914-4b23-9c2d-b9539a54dd9b");
     this.menuBar.Items.AddRange(new ToolbarItemBase[]
     {
         this.menuBarItem1,
         this.menuBarItem3,
         this.menuBarItem2,
         this.menuBarItem4,
         this.menuBarItem5,
         this.menuBarItem6
     });
     this.menuBar.Location = new Point(2, 0);
     this.menuBar.Movable = false;
     this.menuBar.Name = "menuBar";
     this.menuBar.OwnerForm = this;
     this.menuBar.Size = new Size(971, 23);
     this.menuBar.TabIndex = 0;
     this.menuBar.Text = "menuBar1";
     this.menuBarItem1.Items.AddRange(new ToolbarItemBase[]
     {
         this.menuItem_newMap,
         this.menuItem_newWilderness,
         this.menuItem_loadMap,
         this.menuItem_saveMap,
         this.menuItem_saveMapAs,
         this.menuItem_exit
     });
     this.menuBarItem1.Text = "MENU_FILE";
     this.menuItem_newMap.Shortcut = Shortcut.CtrlN;
     this.menuItem_newMap.Text = "MENUITEM_FILE_NEW_MAP";
     this.menuItem_newMap.Activate += new EventHandler(this.menuItem_newMap_Activate);
     this.menuItem_newWilderness.Text = "MENUITEM_FILE_NEW_WILDERNESS";
     this.menuItem_newWilderness.Activate += new EventHandler(this.menuItem_newWilderness_Activate);
     this.menuItem_loadMap.Shortcut = Shortcut.CtrlO;
     this.menuItem_loadMap.Text = "MENUITEM_FILE_LOAD_MAP";
     this.menuItem_loadMap.Activate += new EventHandler(this.menuItem_loadMap_Activate);
     this.menuItem_saveMap.BeginGroup = true;
     this.menuItem_saveMap.Shortcut = Shortcut.CtrlS;
     this.menuItem_saveMap.Text = "MENUITEM_FILE_SAVE_MAP";
     this.menuItem_saveMap.Activate += new EventHandler(this.menuItem_saveMap_Activate);
     this.menuItem_saveMapAs.Text = "MENUITEM_FILE_SAVE_MAP_AS";
     this.menuItem_saveMapAs.Activate += new EventHandler(this.menuItem_saveMapAs_Activate);
     this.menuItem_exit.BeginGroup = true;
     this.menuItem_exit.Text = "MENUITEM_FILE_EXIT";
     this.menuItem_exit.Activate += new EventHandler(this.menuItem_exit_Activate);
     this.menuBarItem3.Items.AddRange(new ToolbarItemBase[]
     {
         this.menuItem_Undo,
         this.menuItem_Redo
     });
     this.menuBarItem3.Text = "MENU_EDIT";
     this.menuItem_Undo.Shortcut = Shortcut.CtrlZ;
     this.menuItem_Undo.Text = "MENUITEM_EDIT_UNDO";
     this.menuItem_Undo.Activate += new EventHandler(this.menuItem_Undo_Activate);
     this.menuItem_Redo.Shortcut = Shortcut.CtrlShiftZ;
     this.menuItem_Redo.Text = "MENUITEM_EDIT_REDO";
     this.menuItem_Redo.Activate += new EventHandler(this.menuItem_Redo_Activate);
     this.menuBarItem2.Items.AddRange(new ToolbarItemBase[]
     {
         this.menuItem_viewToolParameters,
         this.menuItem_viewEditorSettings,
         this.menuItem_viewContextHelp
     });
     this.menuBarItem2.Text = "MENU_VIEW";
     this.menuItem_viewToolParameters.Text = "DOCK_TOOL_PARAMETERS";
     this.menuItem_viewToolParameters.Activate += new EventHandler(this.menuItem_viewToolParameters_Activate);
     this.menuItem_viewEditorSettings.Text = "DOCK_EDITOR_SETTINGS";
     this.menuItem_viewEditorSettings.Activate += new EventHandler(this.menuItem_viewEditorSettings_Activate);
     this.menuItem_viewContextHelp.Text = "DOCK_CONTEXT_HELP";
     this.menuItem_viewContextHelp.Activate += new EventHandler(this.menuItem_viewContextHelp_Activate);
     this.menuBarItem4.Items.AddRange(new ToolbarItemBase[]
     {
         this.menuItem_TestIngame
     });
     this.menuBarItem4.Text = "MENU_GAME";
     this.menuItem_TestIngame.Shortcut = Shortcut.CtrlG;
     this.menuItem_TestIngame.Text = "MENUITEM_GAME_TEST_INGAME";
     this.menuItem_TestIngame.Activate += new EventHandler(this.menuItem_TestIngame_Activate);
     this.menuBarItem5.Items.AddRange(new ToolbarItemBase[]
     {
         this.menuItem_OpenCodeEditor,
         this.menuItem_DumpMap,
         this.menuItem_ExtractBigFile,
         this.menuItem_ExportToPC,
         this.menuItem_ExportToConsole,
         this.menuItem_ResetLayout,
         this.menuItem_PrepareThumbnails,
         this.menuItem_ReloadEditor,
         this.menuItem_ImportWorld,
         this.menuItem_ObjectAdmin
     });
     this.menuBarItem5.Text = "MENU_ADVANCED";
     this.menuItem_OpenCodeEditor.Text = "*Code Editor";
     this.menuItem_OpenCodeEditor.Activate += new EventHandler(this.menuItem_OpenCodeEditor_Activate);
     this.menuItem_DumpMap.BeginGroup = true;
     this.menuItem_DumpMap.Text = "*Dump map";
     this.menuItem_DumpMap.Activate += new EventHandler(this.menuItem_DumpMap_Activate);
     this.menuItem_ExtractBigFile.Text = "*Extract Bigfile";
     this.menuItem_ExtractBigFile.Activate += new EventHandler(this.menuItem_ExtractBigFile_Activate);
     this.menuItem_ExportToPC.BeginGroup = true;
     this.menuItem_ExportToPC.Text = "*Export to PC";
     this.menuItem_ExportToPC.Activate += new EventHandler(this.menuItem_ExportToPC_Activate);
     this.menuItem_ExportToConsole.Text = "*Export to Console";
     this.menuItem_ExportToConsole.Activate += new EventHandler(this.menuItem_ExportToConsole_Activate);
     this.menuItem_ResetLayout.Text = "MENUITEM_ADVANCED_RESET_LAYOUT";
     this.menuItem_ResetLayout.Activate += new EventHandler(this.menuItem_ResetLayout_Activate);
     this.menuItem_PrepareThumbnails.BeginGroup = true;
     this.menuItem_PrepareThumbnails.Text = "*Prepare thumbnails";
     this.menuItem_PrepareThumbnails.Activate += new EventHandler(this.menuItem_PrepareThumbnails_Activate);
     this.menuItem_ReloadEditor.BeginGroup = true;
     this.menuItem_ReloadEditor.Text = "*Reload editor DLL";
     this.menuItem_ReloadEditor.Activate += new EventHandler(this.menuItem_ReloadEditor_Activate);
     this.menuItem_ImportWorld.BeginGroup = true;
     this.menuItem_ImportWorld.Text = "*Import world";
     this.menuItem_ImportWorld.Activate += new EventHandler(this.menuItem_ImportWorld_Activate);
     this.menuItem_ObjectAdmin.Text = "*Object admin";
     this.menuItem_ObjectAdmin.Activate += new EventHandler(this.menuItem_ObjectAdmin_Activate);
     this.menuBarItem6.Items.AddRange(new ToolbarItemBase[]
     {
         this.menuItem_visitWebsite,
         this.menuItem_about
     });
     this.menuBarItem6.Text = "MENU_HELP";
     this.menuItem_visitWebsite.Text = "MENUITEM_HELP_VISIT_WEBSITE";
     this.menuItem_visitWebsite.Activate += new EventHandler(this.menuItem_visitWebsite_Activate);
     this.menuItem_about.BeginGroup = true;
     this.menuItem_about.Text = "MENUITEM_HELP_ABOUT";
     this.menuItem_about.Activate += new EventHandler(this.menuItem_about_Activate);
     this.toolBarMain.DockLine = 1;
     this.toolBarMain.FlipLastItem = true;
     this.toolBarMain.Guid = new Guid("472238c1-4ade-4ff2-ba4f-4429ed30f50f");
     this.toolBarMain.Items.AddRange(new ToolbarItemBase[]
     {
         this.buttonItem1,
         this.buttonItem2,
         this.buttonItem3,
         this.buttonItem4,
         this.buttonItem5
     });
     this.toolBarMain.Location = new Point(2, 23);
     this.toolBarMain.Name = "toolBarMain";
     this.toolBarMain.Size = new Size(146, 26);
     this.toolBarMain.TabIndex = 1;
     this.toolBarMain.Text = "TOOLBAR_MAIN";
     this.buttonItem1.BuddyMenu = this.menuItem_newMap;
     this.buttonItem1.Image = Resources.newMap;
     this.buttonItem2.BuddyMenu = this.menuItem_loadMap;
     this.buttonItem2.Image = Resources.openMap;
     this.buttonItem3.BuddyMenu = this.menuItem_saveMap;
     this.buttonItem3.Image = Resources.save;
     this.buttonItem4.BeginGroup = true;
     this.buttonItem4.BuddyMenu = this.menuItem_Undo;
     this.buttonItem4.Image = Resources.undo;
     this.buttonItem5.BuddyMenu = this.menuItem_Redo;
     this.buttonItem5.Image = Resources.redo;
     this.openMapDialog.DefaultExt = "fc3map";
     this.openMapDialog.Filter = "Far Cry 3 maps (*.fc3map)|*.fc3map|All files (*.*)|*.*";
     this.openMapDialog.Title = "Open Far Cry 3 map";
     this.saveMapDialog.DefaultExt = "fc3map";
     this.saveMapDialog.Filter = "Far Cry 3 maps (*.fc3map)|*.fc3map|All files (*.*)|*.*";
     this.saveMapDialog.Title = "Save Far Cry 3 map";
     this.timerUIUpdate.Enabled = true;
     this.timerUIUpdate.Tick += new EventHandler(this.timerUIUpdate_Tick);
     this.statusBar.ContextMenuStrip = this.statusBarContextMenu;
     this.statusBar.Items.AddRange(new ToolStripItem[]
     {
         this.statusCaption,
         this.statusBarCameraSpeed,
         this.statusBarCameraPos,
         this.statusBarCursorPos,
         this.statusBarMemoryUsage,
         this.statusBarObjectUsage,
         this.statusBarFpsItem
     });
     this.statusBar.Location = new Point(0, 641);
     this.statusBar.Name = "statusBar";
     this.statusBar.Size = new Size(973, 22);
     this.statusBar.TabIndex = 7;
     this.statusBar.Text = "statusStrip1";
     this.statusBarContextMenu.Items.AddRange(new ToolStripItem[]
     {
         this.whatsThisToolStripMenuItem
     });
     this.statusBarContextMenu.Name = "statusBarContextMenu";
     this.statusBarContextMenu.Size = new Size(179, 26);
     this.statusBarContextMenu.Opening += new CancelEventHandler(this.statusBarContextMenu_Opening);
     this.whatsThisToolStripMenuItem.Name = "whatsThisToolStripMenuItem";
     this.whatsThisToolStripMenuItem.Size = new Size(178, 22);
     this.whatsThisToolStripMenuItem.Text = "HELP_WHATS_THIS";
     this.whatsThisToolStripMenuItem.Click += new EventHandler(this.whatsThisToolStripMenuItem_Click);
     this.statusCaption.ImageAlign = ContentAlignment.MiddleLeft;
     this.statusCaption.Name = "statusCaption";
     this.statusCaption.Size = new Size(408, 17);
     this.statusCaption.Spring = true;
     this.statusCaption.Text = "Ready";
     this.statusCaption.TextAlign = ContentAlignment.MiddleLeft;
     this.statusBarCameraSpeed.AutoSize = false;
     this.statusBarCameraSpeed.DropDown = this.cameraSpeedStrip;
     this.statusBarCameraSpeed.Image = Resources.speed;
     this.statusBarCameraSpeed.ImageAlign = ContentAlignment.MiddleLeft;
     this.statusBarCameraSpeed.ImageTransparentColor = Color.Magenta;
     this.statusBarCameraSpeed.Name = "statusBarCameraSpeed";
     this.statusBarCameraSpeed.Size = new Size(55, 20);
     this.statusBarCameraSpeed.Text = "0";
     this.statusBarCameraSpeed.TextAlign = ContentAlignment.MiddleLeft;
     this.cameraSpeedStrip.Name = "cameraSpeedStrip";
     this.cameraSpeedStrip.OwnerItem = this.statusBarCameraSpeed;
     this.cameraSpeedStrip.ShowImageMargin = false;
     this.cameraSpeedStrip.Size = new Size(36, 4);
     this.statusBarCameraPos.AutoSize = false;
     this.statusBarCameraPos.Image = Resources.camera;
     this.statusBarCameraPos.ImageAlign = ContentAlignment.MiddleLeft;
     this.statusBarCameraPos.Name = "statusBarCameraPos";
     this.statusBarCameraPos.Size = new Size(150, 17);
     this.statusBarCameraPos.Text = "(0, 0, 0)";
     this.statusBarCameraPos.TextAlign = ContentAlignment.MiddleLeft;
     this.statusBarCursorPos.AutoSize = false;
     this.statusBarCursorPos.Image = Resources.cursor;
     this.statusBarCursorPos.ImageAlign = ContentAlignment.MiddleLeft;
     this.statusBarCursorPos.Name = "statusBarCursorPos";
     this.statusBarCursorPos.Size = new Size(150, 17);
     this.statusBarCursorPos.Text = "(0, 0, 0)";
     this.statusBarCursorPos.TextAlign = ContentAlignment.MiddleLeft;
     this.statusBarMemoryUsage.AutoSize = false;
     this.statusBarMemoryUsage.Image = Resources.MemoryUsage;
     this.statusBarMemoryUsage.ImageAlign = ContentAlignment.MiddleLeft;
     this.statusBarMemoryUsage.Name = "statusBarMemoryUsage";
     this.statusBarMemoryUsage.Size = new Size(60, 17);
     this.statusBarMemoryUsage.Text = "0";
     this.statusBarMemoryUsage.TextAlign = ContentAlignment.MiddleLeft;
     this.statusBarObjectUsage.AutoSize = false;
     this.statusBarObjectUsage.Image = Resources.ObjectUsage;
     this.statusBarObjectUsage.ImageAlign = ContentAlignment.MiddleLeft;
     this.statusBarObjectUsage.Name = "statusBarObjectUsage";
     this.statusBarObjectUsage.Size = new Size(60, 17);
     this.statusBarObjectUsage.Text = "0";
     this.statusBarObjectUsage.TextAlign = ContentAlignment.MiddleLeft;
     this.statusBarFpsItem.AutoSize = false;
     this.statusBarFpsItem.Image = Resources.frametime;
     this.statusBarFpsItem.ImageAlign = ContentAlignment.MiddleLeft;
     this.statusBarFpsItem.Name = "statusBarFpsItem";
     this.statusBarFpsItem.Size = new Size(75, 17);
     this.statusBarFpsItem.Text = "0.0 fps";
     this.statusBarFpsItem.TextAlign = ContentAlignment.MiddleLeft;
     this.folderBrowserDialog.Description = "Select export folder";
     this.viewport.BackColor = SystemColors.AppWorkspace;
     this.viewport.BlockNextKeyRepeats = false;
     this.viewport.BorderStyle = BorderStyle.Fixed3D;
     this.viewport.CameraEnabled = true;
     this.viewport.CaptureMouse = false;
     this.viewport.CaptureWheel = false;
     this.viewport.Cursor = Cursors.Default;
     this.viewport.DefaultCursor = Cursors.Default;
     this.viewport.Dock = DockStyle.Fill;
     this.viewport.Location = new Point(0, 49);
     this.viewport.Name = "viewport";
     this.viewport.Size = new Size(973, 592);
     this.viewport.TabIndex = 5;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(973, 663);
     base.Controls.Add(this.viewport);
     base.Controls.Add(this.leftSandBarDock);
     base.Controls.Add(this.rightSandBarDock);
     base.Controls.Add(this.bottomSandBarDock);
     base.Controls.Add(this.topSandBarDock);
     base.Controls.Add(this.statusBar);
     base.Name = "MainForm";
     this.Text = "Far Cry 3 Editor";
     base.Activated += new EventHandler(this.MainForm_Activated);
     base.Deactivate += new EventHandler(this.MainForm_Deactivate);
     base.FormClosing += new FormClosingEventHandler(this.MainForm_FormClosing);
     base.FormClosed += new FormClosedEventHandler(this.MainForm_FormClosed);
     base.Load += new EventHandler(this.MainForm_Load);
     base.LocationChanged += new EventHandler(this.MainForm_LocationChanged);
     base.SizeChanged += new EventHandler(this.MainForm_SizeChanged);
     this.topSandBarDock.ResumeLayout(false);
     this.statusBar.ResumeLayout(false);
     this.statusBar.PerformLayout();
     this.statusBarContextMenu.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Пример #11
0
 private TD.SandBar.ToolBar CreateToolbar(string id, string text, int row, TD.SandBar.ToolBar afterToolbar)
 {
     TD.SandBar.ToolBar toolBar = new TD.SandBar.ToolBar();
     toolBar.Guid = new Guid(id.GetHashCode(), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
     toolBar.DockLine = row;
     toolBar.DockOffset = afterToolbar.DockOffset + afterToolbar.Width;
     this.sandBarManager.AddToolbar(toolBar);
     toolBar.Redock(this.sandBarManager.FindSuitableContainer(DockStyle.Top));
     toolBar.Text = text;
     return toolBar;
 }
Пример #12
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);
 }
Пример #13
0
        private void InitializeComponent()
        {
            this.components            = new Container();
            this.codeMapViewerDock1    = new CodeMapViewerDock();
            this.sandDockManager1      = new SandDockManager();
            this.statusStrip1          = new StatusStrip();
            this.toolStripStatusLabel1 = new ToolStripStatusLabel();
            this.lineStatusLabel       = new ToolStripStatusLabel();
            this.columnStatusLabel     = new ToolStripStatusLabel();
            this.sandBarManager1       = new SandBarManager(this.components);
            this.leftSandBarDock       = new ToolBarContainer();
            this.rightSandBarDock      = new ToolBarContainer();
            this.bottomSandBarDock     = new ToolBarContainer();
            this.topSandBarDock        = new ToolBarContainer();
            this.menuBar1                                 = new MenuBar();
            this.menuBarItem1                             = new MenuBarItem();
            this.newFileMenuItem                          = new MenuButtonItem();
            this.openScriptMenuItem                       = new MenuButtonItem();
            this.saveScriptMenuItem                       = new MenuButtonItem();
            this.exitMenuItem                             = new MenuButtonItem();
            this.menuBarItem2                             = new MenuBarItem();
            this.undoMenuItem                             = new MenuButtonItem();
            this.redoMenuItem                             = new MenuButtonItem();
            this.cutMenuItem                              = new MenuButtonItem();
            this.copyMenuItem                             = new MenuButtonItem();
            this.pasteMenuItem                            = new MenuButtonItem();
            this.menuBarItem3                             = new MenuBarItem();
            this.mapViewerMenuItem                        = new MenuButtonItem();
            this.menuBarItem4                             = new MenuBarItem();
            this.runMenuItem                              = new MenuButtonItem();
            this.menuBarItem5                             = new MenuBarItem();
            this.toolBar1                                 = new TD.SandBar.ToolBar();
            this.buttonItem1                              = new ButtonItem();
            this.buttonItem3                              = new ButtonItem();
            this.buttonItem2                              = new ButtonItem();
            this.buttonItem4                              = new ButtonItem();
            this.buttonItem5                              = new ButtonItem();
            this.buttonItem6                              = new ButtonItem();
            this.buttonItem8                              = new ButtonItem();
            this.buttonItem9                              = new ButtonItem();
            this.buttonItem7                              = new ButtonItem();
            this.openFileDialog                           = new OpenFileDialog();
            this.contextMenuStrip1                        = new ContextMenuStrip(this.components);
            this.cutToolStripMenuItem                     = new ToolStripMenuItem();
            this.copyToolStripMenuItem                    = new ToolStripMenuItem();
            this.pasteToolStripMenuItem                   = new ToolStripMenuItem();
            this.toolStripSeparator1                      = new ToolStripSeparator();
            this.insertFunctionToolStripMenuItem          = new ToolStripMenuItem();
            this.insertTextureEntryIDToolStripMenuItem    = new ToolStripMenuItem();
            this.insertCollectionEntryIDToolStripMenuItem = new ToolStripMenuItem();
            DockContainer dockContainer = new DockContainer();

            dockContainer.SuspendLayout();
            this.statusStrip1.SuspendLayout();
            this.topSandBarDock.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            base.SuspendLayout();
            dockContainer.Controls.Add(this.codeMapViewerDock1);
            dockContainer.Dock         = DockStyle.Right;
            dockContainer.LayoutSystem = new SplitLayoutSystem(250, 312, Orientation.Horizontal, new LayoutSystemBase[]
            {
                new ControlLayoutSystem(250, 312, new DockControl[]
                {
                    this.codeMapViewerDock1
                }, this.codeMapViewerDock1)
            });
            dockContainer.Location                             = new Point(274, 49);
            dockContainer.Manager                              = this.sandDockManager1;
            dockContainer.Name                                 = "dockContainer1";
            dockContainer.Size                                 = new Size(254, 312);
            dockContainer.TabIndex                             = 6;
            this.codeMapViewerDock1.Guid                       = new Guid("40b77176-f5ac-44ce-a28c-d2f296197e1d");
            this.codeMapViewerDock1.Image                      = null;
            this.codeMapViewerDock1.Location                   = new Point(4, 18);
            this.codeMapViewerDock1.Name                       = "codeMapViewerDock1";
            this.codeMapViewerDock1.Size                       = new Size(250, 270);
            this.codeMapViewerDock1.TabIndex                   = 0;
            this.codeMapViewerDock1.Text                       = "Map Viewer";
            this.sandDockManager1.DockSystemContainer          = this;
            this.sandDockManager1.OwnerForm                    = this;
            this.sandDockManager1.ActiveTabbedDocumentChanged += new EventHandler(this.sandDockManager1_ActiveTabbedDocumentChanged);
            this.statusStrip1.Items.AddRange(new ToolStripItem[]
            {
                this.toolStripStatusLabel1,
                this.lineStatusLabel,
                this.columnStatusLabel
            });
            this.statusStrip1.Location        = new Point(0, 361);
            this.statusStrip1.Name            = "statusStrip1";
            this.statusStrip1.Size            = new Size(528, 22);
            this.statusStrip1.TabIndex        = 1;
            this.statusStrip1.Text            = "statusStrip1";
            this.toolStripStatusLabel1.Name   = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size   = new Size(447, 17);
            this.toolStripStatusLabel1.Spring = true;
            this.lineStatusLabel.Name         = "lineStatusLabel";
            this.lineStatusLabel.Size         = new Size(35, 17);
            this.lineStatusLabel.Text         = "Line 0";
            this.columnStatusLabel.Name       = "columnStatusLabel";
            this.columnStatusLabel.Size       = new Size(31, 17);
            this.columnStatusLabel.Text       = "Col 0";
            this.sandBarManager1.OwnerForm    = this;
            this.leftSandBarDock.Dock         = DockStyle.Left;
            this.leftSandBarDock.Guid         = new Guid("f51f9d3c-d12d-4b04-b3c1-dba150a785e6");
            this.leftSandBarDock.Location     = new Point(0, 49);
            this.leftSandBarDock.Manager      = this.sandBarManager1;
            this.leftSandBarDock.Name         = "leftSandBarDock";
            this.leftSandBarDock.Size         = new Size(0, 334);
            this.leftSandBarDock.TabIndex     = 2;
            this.rightSandBarDock.Dock        = DockStyle.Right;
            this.rightSandBarDock.Guid        = new Guid("c3e7b6e1-de74-4788-aa84-badf07d4feb3");
            this.rightSandBarDock.Location    = new Point(528, 49);
            this.rightSandBarDock.Manager     = this.sandBarManager1;
            this.rightSandBarDock.Name        = "rightSandBarDock";
            this.rightSandBarDock.Size        = new Size(0, 334);
            this.rightSandBarDock.TabIndex    = 3;
            this.bottomSandBarDock.Dock       = DockStyle.Bottom;
            this.bottomSandBarDock.Guid       = new Guid("214365d9-c066-4c57-b2e9-f4e9b8b58fd5");
            this.bottomSandBarDock.Location   = new Point(0, 383);
            this.bottomSandBarDock.Manager    = this.sandBarManager1;
            this.bottomSandBarDock.Name       = "bottomSandBarDock";
            this.bottomSandBarDock.Size       = new Size(528, 0);
            this.bottomSandBarDock.TabIndex   = 4;
            this.topSandBarDock.Controls.Add(this.menuBar1);
            this.topSandBarDock.Controls.Add(this.toolBar1);
            this.topSandBarDock.Dock     = DockStyle.Top;
            this.topSandBarDock.Guid     = new Guid("31bfec4a-f321-4810-8e02-c4eccad1d7f9");
            this.topSandBarDock.Location = new Point(0, 0);
            this.topSandBarDock.Manager  = this.sandBarManager1;
            this.topSandBarDock.Name     = "topSandBarDock";
            this.topSandBarDock.Size     = new Size(528, 49);
            this.topSandBarDock.TabIndex = 5;
            this.menuBar1.Guid           = new Guid("0188290c-f307-4042-a99f-b3a2a1517a38");
            this.menuBar1.Items.AddRange(new ToolbarItemBase[]
            {
                this.menuBarItem1,
                this.menuBarItem2,
                this.menuBarItem3,
                this.menuBarItem4,
                this.menuBarItem5
            });
            this.menuBar1.Location  = new Point(2, 0);
            this.menuBar1.Name      = "menuBar1";
            this.menuBar1.OwnerForm = this;
            this.menuBar1.Size      = new Size(526, 23);
            this.menuBar1.TabIndex  = 0;
            this.menuBar1.Text      = "menuBar1";
            this.menuBarItem1.Items.AddRange(new ToolbarItemBase[]
            {
                this.newFileMenuItem,
                this.openScriptMenuItem,
                this.saveScriptMenuItem,
                this.exitMenuItem
            });
            this.menuBarItem1.Text             = "&File";
            this.newFileMenuItem.Image         = Resources.newMap;
            this.newFileMenuItem.Shortcut      = Shortcut.CtrlN;
            this.newFileMenuItem.Text          = "New script";
            this.newFileMenuItem.Activate     += new EventHandler(this.newFileMenuItem_Activate);
            this.openScriptMenuItem.Image      = Resources.openMap;
            this.openScriptMenuItem.Shortcut   = Shortcut.CtrlO;
            this.openScriptMenuItem.Text       = "Open script";
            this.openScriptMenuItem.Activate  += new EventHandler(this.openScriptMenuItem_Activate);
            this.saveScriptMenuItem.BeginGroup = true;
            this.saveScriptMenuItem.Image      = Resources.save;
            this.saveScriptMenuItem.Shortcut   = Shortcut.CtrlS;
            this.saveScriptMenuItem.Text       = "Save script";
            this.saveScriptMenuItem.Activate  += new EventHandler(this.saveScriptMenuItem_Activate);
            this.exitMenuItem.Text             = "Exit";
            this.menuBarItem2.Items.AddRange(new ToolbarItemBase[]
            {
                this.undoMenuItem,
                this.redoMenuItem,
                this.cutMenuItem,
                this.copyMenuItem,
                this.pasteMenuItem
            });
            this.menuBarItem2.Text       = "&Edit";
            this.undoMenuItem.Image      = Resources.undo;
            this.undoMenuItem.Shortcut   = Shortcut.CtrlZ;
            this.undoMenuItem.Text       = "&Undo";
            this.undoMenuItem.Activate  += new EventHandler(this.undoMenuItem_Activate);
            this.redoMenuItem.Image      = Resources.redo;
            this.redoMenuItem.Shortcut   = Shortcut.CtrlShiftZ;
            this.redoMenuItem.Text       = "&Redo";
            this.cutMenuItem.BeginGroup  = true;
            this.cutMenuItem.Image       = Resources.cut;
            this.cutMenuItem.Shortcut    = Shortcut.CtrlX;
            this.cutMenuItem.Text        = "C&ut";
            this.cutMenuItem.Activate   += new EventHandler(this.cutMenuItem_Activate);
            this.copyMenuItem.Image      = Resources.copy;
            this.copyMenuItem.Shortcut   = Shortcut.CtrlC;
            this.copyMenuItem.Text       = "&Copy";
            this.copyMenuItem.Activate  += new EventHandler(this.copyMenuItem_Activate);
            this.pasteMenuItem.Image     = Resources.paste;
            this.pasteMenuItem.Shortcut  = Shortcut.CtrlV;
            this.pasteMenuItem.Text      = "&Paste";
            this.pasteMenuItem.Activate += new EventHandler(this.pasteMenuItem_Activate);
            this.menuBarItem3.Items.AddRange(new ToolbarItemBase[]
            {
                this.mapViewerMenuItem
            });
            this.menuBarItem3.Text           = "&View";
            this.mapViewerMenuItem.Text      = "Map Viewer";
            this.mapViewerMenuItem.Activate += new EventHandler(this.mapViewerMenuItem_Activate);
            this.menuBarItem4.Items.AddRange(new ToolbarItemBase[]
            {
                this.runMenuItem
            });
            this.menuBarItem4.MdiWindowList = true;
            this.menuBarItem4.Text          = "&Script";
            this.runMenuItem.Image          = Resources.PlayHS;
            this.runMenuItem.Shortcut       = Shortcut.F5;
            this.runMenuItem.Text           = "&Run";
            this.runMenuItem.Activate      += new EventHandler(this.runMenuItem_Activate);
            this.menuBarItem5.Text          = "&Help";
            this.toolBar1.DockLine          = 1;
            this.toolBar1.Guid = new Guid("46756475-373b-4e41-8b89-f8ab1b41c370");
            this.toolBar1.Items.AddRange(new ToolbarItemBase[]
            {
                this.buttonItem1,
                this.buttonItem3,
                this.buttonItem2,
                this.buttonItem4,
                this.buttonItem5,
                this.buttonItem6,
                this.buttonItem8,
                this.buttonItem9,
                this.buttonItem7
            });
            this.toolBar1.Location         = new Point(2, 23);
            this.toolBar1.Name             = "toolBar1";
            this.toolBar1.Size             = new Size(252, 26);
            this.toolBar1.TabIndex         = 1;
            this.toolBar1.Text             = "toolBar1";
            this.buttonItem1.BuddyMenu     = this.newFileMenuItem;
            this.buttonItem1.Image         = Resources.newMap;
            this.buttonItem3.BuddyMenu     = this.openScriptMenuItem;
            this.buttonItem3.Image         = Resources.openMap;
            this.buttonItem2.BuddyMenu     = this.saveScriptMenuItem;
            this.buttonItem2.Image         = Resources.save;
            this.buttonItem4.BeginGroup    = true;
            this.buttonItem4.BuddyMenu     = this.cutMenuItem;
            this.buttonItem4.Image         = Resources.cut;
            this.buttonItem5.BuddyMenu     = this.copyMenuItem;
            this.buttonItem5.Image         = Resources.copy;
            this.buttonItem6.BuddyMenu     = this.pasteMenuItem;
            this.buttonItem6.Image         = Resources.paste;
            this.buttonItem8.BeginGroup    = true;
            this.buttonItem8.BuddyMenu     = this.undoMenuItem;
            this.buttonItem8.Image         = Resources.undo;
            this.buttonItem9.BuddyMenu     = this.redoMenuItem;
            this.buttonItem9.Image         = Resources.redo;
            this.buttonItem7.BeginGroup    = true;
            this.buttonItem7.BuddyMenu     = this.runMenuItem;
            this.buttonItem7.Image         = Resources.PlayHS;
            this.openFileDialog.DefaultExt = "lua";
            this.openFileDialog.FileName   = "openFileDialog1";
            this.openFileDialog.Filter     = "Far Cry 2 script files (*.lua)|*.lua|All files (*.*)|*.*";
            this.openFileDialog.Title      = "Open script";
            this.contextMenuStrip1.Items.AddRange(new ToolStripItem[]
            {
                this.cutToolStripMenuItem,
                this.copyToolStripMenuItem,
                this.pasteToolStripMenuItem,
                this.toolStripSeparator1,
                this.insertFunctionToolStripMenuItem,
                this.insertTextureEntryIDToolStripMenuItem,
                this.insertCollectionEntryIDToolStripMenuItem
            });
            this.contextMenuStrip1.Name                        = "contextMenuStrip1";
            this.contextMenuStrip1.Size                        = new Size(194, 164);
            this.cutToolStripMenuItem.Name                     = "cutToolStripMenuItem";
            this.cutToolStripMenuItem.Size                     = new Size(193, 22);
            this.cutToolStripMenuItem.Text                     = "Cut";
            this.cutToolStripMenuItem.Click                   += new EventHandler(this.cutToolStripMenuItem_Click);
            this.copyToolStripMenuItem.Name                    = "copyToolStripMenuItem";
            this.copyToolStripMenuItem.Size                    = new Size(193, 22);
            this.copyToolStripMenuItem.Text                    = "Copy";
            this.copyToolStripMenuItem.Click                  += new EventHandler(this.copyToolStripMenuItem_Click);
            this.pasteToolStripMenuItem.Name                   = "pasteToolStripMenuItem";
            this.pasteToolStripMenuItem.Size                   = new Size(193, 22);
            this.pasteToolStripMenuItem.Text                   = "Paste";
            this.pasteToolStripMenuItem.Click                 += new EventHandler(this.pasteToolStripMenuItem_Click);
            this.toolStripSeparator1.Name                      = "toolStripSeparator1";
            this.toolStripSeparator1.Size                      = new Size(190, 6);
            this.insertFunctionToolStripMenuItem.Name          = "insertFunctionToolStripMenuItem";
            this.insertFunctionToolStripMenuItem.Size          = new Size(193, 22);
            this.insertFunctionToolStripMenuItem.Text          = "Insert function";
            this.insertTextureEntryIDToolStripMenuItem.Name    = "insertTextureEntryIDToolStripMenuItem";
            this.insertTextureEntryIDToolStripMenuItem.Size    = new Size(193, 22);
            this.insertTextureEntryIDToolStripMenuItem.Text    = "Insert texture entry ID";
            this.insertCollectionEntryIDToolStripMenuItem.Name = "insertCollectionEntryIDToolStripMenuItem";
            this.insertCollectionEntryIDToolStripMenuItem.Size = new Size(193, 22);
            this.insertCollectionEntryIDToolStripMenuItem.Text = "Insert collection entry ID";
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            base.ClientSize          = new Size(528, 383);
            base.Controls.Add(dockContainer);
            base.Controls.Add(this.statusStrip1);
            base.Controls.Add(this.leftSandBarDock);
            base.Controls.Add(this.rightSandBarDock);
            base.Controls.Add(this.bottomSandBarDock);
            base.Controls.Add(this.topSandBarDock);
            base.Name = "CodeEditor";
            this.Text = "Far Cry 2 Script Editor";
            dockContainer.ResumeLayout(false);
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.topSandBarDock.ResumeLayout(false);
            this.contextMenuStrip1.ResumeLayout(false);
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Пример #14
0
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MessageViewer));
            this.mainPanel = new System.Windows.Forms.Panel();
            this.webBrowser1 = new System.Windows.Forms.WebBrowser();
            this.binaryViewer = new Mulholland.WinForms.Controls.BinaryViewer();
            this.messageXmlViewer = new Mulholland.WinForms.Controls.XmlViewer();
            this.messageRichTextBox = new System.Windows.Forms.RichTextBox();
            this.toolBar = new TD.SandBar.ToolBar();
            this.dataViewButtonItem = new TD.SandBar.ButtonItem();
            this.xsltViewButtonItem = new TD.SandBar.ButtonItem();
            this.binaryViewButtonItem = new TD.SandBar.ButtonItem();
            this.saveButtonItem = new TD.SandBar.ButtonItem();
            this.mainPanel.SuspendLayout();
            this.SuspendLayout();
            // 
            // mainPanel
            // 
            this.mainPanel.BackColor = System.Drawing.SystemColors.ControlDark;
            this.mainPanel.Controls.Add(this.webBrowser1);
            this.mainPanel.Controls.Add(this.binaryViewer);
            this.mainPanel.Controls.Add(this.messageXmlViewer);
            this.mainPanel.Controls.Add(this.messageRichTextBox);
            this.mainPanel.Controls.Add(this.toolBar);
            this.mainPanel.Location = new System.Drawing.Point(40, 24);
            this.mainPanel.Name = "mainPanel";
            this.mainPanel.Size = new System.Drawing.Size(544, 480);
            this.mainPanel.TabIndex = 6;
            // 
            // webBrowser1
            // 
            this.webBrowser1.Location = new System.Drawing.Point(276, 68);
            this.webBrowser1.Name = "webBrowser1";
            this.webBrowser1.Size = new System.Drawing.Size(300, 150);
            this.webBrowser1.TabIndex = 7;
            // 
            // binaryViewer
            // 
            this.binaryViewer.BackColor = System.Drawing.SystemColors.ControlDark;
            this.binaryViewer.BorderStyle = Mulholland.WinForms.Controls.SimpleBorderStyle.None;
            this.binaryViewer.Location = new System.Drawing.Point(72, 276);
            this.binaryViewer.Name = "binaryViewer";
            this.binaryViewer.Size = new System.Drawing.Size(268, 116);
            this.binaryViewer.TabIndex = 9;
            // 
            // messageXmlViewer
            // 
            this.messageXmlViewer.BackColor = System.Drawing.SystemColors.ControlDark;
            this.messageXmlViewer.BorderStyle = Mulholland.WinForms.Controls.SimpleBorderStyle.None;
            this.messageXmlViewer.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.messageXmlViewer.Location = new System.Drawing.Point(52, 56);
            this.messageXmlViewer.Name = "messageXmlViewer";
            this.messageXmlViewer.Size = new System.Drawing.Size(168, 72);
            this.messageXmlViewer.TabIndex = 6;
            this.messageXmlViewer.TabWidth = 6;
            this.messageXmlViewer.Xml = null;
            // 
            // messageRichTextBox
            // 
            this.messageRichTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.messageRichTextBox.Location = new System.Drawing.Point(80, 152);
            this.messageRichTextBox.Name = "messageRichTextBox";
            this.messageRichTextBox.ReadOnly = true;
            this.messageRichTextBox.Size = new System.Drawing.Size(120, 104);
            this.messageRichTextBox.TabIndex = 8;
            this.messageRichTextBox.Text = "";
            // 
            // toolBar
            // 
            this.toolBar.Guid = new System.Guid("64c2e04c-5d5c-42d1-b60b-5ae6c5377653");
            this.toolBar.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
            this.dataViewButtonItem,
            this.xsltViewButtonItem,
            this.binaryViewButtonItem,
            this.saveButtonItem});
            this.toolBar.Location = new System.Drawing.Point(0, 0);
            this.toolBar.Name = "toolBar";
            this.toolBar.Size = new System.Drawing.Size(544, 24);
            this.toolBar.TabIndex = 4;
            this.toolBar.Text = "Main";
            // 
            // dataViewButtonItem
            // 
            this.dataViewButtonItem.Checked = true;
            this.dataViewButtonItem.Icon = ((System.Drawing.Icon)(resources.GetObject("dataViewButtonItem.Icon")));
            this.dataViewButtonItem.ToolTipText = "Data View";
            this.dataViewButtonItem.Activate += new System.EventHandler(this.viewButtonItem_Activate);
            // 
            // xsltViewButtonItem
            // 
            this.xsltViewButtonItem.Icon = ((System.Drawing.Icon)(resources.GetObject("xsltViewButtonItem.Icon")));
            this.xsltViewButtonItem.ToolTipText = "Transform View";
            this.xsltViewButtonItem.Activate += new System.EventHandler(this.viewButtonItem_Activate);
            // 
            // binaryViewButtonItem
            // 
            this.binaryViewButtonItem.Icon = ((System.Drawing.Icon)(resources.GetObject("binaryViewButtonItem.Icon")));
            this.binaryViewButtonItem.ToolTipText = "Binary View";
            this.binaryViewButtonItem.Activate += new System.EventHandler(this.viewButtonItem_Activate);
            // 
            // saveButtonItem
            // 
            this.saveButtonItem.BeginGroup = true;
            this.saveButtonItem.Icon = ((System.Drawing.Icon)(resources.GetObject("saveButtonItem.Icon")));
            this.saveButtonItem.Activate += new System.EventHandler(this.saveButtonItem_Activate);
            // 
            // MessageViewer
            // 
            this.BackColor = System.Drawing.SystemColors.ControlDark;
            this.Controls.Add(this.mainPanel);
            this.Name = "MessageViewer";
            this.Size = new System.Drawing.Size(600, 524);
            this.mainPanel.ResumeLayout(false);
            this.ResumeLayout(false);

		}
Пример #15
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.codeMapViewerDock1 = new CodeMapViewerDock();
     this.sandDockManager1 = new SandDockManager();
     this.statusStrip1 = new StatusStrip();
     this.toolStripStatusLabel1 = new ToolStripStatusLabel();
     this.lineStatusLabel = new ToolStripStatusLabel();
     this.columnStatusLabel = new ToolStripStatusLabel();
     this.sandBarManager1 = new SandBarManager(this.components);
     this.leftSandBarDock = new ToolBarContainer();
     this.rightSandBarDock = new ToolBarContainer();
     this.bottomSandBarDock = new ToolBarContainer();
     this.topSandBarDock = new ToolBarContainer();
     this.menuBar1 = new MenuBar();
     this.menuBarItem1 = new MenuBarItem();
     this.newFileMenuItem = new MenuButtonItem();
     this.openScriptMenuItem = new MenuButtonItem();
     this.saveScriptMenuItem = new MenuButtonItem();
     this.exitMenuItem = new MenuButtonItem();
     this.menuBarItem2 = new MenuBarItem();
     this.undoMenuItem = new MenuButtonItem();
     this.redoMenuItem = new MenuButtonItem();
     this.cutMenuItem = new MenuButtonItem();
     this.copyMenuItem = new MenuButtonItem();
     this.pasteMenuItem = new MenuButtonItem();
     this.menuBarItem3 = new MenuBarItem();
     this.mapViewerMenuItem = new MenuButtonItem();
     this.menuBarItem4 = new MenuBarItem();
     this.runMenuItem = new MenuButtonItem();
     this.menuBarItem5 = new MenuBarItem();
     this.toolBar1 = new TD.SandBar.ToolBar();
     this.buttonItem1 = new ButtonItem();
     this.buttonItem3 = new ButtonItem();
     this.buttonItem2 = new ButtonItem();
     this.buttonItem4 = new ButtonItem();
     this.buttonItem5 = new ButtonItem();
     this.buttonItem6 = new ButtonItem();
     this.buttonItem8 = new ButtonItem();
     this.buttonItem9 = new ButtonItem();
     this.buttonItem7 = new ButtonItem();
     this.openFileDialog = new OpenFileDialog();
     this.contextMenuStrip1 = new ContextMenuStrip(this.components);
     this.cutToolStripMenuItem = new ToolStripMenuItem();
     this.copyToolStripMenuItem = new ToolStripMenuItem();
     this.pasteToolStripMenuItem = new ToolStripMenuItem();
     this.toolStripSeparator1 = new ToolStripSeparator();
     this.insertFunctionToolStripMenuItem = new ToolStripMenuItem();
     this.insertTextureEntryIDToolStripMenuItem = new ToolStripMenuItem();
     this.insertCollectionEntryIDToolStripMenuItem = new ToolStripMenuItem();
     DockContainer dockContainer = new DockContainer();
     dockContainer.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     this.topSandBarDock.SuspendLayout();
     this.contextMenuStrip1.SuspendLayout();
     base.SuspendLayout();
     dockContainer.Controls.Add(this.codeMapViewerDock1);
     dockContainer.Dock = DockStyle.Right;
     dockContainer.LayoutSystem = new SplitLayoutSystem(250, 312, Orientation.Horizontal, new LayoutSystemBase[]
     {
         new ControlLayoutSystem(250, 312, new DockControl[]
         {
             this.codeMapViewerDock1
         }, this.codeMapViewerDock1)
     });
     dockContainer.Location = new Point(274, 49);
     dockContainer.Manager = this.sandDockManager1;
     dockContainer.Name = "dockContainer1";
     dockContainer.Size = new Size(254, 312);
     dockContainer.TabIndex = 6;
     this.codeMapViewerDock1.Guid = new Guid("40b77176-f5ac-44ce-a28c-d2f296197e1d");
     this.codeMapViewerDock1.Image = null;
     this.codeMapViewerDock1.Location = new Point(4, 18);
     this.codeMapViewerDock1.Name = "codeMapViewerDock1";
     this.codeMapViewerDock1.Size = new Size(250, 270);
     this.codeMapViewerDock1.TabIndex = 0;
     this.codeMapViewerDock1.Text = "Map Viewer";
     this.sandDockManager1.DockSystemContainer = this;
     this.sandDockManager1.OwnerForm = this;
     this.sandDockManager1.ActiveTabbedDocumentChanged += new EventHandler(this.sandDockManager1_ActiveTabbedDocumentChanged);
     this.statusStrip1.Items.AddRange(new ToolStripItem[]
     {
         this.toolStripStatusLabel1,
         this.lineStatusLabel,
         this.columnStatusLabel
     });
     this.statusStrip1.Location = new Point(0, 361);
     this.statusStrip1.Name = "statusStrip1";
     this.statusStrip1.Size = new Size(528, 22);
     this.statusStrip1.TabIndex = 1;
     this.statusStrip1.Text = "statusStrip1";
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new Size(447, 17);
     this.toolStripStatusLabel1.Spring = true;
     this.lineStatusLabel.Name = "lineStatusLabel";
     this.lineStatusLabel.Size = new Size(35, 17);
     this.lineStatusLabel.Text = "Line 0";
     this.columnStatusLabel.Name = "columnStatusLabel";
     this.columnStatusLabel.Size = new Size(31, 17);
     this.columnStatusLabel.Text = "Col 0";
     this.sandBarManager1.OwnerForm = this;
     this.leftSandBarDock.Dock = DockStyle.Left;
     this.leftSandBarDock.Guid = new Guid("f51f9d3c-d12d-4b04-b3c1-dba150a785e6");
     this.leftSandBarDock.Location = new Point(0, 49);
     this.leftSandBarDock.Manager = this.sandBarManager1;
     this.leftSandBarDock.Name = "leftSandBarDock";
     this.leftSandBarDock.Size = new Size(0, 334);
     this.leftSandBarDock.TabIndex = 2;
     this.rightSandBarDock.Dock = DockStyle.Right;
     this.rightSandBarDock.Guid = new Guid("c3e7b6e1-de74-4788-aa84-badf07d4feb3");
     this.rightSandBarDock.Location = new Point(528, 49);
     this.rightSandBarDock.Manager = this.sandBarManager1;
     this.rightSandBarDock.Name = "rightSandBarDock";
     this.rightSandBarDock.Size = new Size(0, 334);
     this.rightSandBarDock.TabIndex = 3;
     this.bottomSandBarDock.Dock = DockStyle.Bottom;
     this.bottomSandBarDock.Guid = new Guid("214365d9-c066-4c57-b2e9-f4e9b8b58fd5");
     this.bottomSandBarDock.Location = new Point(0, 383);
     this.bottomSandBarDock.Manager = this.sandBarManager1;
     this.bottomSandBarDock.Name = "bottomSandBarDock";
     this.bottomSandBarDock.Size = new Size(528, 0);
     this.bottomSandBarDock.TabIndex = 4;
     this.topSandBarDock.Controls.Add(this.menuBar1);
     this.topSandBarDock.Controls.Add(this.toolBar1);
     this.topSandBarDock.Dock = DockStyle.Top;
     this.topSandBarDock.Guid = new Guid("31bfec4a-f321-4810-8e02-c4eccad1d7f9");
     this.topSandBarDock.Location = new Point(0, 0);
     this.topSandBarDock.Manager = this.sandBarManager1;
     this.topSandBarDock.Name = "topSandBarDock";
     this.topSandBarDock.Size = new Size(528, 49);
     this.topSandBarDock.TabIndex = 5;
     this.menuBar1.Guid = new Guid("0188290c-f307-4042-a99f-b3a2a1517a38");
     this.menuBar1.Items.AddRange(new ToolbarItemBase[]
     {
         this.menuBarItem1,
         this.menuBarItem2,
         this.menuBarItem3,
         this.menuBarItem4,
         this.menuBarItem5
     });
     this.menuBar1.Location = new Point(2, 0);
     this.menuBar1.Name = "menuBar1";
     this.menuBar1.OwnerForm = this;
     this.menuBar1.Size = new Size(526, 23);
     this.menuBar1.TabIndex = 0;
     this.menuBar1.Text = "menuBar1";
     this.menuBarItem1.Items.AddRange(new ToolbarItemBase[]
     {
         this.newFileMenuItem,
         this.openScriptMenuItem,
         this.saveScriptMenuItem,
         this.exitMenuItem
     });
     this.menuBarItem1.Text = "&File";
     this.newFileMenuItem.Image = Resources.newMap;
     this.newFileMenuItem.Shortcut = Shortcut.CtrlN;
     this.newFileMenuItem.Text = "New script";
     this.newFileMenuItem.Activate += new EventHandler(this.newFileMenuItem_Activate);
     this.openScriptMenuItem.Image = Resources.openMap;
     this.openScriptMenuItem.Shortcut = Shortcut.CtrlO;
     this.openScriptMenuItem.Text = "Open script";
     this.openScriptMenuItem.Activate += new EventHandler(this.openScriptMenuItem_Activate);
     this.saveScriptMenuItem.BeginGroup = true;
     this.saveScriptMenuItem.Image = Resources.save;
     this.saveScriptMenuItem.Shortcut = Shortcut.CtrlS;
     this.saveScriptMenuItem.Text = "Save script";
     this.saveScriptMenuItem.Activate += new EventHandler(this.saveScriptMenuItem_Activate);
     this.exitMenuItem.Text = "Exit";
     this.menuBarItem2.Items.AddRange(new ToolbarItemBase[]
     {
         this.undoMenuItem,
         this.redoMenuItem,
         this.cutMenuItem,
         this.copyMenuItem,
         this.pasteMenuItem
     });
     this.menuBarItem2.Text = "&Edit";
     this.undoMenuItem.Image = Resources.undo;
     this.undoMenuItem.Shortcut = Shortcut.CtrlZ;
     this.undoMenuItem.Text = "&Undo";
     this.undoMenuItem.Activate += new EventHandler(this.undoMenuItem_Activate);
     this.redoMenuItem.Image = Resources.redo;
     this.redoMenuItem.Shortcut = Shortcut.CtrlShiftZ;
     this.redoMenuItem.Text = "&Redo";
     this.cutMenuItem.BeginGroup = true;
     this.cutMenuItem.Image = Resources.cut;
     this.cutMenuItem.Shortcut = Shortcut.CtrlX;
     this.cutMenuItem.Text = "C&ut";
     this.cutMenuItem.Activate += new EventHandler(this.cutMenuItem_Activate);
     this.copyMenuItem.Image = Resources.copy;
     this.copyMenuItem.Shortcut = Shortcut.CtrlC;
     this.copyMenuItem.Text = "&Copy";
     this.copyMenuItem.Activate += new EventHandler(this.copyMenuItem_Activate);
     this.pasteMenuItem.Image = Resources.paste;
     this.pasteMenuItem.Shortcut = Shortcut.CtrlV;
     this.pasteMenuItem.Text = "&Paste";
     this.pasteMenuItem.Activate += new EventHandler(this.pasteMenuItem_Activate);
     this.menuBarItem3.Items.AddRange(new ToolbarItemBase[]
     {
         this.mapViewerMenuItem
     });
     this.menuBarItem3.Text = "&View";
     this.mapViewerMenuItem.Text = "Map Viewer";
     this.mapViewerMenuItem.Activate += new EventHandler(this.mapViewerMenuItem_Activate);
     this.menuBarItem4.Items.AddRange(new ToolbarItemBase[]
     {
         this.runMenuItem
     });
     this.menuBarItem4.MdiWindowList = true;
     this.menuBarItem4.Text = "&Script";
     this.runMenuItem.Image = Resources.PlayHS;
     this.runMenuItem.Shortcut = Shortcut.F5;
     this.runMenuItem.Text = "&Run";
     this.runMenuItem.Activate += new EventHandler(this.runMenuItem_Activate);
     this.menuBarItem5.Text = "&Help";
     this.toolBar1.DockLine = 1;
     this.toolBar1.Guid = new Guid("46756475-373b-4e41-8b89-f8ab1b41c370");
     this.toolBar1.Items.AddRange(new ToolbarItemBase[]
     {
         this.buttonItem1,
         this.buttonItem3,
         this.buttonItem2,
         this.buttonItem4,
         this.buttonItem5,
         this.buttonItem6,
         this.buttonItem8,
         this.buttonItem9,
         this.buttonItem7
     });
     this.toolBar1.Location = new Point(2, 23);
     this.toolBar1.Name = "toolBar1";
     this.toolBar1.Size = new Size(252, 26);
     this.toolBar1.TabIndex = 1;
     this.toolBar1.Text = "toolBar1";
     this.buttonItem1.BuddyMenu = this.newFileMenuItem;
     this.buttonItem1.Image = Resources.newMap;
     this.buttonItem3.BuddyMenu = this.openScriptMenuItem;
     this.buttonItem3.Image = Resources.openMap;
     this.buttonItem2.BuddyMenu = this.saveScriptMenuItem;
     this.buttonItem2.Image = Resources.save;
     this.buttonItem4.BeginGroup = true;
     this.buttonItem4.BuddyMenu = this.cutMenuItem;
     this.buttonItem4.Image = Resources.cut;
     this.buttonItem5.BuddyMenu = this.copyMenuItem;
     this.buttonItem5.Image = Resources.copy;
     this.buttonItem6.BuddyMenu = this.pasteMenuItem;
     this.buttonItem6.Image = Resources.paste;
     this.buttonItem8.BeginGroup = true;
     this.buttonItem8.BuddyMenu = this.undoMenuItem;
     this.buttonItem8.Image = Resources.undo;
     this.buttonItem9.BuddyMenu = this.redoMenuItem;
     this.buttonItem9.Image = Resources.redo;
     this.buttonItem7.BeginGroup = true;
     this.buttonItem7.BuddyMenu = this.runMenuItem;
     this.buttonItem7.Image = Resources.PlayHS;
     this.openFileDialog.DefaultExt = "lua";
     this.openFileDialog.FileName = "openFileDialog1";
     this.openFileDialog.Filter = "Far Cry 2 script files (*.lua)|*.lua|All files (*.*)|*.*";
     this.openFileDialog.Title = "Open script";
     this.contextMenuStrip1.Items.AddRange(new ToolStripItem[]
     {
         this.cutToolStripMenuItem,
         this.copyToolStripMenuItem,
         this.pasteToolStripMenuItem,
         this.toolStripSeparator1,
         this.insertFunctionToolStripMenuItem,
         this.insertTextureEntryIDToolStripMenuItem,
         this.insertCollectionEntryIDToolStripMenuItem
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new Size(194, 164);
     this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
     this.cutToolStripMenuItem.Size = new Size(193, 22);
     this.cutToolStripMenuItem.Text = "Cut";
     this.cutToolStripMenuItem.Click += new EventHandler(this.cutToolStripMenuItem_Click);
     this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
     this.copyToolStripMenuItem.Size = new Size(193, 22);
     this.copyToolStripMenuItem.Text = "Copy";
     this.copyToolStripMenuItem.Click += new EventHandler(this.copyToolStripMenuItem_Click);
     this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
     this.pasteToolStripMenuItem.Size = new Size(193, 22);
     this.pasteToolStripMenuItem.Text = "Paste";
     this.pasteToolStripMenuItem.Click += new EventHandler(this.pasteToolStripMenuItem_Click);
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new Size(190, 6);
     this.insertFunctionToolStripMenuItem.Name = "insertFunctionToolStripMenuItem";
     this.insertFunctionToolStripMenuItem.Size = new Size(193, 22);
     this.insertFunctionToolStripMenuItem.Text = "Insert function";
     this.insertTextureEntryIDToolStripMenuItem.Name = "insertTextureEntryIDToolStripMenuItem";
     this.insertTextureEntryIDToolStripMenuItem.Size = new Size(193, 22);
     this.insertTextureEntryIDToolStripMenuItem.Text = "Insert texture entry ID";
     this.insertCollectionEntryIDToolStripMenuItem.Name = "insertCollectionEntryIDToolStripMenuItem";
     this.insertCollectionEntryIDToolStripMenuItem.Size = new Size(193, 22);
     this.insertCollectionEntryIDToolStripMenuItem.Text = "Insert collection entry ID";
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(528, 383);
     base.Controls.Add(dockContainer);
     base.Controls.Add(this.statusStrip1);
     base.Controls.Add(this.leftSandBarDock);
     base.Controls.Add(this.rightSandBarDock);
     base.Controls.Add(this.bottomSandBarDock);
     base.Controls.Add(this.topSandBarDock);
     base.Name = "CodeEditor";
     this.Text = "Far Cry 2 Script Editor";
     dockContainer.ResumeLayout(false);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.topSandBarDock.ResumeLayout(false);
     this.contextMenuStrip1.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Пример #16
0
        private void CreateToolBar(string name, ToolBarInitialPos initialPos)
        {
            TD.SandBar.ToolBar temp = new TD.SandBar.ToolBar();
            temp.Name = name;
            temp.Overflow = ToolBarOverflow.Hide;
            temp.AllowHorizontalDock = true;
            temp.AllowRightToLeft = true;
            temp.AllowVerticalDock = true;
            temp.Closable = false;
            temp.Movable = true;
            temp.Tearable = true;
            temp.DockLine = 2;

            ToolBarDef tbd = new ToolBarDef();
            tbd.NWNToolsetDockName = GetDockNameFromPosEnum(initialPos);
            tbd.toolBar = temp;

            AllToolbars.Add(name, tbd);
        }
Пример #17
-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);
 }