示例#1
0
 internal static void smethod_0(SandDockManager manager, XmlNode xmlNode_0)
 {
     TypeConverter converter = TypeDescriptor.GetConverter(typeof(long));
     TypeConverter converter2 = TypeDescriptor.GetConverter(typeof(int));
     TypeConverter converter3 = TypeDescriptor.GetConverter(typeof(Size));
     TypeConverter converter4 = TypeDescriptor.GetConverter(typeof(Point));
     DockControl dockControl = manager.FindControl(new Guid(xmlNode_0.Attributes["Guid"].Value));
     if (dockControl != null)
     {
         if (xmlNode_0.Attributes["LastFocused"] != null)
         {
             dockControl.MetaData.SaveFocused(DateTime.FromFileTime((long)converter.ConvertFromString(null, CultureInfo.InvariantCulture, xmlNode_0.Attributes["LastFocused"].Value)));
         }
         if (xmlNode_0.Attributes["DockedSize"] != null)
         {
             dockControl.MetaData.SaveDockedContentSize((int)converter2.ConvertFromString(xmlNode_0.Attributes["DockedSize"].Value));
         }
         if (xmlNode_0.Attributes["PopupSize"] != null)
         {
             dockControl.PopupSize = (int)converter2.ConvertFromString(xmlNode_0.Attributes["PopupSize"].Value);
         }
         dockControl.FloatingLocation = (Point)converter4.ConvertFromString(null, CultureInfo.InvariantCulture, xmlNode_0.Attributes["FloatingLocation"].Value);
         dockControl.FloatingSize = (Size)converter3.ConvertFromString(null, CultureInfo.InvariantCulture, xmlNode_0.Attributes["FloatingSize"].Value);
         if (xmlNode_0.Attributes["LastOpenDockSituation"] != null)
         {
             dockControl.MetaData.SaveOpenDockSituation((DockSituation)Enum.Parse(typeof(DockSituation), xmlNode_0.Attributes["LastOpenDockSituation"].Value));
         }
         if (xmlNode_0.Attributes["LastFixedDockSituation"] != null)
         {
             dockControl.MetaData.SaveFixedDockSituation((DockSituation)Enum.Parse(typeof(DockSituation), xmlNode_0.Attributes["LastFixedDockSituation"].Value));
         }
         if (xmlNode_0.Attributes["LastFixedDockLocation"] != null)
         {
             ContainerDockLocation containerDockLocation = (ContainerDockLocation)Enum.Parse(typeof(ContainerDockLocation), xmlNode_0.Attributes["LastFixedDockLocation"].Value);
             if (!Enum.IsDefined(typeof(ContainerDockLocation), containerDockLocation))
             {
                 containerDockLocation = ContainerDockLocation.Right;
             }
             dockControl.MetaData.SaveFixedDockSide(containerDockLocation);
         }
         if (xmlNode_0.Attributes["LastFloatingWindowGuid"] != null)
         {
             dockControl.MetaData.SaveFloatingWindowGuid(new Guid(xmlNode_0.Attributes["LastFloatingWindowGuid"].Value));
         }
         if (xmlNode_0.Attributes["LastDockContainerCount"] != null)
         {
             dockControl.MetaData.DockedState.Int32_3 = (int)converter2.ConvertFromString(xmlNode_0.Attributes["LastDockContainerCount"].Value);
         }
         if (xmlNode_0.Attributes["LastDockContainerIndex"] != null)
         {
             dockControl.MetaData.DockedState.Int32_2 = (int)converter2.ConvertFromString(xmlNode_0.Attributes["LastDockContainerIndex"].Value);
         }
         Class22.smethod_1(dockControl, xmlNode_0, dockControl.MetaData.DockedState, "Docked");
         Class22.smethod_1(dockControl, xmlNode_0, dockControl.MetaData.DocumentState, "Document");
         Class22.smethod_1(dockControl, xmlNode_0, dockControl.MetaData.FloatingState, "Floating");
         return;
     }
 }
        //
        // CONSTRUCTOR
        //
        public FormWindows(SandDockManager sandDockManager) {
            InitializeComponent();

            //
            this.Icon = Resources.DIAGRAMMER;
            this.Text = Resources.TEXT_WINDOWS;

            this.columnHeaderName.Text = Resources.TEXT_NAME;
            this.columnHeaderPath.Text = Resources.TEXT_PATH;
            this.buttonActivate.Text = Resources.TEXT_ACTIVATE;
            this.buttonClose.Text = Resources.TEXT_CLOSE;
            this.buttonOK.Text = Resources.TEXT_OK;

            //
            this.m_sanDockManager = sandDockManager;

            //
            this.LoadDockControls();
        }
示例#3
0
		public DockableWindow(SandDockManager manager, Control control, string text) : base(manager, control, text)
		{
			this.method_18();
		}
示例#4
0
 public Class8(SandDockManager manager, DockContainer container, LayoutSystemBase sourceControlSystem, DockControl sourceControl, int dockedSize, Point startPoint, DockingHints dockingHints) : base(manager, container, sourceControlSystem, sourceControl, dockedSize, startPoint, dockingHints)
 {
     arrayList_0 = new ArrayList();
     if (Manager?.DockSystemContainer != null)
         method_22();
 }
示例#5
0
 public Class7(SandDockManager manager, DockContainer container, LayoutSystemBase sourceControlSystem, DockControl sourceControl, int dockedSize, Point startPoint, DockingHints dockingHints) : base(container, dockingHints, true, container.Renderer.TabStripMetrics.Height)
 {
     Manager = manager;
     Container = container;
     SourceControlSystem = sourceControlSystem;
     SourceControl = sourceControl;
     DockedSize = dockedSize;
     if (container is DocumentContainer)
     {
         cursor_0 = new Cursor(GetType().Assembly.GetManifestResourceStream("TD.SandDock.Resources.splitting.cur"));
         cursor_1 = new Cursor(GetType().Assembly.GetManifestResourceStream("TD.SandDock.Resources.splittingno.cur"));
     }
     if (sourceControlSystem is SplitLayoutSystem)
     {
         size_0 = ((FloatingContainer)container).FloatingSize;
     }
     else if (sourceControl == null)
     {
         size_0 = (sourceControlSystem as ControlLayoutSystem)?.SelectedControl?.FloatingSize ?? sourceControlSystem.Bounds.Size;
     }
     else
     {
         size_0 = sourceControl.FloatingSize;
     }
     var bounds = sourceControlSystem.Bounds;
     if (bounds.Width <= 0)
     {
         startPoint.X = size_0.Width / 2;
     }
     else
     {
         startPoint.X -= bounds.Left;
         startPoint.X = Convert.ToInt32(startPoint.X / (float)bounds.Width * size_0.Width);
     }
     point_0 = sourceControl == null ? new Point(startPoint.X, startPoint.Y - bounds.Top) : new Point(startPoint.X, size_0.Height - (bounds.Bottom - startPoint.Y));
     point_0.Y = Math.Max(point_0.Y, 0);
     point_0.Y = Math.Min(point_0.Y, size_0.Height);
     ControlLayoutSystem_0 = method_10();
     Container.OnDockingStarted(EventArgs.Empty);
 }
示例#6
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(MainWindow));
     this.uiSandDockManager = new TD.SandDock.SandDockManager();
     this.leftSandDock = new TD.SandDock.DockContainer();
     this.uiNavigatorDock = new TD.SandDock.DockControl();
     this.uiNavigatorControl = new iCodeGenerator.DatabaseNavigator.NavigatorControl();
     this.uiSnippets = new TD.SandDock.DockControl();
     this.uiPropertiesDock = new TD.SandDock.DockControl();
     this.uiPropertiesPanel = new System.Windows.Forms.Panel();
     this.uiPropertyEditor = new System.Windows.Forms.PropertyGrid();
     this.uiCustomValuesDock = new TD.SandDock.DockControl();
     this.uiCustomValuesDataGrid = new System.Windows.Forms.DataGrid();
     this.uiCustomValuesGridStyle = new System.Windows.Forms.DataGridTableStyle();
     this.uiName = new System.Windows.Forms.DataGridTextBoxColumn();
     this.uiValue = new System.Windows.Forms.DataGridTextBoxColumn();
     this.rightSandDock = new TD.SandDock.DockContainer();
     this.bottomSandDock = new TD.SandDock.DockContainer();
     this.topSandDock = new TD.SandDock.DockContainer();
     this.uiTemplateContainer = new TD.SandDock.DocumentContainer();
     this.uiTemplateDock = new TD.SandDock.DockControl();
     this.uiTemplateTextBox = new System.Windows.Forms.RichTextBox();
     this.uiGenerateCodeDock = new TD.SandDock.DockControl();
     this.uiGeneratedCodeTextBox = new System.Windows.Forms.RichTextBox();
     this.uiOpenTemplateDialog = new System.Windows.Forms.OpenFileDialog();
     this.uiSaveDialog = new System.Windows.Forms.SaveFileDialog();
     this.uiOpenMergeDialog = new System.Windows.Forms.OpenFileDialog();
     this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.connectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.disconnectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.configureCOnnectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.openTemplateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.saveTemplateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.saveAsTemplateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.saveResultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.uNdoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.navigatorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.propertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.customValuesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.generatorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.generateCodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.fileGenerateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.fileGeneratorConfigurationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.openOutputFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.uiMenuStrip = new System.Windows.Forms.MenuStrip();
     this.uiToolStrip = new System.Windows.Forms.ToolStrip();
     this.tsGenerateCode = new System.Windows.Forms.ToolStripButton();
     this.tsGenerateFile = new System.Windows.Forms.ToolStripButton();
     this.tsGenerateMerge = new System.Windows.Forms.ToolStripButton();
     this.panel1 = new System.Windows.Forms.Panel();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
     this.uiStatusStrip = new System.Windows.Forms.StatusStrip();
     this.leftSandDock.SuspendLayout();
     this.uiNavigatorDock.SuspendLayout();
     this.uiPropertiesDock.SuspendLayout();
     this.uiPropertiesPanel.SuspendLayout();
     this.uiCustomValuesDock.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.uiCustomValuesDataGrid)).BeginInit();
     this.rightSandDock.SuspendLayout();
     this.uiTemplateContainer.SuspendLayout();
     this.uiTemplateDock.SuspendLayout();
     this.uiGenerateCodeDock.SuspendLayout();
     this.uiMenuStrip.SuspendLayout();
     this.uiToolStrip.SuspendLayout();
     this.panel1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.toolStripContainer1.BottomToolStripPanel.SuspendLayout();
     this.toolStripContainer1.ContentPanel.SuspendLayout();
     this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
     this.toolStripContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // uiSandDockManager
     //
     this.uiSandDockManager.DockingManager = TD.SandDock.DockingManager.Whidbey;
     this.uiSandDockManager.OwnerForm = this;
     //
     // leftSandDock
     //
     this.leftSandDock.Controls.Add(this.uiNavigatorDock);
     this.leftSandDock.Controls.Add(this.uiSnippets);
     this.leftSandDock.Dock = System.Windows.Forms.DockStyle.Left;
     this.leftSandDock.Guid = new System.Guid("4447f9b6-bb46-4444-9654-653e0fac0c75");
     this.leftSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] {
     ((TD.SandDock.LayoutSystemBase)(new TD.SandDock.ControlLayoutSystem(196, 513, new TD.SandDock.DockControl[] {
                 this.uiNavigatorDock,
                 this.uiSnippets}, this.uiNavigatorDock)))});
     this.leftSandDock.Location = new System.Drawing.Point(0, 0);
     this.leftSandDock.Manager = this.uiSandDockManager;
     this.leftSandDock.Name = "leftSandDock";
     this.leftSandDock.Size = new System.Drawing.Size(200, 513);
     this.leftSandDock.TabIndex = 2;
     //
     // uiNavigatorDock
     //
     this.uiNavigatorDock.Controls.Add(this.uiNavigatorControl);
     this.uiNavigatorDock.Guid = new System.Guid("be35efbb-904d-42cd-ab9a-e897e77040b6");
     this.uiNavigatorDock.Location = new System.Drawing.Point(0, 18);
     this.uiNavigatorDock.Name = "uiNavigatorDock";
     this.uiNavigatorDock.Size = new System.Drawing.Size(196, 472);
     this.uiNavigatorDock.TabIndex = 0;
     this.uiNavigatorDock.Text = "Navigator";
     //
     // uiNavigatorControl
     //
     this.uiNavigatorControl.ConnectionString = "";
     this.uiNavigatorControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.uiNavigatorControl.Location = new System.Drawing.Point(0, 0);
     this.uiNavigatorControl.Name = "uiNavigatorControl";
     this.uiNavigatorControl.ProviderType = iCodeGenerator.GenericDataAccess.DataProviderType.MSSQL;
     this.uiNavigatorControl.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.uiNavigatorControl.Size = new System.Drawing.Size(196, 472);
     this.uiNavigatorControl.TabIndex = 0;
     this.uiNavigatorControl.ColumnSelect += new iCodeGenerator.DatabaseNavigator.NavigatorControl.ColumnEventHandler(this.uiNavigatorControl_ColumnSelect);
     this.uiNavigatorControl.ColumnShowProperties += new iCodeGenerator.DatabaseNavigator.NavigatorControl.ColumnEventHandler(this.uiNavigatorControl_ColumnShowProperties);
     this.uiNavigatorControl.TableSelect += new iCodeGenerator.DatabaseNavigator.NavigatorControl.TableEventHandler(this.uiNavigatorControl_TableSelect);
     this.uiNavigatorControl.TablesSelect += new iCodeGenerator.DatabaseNavigator.NavigatorControl.TablesEventHandler(this.uiNavigatorControl_TablesSelect);
     this.uiNavigatorControl.DatabaseSelect += new iCodeGenerator.DatabaseNavigator.NavigatorControl.DatabaseEventHandler(this.uiNavigatorControl_DatabaseSelect);
     //
     // uiSnippets
     //
     this.uiSnippets.Guid = new System.Guid("a7b3b4f4-8ba9-4862-9b34-5e2c54880aec");
     this.uiSnippets.Location = new System.Drawing.Point(0, 18);
     this.uiSnippets.Name = "uiSnippets";
     this.uiSnippets.Size = new System.Drawing.Size(196, 472);
     this.uiSnippets.TabIndex = 1;
     this.uiSnippets.Text = "Snippets";
     //
     // uiPropertiesDock
     //
     this.uiPropertiesDock.Controls.Add(this.uiPropertiesPanel);
     this.uiPropertiesDock.Guid = new System.Guid("4f16c3df-5375-4159-85ae-522ff2daa5b4");
     this.uiPropertiesDock.Location = new System.Drawing.Point(4, 18);
     this.uiPropertiesDock.Name = "uiPropertiesDock";
     this.uiPropertiesDock.Size = new System.Drawing.Size(196, 213);
     this.uiPropertiesDock.TabIndex = 1;
     this.uiPropertiesDock.Text = "Properties";
     //
     // uiPropertiesPanel
     //
     this.uiPropertiesPanel.Controls.Add(this.uiPropertyEditor);
     this.uiPropertiesPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.uiPropertiesPanel.Location = new System.Drawing.Point(0, 0);
     this.uiPropertiesPanel.Name = "uiPropertiesPanel";
     this.uiPropertiesPanel.Size = new System.Drawing.Size(196, 213);
     this.uiPropertiesPanel.TabIndex = 0;
     //
     // uiPropertyEditor
     //
     this.uiPropertyEditor.Dock = System.Windows.Forms.DockStyle.Fill;
     this.uiPropertyEditor.HelpVisible = false;
     this.uiPropertyEditor.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.uiPropertyEditor.Location = new System.Drawing.Point(0, 0);
     this.uiPropertyEditor.Name = "uiPropertyEditor";
     this.uiPropertyEditor.Size = new System.Drawing.Size(196, 213);
     this.uiPropertyEditor.TabIndex = 0;
     this.uiPropertyEditor.ToolbarVisible = false;
     //
     // uiCustomValuesDock
     //
     this.uiCustomValuesDock.Controls.Add(this.uiCustomValuesDataGrid);
     this.uiCustomValuesDock.Guid = new System.Guid("efe8850a-621c-48c4-a603-1a963b397082");
     this.uiCustomValuesDock.Location = new System.Drawing.Point(4, 276);
     this.uiCustomValuesDock.Name = "uiCustomValuesDock";
     this.uiCustomValuesDock.Size = new System.Drawing.Size(196, 214);
     this.uiCustomValuesDock.TabIndex = 2;
     this.uiCustomValuesDock.Text = "Custom Values";
     this.uiCustomValuesDock.Leave += new System.EventHandler(this.uiCustomValuesDock_Leave);
     //
     // uiCustomValuesDataGrid
     //
     this.uiCustomValuesDataGrid.CaptionVisible = false;
     this.uiCustomValuesDataGrid.DataMember = "";
     this.uiCustomValuesDataGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.uiCustomValuesDataGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.uiCustomValuesDataGrid.Location = new System.Drawing.Point(0, 0);
     this.uiCustomValuesDataGrid.Name = "uiCustomValuesDataGrid";
     this.uiCustomValuesDataGrid.PreferredColumnWidth = 125;
     this.uiCustomValuesDataGrid.RowHeadersVisible = false;
     this.uiCustomValuesDataGrid.Size = new System.Drawing.Size(196, 214);
     this.uiCustomValuesDataGrid.TabIndex = 0;
     this.uiCustomValuesDataGrid.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.uiCustomValuesGridStyle});
     //
     // uiCustomValuesGridStyle
     //
     this.uiCustomValuesGridStyle.DataGrid = this.uiCustomValuesDataGrid;
     this.uiCustomValuesGridStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.uiName,
     this.uiValue});
     this.uiCustomValuesGridStyle.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     //
     // uiName
     //
     this.uiName.Format = "";
     this.uiName.FormatInfo = null;
     this.uiName.HeaderText = "Tag";
     this.uiName.MappingName = "Name";
     this.uiName.Width = 50;
     //
     // uiValue
     //
     this.uiValue.Format = "";
     this.uiValue.FormatInfo = null;
     this.uiValue.HeaderText = "Value";
     this.uiValue.MappingName = "Value";
     this.uiValue.Width = 75;
     //
     // rightSandDock
     //
     this.rightSandDock.Controls.Add(this.uiPropertiesDock);
     this.rightSandDock.Controls.Add(this.uiCustomValuesDock);
     this.rightSandDock.Dock = System.Windows.Forms.DockStyle.Right;
     this.rightSandDock.Guid = new System.Guid("5a7c170b-4aad-4827-bf24-de523a3bac08");
     this.rightSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] {
     ((TD.SandDock.LayoutSystemBase)(new TD.SandDock.ControlLayoutSystem(196, 254, new TD.SandDock.DockControl[] {
                 this.uiPropertiesDock}, this.uiPropertiesDock))),
     ((TD.SandDock.LayoutSystemBase)(new TD.SandDock.ControlLayoutSystem(196, 254, new TD.SandDock.DockControl[] {
                 this.uiCustomValuesDock}, this.uiCustomValuesDock)))});
     this.rightSandDock.Location = new System.Drawing.Point(586, 0);
     this.rightSandDock.Manager = this.uiSandDockManager;
     this.rightSandDock.Name = "rightSandDock";
     this.rightSandDock.Size = new System.Drawing.Size(200, 513);
     this.rightSandDock.TabIndex = 3;
     //
     // bottomSandDock
     //
     this.bottomSandDock.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandDock.Guid = new System.Guid("864e047d-2a9d-4fba-bc18-f83754ae5214");
     this.bottomSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.bottomSandDock.Location = new System.Drawing.Point(0, 513);
     this.bottomSandDock.Manager = this.uiSandDockManager;
     this.bottomSandDock.Name = "bottomSandDock";
     this.bottomSandDock.Size = new System.Drawing.Size(786, 0);
     this.bottomSandDock.TabIndex = 4;
     //
     // topSandDock
     //
     this.topSandDock.Dock = System.Windows.Forms.DockStyle.Top;
     this.topSandDock.Guid = new System.Guid("24d50ee0-b600-4b52-a431-7e9715efbf6d");
     this.topSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.topSandDock.Location = new System.Drawing.Point(0, 0);
     this.topSandDock.Manager = this.uiSandDockManager;
     this.topSandDock.Name = "topSandDock";
     this.topSandDock.Size = new System.Drawing.Size(786, 0);
     this.topSandDock.TabIndex = 5;
     //
     // uiTemplateContainer
     //
     this.uiTemplateContainer.Controls.Add(this.uiTemplateDock);
     this.uiTemplateContainer.Controls.Add(this.uiGenerateCodeDock);
     this.uiTemplateContainer.Cursor = System.Windows.Forms.Cursors.Default;
     this.uiTemplateContainer.Guid = new System.Guid("e2d7d100-338b-414b-a8f5-696d61a3348a");
     this.uiTemplateContainer.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] {
     ((TD.SandDock.LayoutSystemBase)(new TD.SandDock.DocumentLayoutSystem(384, 511, new TD.SandDock.DockControl[] {
                 this.uiTemplateDock,
                 this.uiGenerateCodeDock}, this.uiTemplateDock)))});
     this.uiTemplateContainer.Location = new System.Drawing.Point(200, 0);
     this.uiTemplateContainer.Manager = null;
     this.uiTemplateContainer.Name = "uiTemplateContainer";
     this.uiTemplateContainer.Size = new System.Drawing.Size(386, 513);
     this.uiTemplateContainer.TabIndex = 10;
     //
     // uiTemplateDock
     //
     this.uiTemplateDock.Closable = false;
     this.uiTemplateDock.Controls.Add(this.uiTemplateTextBox);
     this.uiTemplateDock.Guid = new System.Guid("6065db1e-e6bf-4209-8cb9-03c7805d045a");
     this.uiTemplateDock.Location = new System.Drawing.Point(3, 23);
     this.uiTemplateDock.Name = "uiTemplateDock";
     this.uiTemplateDock.Size = new System.Drawing.Size(380, 487);
     this.uiTemplateDock.TabIndex = 0;
     this.uiTemplateDock.Text = "Template";
     //
     // uiTemplateTextBox
     //
     this.uiTemplateTextBox.AcceptsTab = true;
     this.uiTemplateTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.uiTemplateTextBox.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.uiTemplateTextBox.Location = new System.Drawing.Point(0, 0);
     this.uiTemplateTextBox.Name = "uiTemplateTextBox";
     this.uiTemplateTextBox.Size = new System.Drawing.Size(380, 487);
     this.uiTemplateTextBox.TabIndex = 0;
     this.uiTemplateTextBox.Text = "";
     //
     // uiGenerateCodeDock
     //
     this.uiGenerateCodeDock.Closable = false;
     this.uiGenerateCodeDock.Controls.Add(this.uiGeneratedCodeTextBox);
     this.uiGenerateCodeDock.Guid = new System.Guid("26ae2cc4-bc92-4191-b399-333e1ca9da35");
     this.uiGenerateCodeDock.Location = new System.Drawing.Point(3, 23);
     this.uiGenerateCodeDock.Name = "uiGenerateCodeDock";
     this.uiGenerateCodeDock.Size = new System.Drawing.Size(380, 463);
     this.uiGenerateCodeDock.TabIndex = 1;
     this.uiGenerateCodeDock.Text = "Generated Code";
     this.uiGenerateCodeDock.Enter += new System.EventHandler(this.uiGenerateCodeButton_Activate);
     //
     // uiGeneratedCodeTextBox
     //
     this.uiGeneratedCodeTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.uiGeneratedCodeTextBox.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.uiGeneratedCodeTextBox.Location = new System.Drawing.Point(0, 0);
     this.uiGeneratedCodeTextBox.Name = "uiGeneratedCodeTextBox";
     this.uiGeneratedCodeTextBox.ReadOnly = true;
     this.uiGeneratedCodeTextBox.Size = new System.Drawing.Size(380, 463);
     this.uiGeneratedCodeTextBox.TabIndex = 0;
     this.uiGeneratedCodeTextBox.Text = "";
     //
     // uiOpenTemplateDialog
     //
     this.uiOpenTemplateDialog.Filter = "All Files|*.*|Text Files|*.txt";
     this.uiOpenTemplateDialog.Title = "Open Template";
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.connectToolStripMenuItem,
     this.disconnectToolStripMenuItem,
     this.configureCOnnectionToolStripMenuItem,
     this.openTemplateToolStripMenuItem,
     this.saveTemplateToolStripMenuItem,
     this.saveAsTemplateToolStripMenuItem,
     this.saveResultToolStripMenuItem,
     this.exitToolStripMenuItem});
     this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
     this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
     this.fileToolStripMenuItem.Text = "File";
     //
     // connectToolStripMenuItem
     //
     this.connectToolStripMenuItem.Name = "connectToolStripMenuItem";
     this.connectToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
     this.connectToolStripMenuItem.Text = "Connect";
     this.connectToolStripMenuItem.Click += new System.EventHandler(this.uiConnect_Activate);
     //
     // disconnectToolStripMenuItem
     //
     this.disconnectToolStripMenuItem.Name = "disconnectToolStripMenuItem";
     this.disconnectToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
     this.disconnectToolStripMenuItem.Text = "Disconnect";
     this.disconnectToolStripMenuItem.Click += new System.EventHandler(this.uiDisconnect_Activate);
     //
     // configureCOnnectionToolStripMenuItem
     //
     this.configureCOnnectionToolStripMenuItem.Name = "configureCOnnectionToolStripMenuItem";
     this.configureCOnnectionToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
     this.configureCOnnectionToolStripMenuItem.Text = "Configure Connection";
     this.configureCOnnectionToolStripMenuItem.Click += new System.EventHandler(this.uiOpenConnectionString_Activate);
     //
     // openTemplateToolStripMenuItem
     //
     this.openTemplateToolStripMenuItem.Name = "openTemplateToolStripMenuItem";
     this.openTemplateToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
     this.openTemplateToolStripMenuItem.Text = "Open Template";
     this.openTemplateToolStripMenuItem.Click += new System.EventHandler(this.uiOpenTemplateButton_Activate);
     //
     // saveTemplateToolStripMenuItem
     //
     this.saveTemplateToolStripMenuItem.Enabled = false;
     this.saveTemplateToolStripMenuItem.Name = "saveTemplateToolStripMenuItem";
     this.saveTemplateToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
     this.saveTemplateToolStripMenuItem.Text = "Save Template";
     this.saveTemplateToolStripMenuItem.Click += new System.EventHandler(this.uiSaveTemplateButton_Activate);
     //
     // saveAsTemplateToolStripMenuItem
     //
     this.saveAsTemplateToolStripMenuItem.Name = "saveAsTemplateToolStripMenuItem";
     this.saveAsTemplateToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
     this.saveAsTemplateToolStripMenuItem.Text = "Save As Template";
     this.saveAsTemplateToolStripMenuItem.Click += new System.EventHandler(this.uiSaveAsTemplateButton_Activate);
     //
     // saveResultToolStripMenuItem
     //
     this.saveResultToolStripMenuItem.Name = "saveResultToolStripMenuItem";
     this.saveResultToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
     this.saveResultToolStripMenuItem.Text = "Save Result";
     this.saveResultToolStripMenuItem.Click += new System.EventHandler(this.uiSaveResultButton_Activate);
     //
     // exitToolStripMenuItem
     //
     this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
     this.exitToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
     this.exitToolStripMenuItem.Text = "Exit";
     this.exitToolStripMenuItem.Click += new System.EventHandler(this.uiExitMenuButton_Activate);
     //
     // editToolStripMenuItem
     //
     this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.uNdoToolStripMenuItem,
     this.redoToolStripMenuItem,
     this.cutToolStripMenuItem,
     this.copyToolStripMenuItem,
     this.pasteToolStripMenuItem});
     this.editToolStripMenuItem.Name = "editToolStripMenuItem";
     this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
     this.editToolStripMenuItem.Text = "Edit";
     //
     // uNdoToolStripMenuItem
     //
     this.uNdoToolStripMenuItem.Name = "uNdoToolStripMenuItem";
     this.uNdoToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
     this.uNdoToolStripMenuItem.Text = "Undo";
     this.uNdoToolStripMenuItem.Click += new System.EventHandler(this.uiUndoButton_Activate);
     //
     // redoToolStripMenuItem
     //
     this.redoToolStripMenuItem.Name = "redoToolStripMenuItem";
     this.redoToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
     this.redoToolStripMenuItem.Text = "Redo";
     this.redoToolStripMenuItem.Click += new System.EventHandler(this.uiRedoButton_Activate);
     //
     // cutToolStripMenuItem
     //
     this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
     this.cutToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
     this.cutToolStripMenuItem.Text = "Cut";
     this.cutToolStripMenuItem.Click += new System.EventHandler(this.uiCutButton_Activate);
     //
     // copyToolStripMenuItem
     //
     this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
     this.copyToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
     this.copyToolStripMenuItem.Text = "Copy";
     this.copyToolStripMenuItem.Click += new System.EventHandler(this.uiCopyButton_Activate);
     //
     // pasteToolStripMenuItem
     //
     this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
     this.pasteToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
     this.pasteToolStripMenuItem.Text = "Paste";
     this.pasteToolStripMenuItem.Click += new System.EventHandler(this.uiPasteButton_Activate);
     //
     // viewToolStripMenuItem
     //
     this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.navigatorToolStripMenuItem,
     this.propertiesToolStripMenuItem,
     this.customValuesToolStripMenuItem});
     this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
     this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
     this.viewToolStripMenuItem.Text = "View";
     //
     // navigatorToolStripMenuItem
     //
     this.navigatorToolStripMenuItem.Name = "navigatorToolStripMenuItem";
     this.navigatorToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
     this.navigatorToolStripMenuItem.Text = "Navigator";
     this.navigatorToolStripMenuItem.Click += new System.EventHandler(this.uiViewNavigatorButton_Activate);
     //
     // propertiesToolStripMenuItem
     //
     this.propertiesToolStripMenuItem.Name = "propertiesToolStripMenuItem";
     this.propertiesToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
     this.propertiesToolStripMenuItem.Text = "Properties";
     this.propertiesToolStripMenuItem.Click += new System.EventHandler(this.uiViewPropertiesButton_Activate);
     //
     // customValuesToolStripMenuItem
     //
     this.customValuesToolStripMenuItem.Name = "customValuesToolStripMenuItem";
     this.customValuesToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
     this.customValuesToolStripMenuItem.Text = "Custom Values";
     this.customValuesToolStripMenuItem.Click += new System.EventHandler(this.uiViewCustomValuesButton_Activate);
     //
     // generatorToolStripMenuItem
     //
     this.generatorToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.generateCodeToolStripMenuItem,
     this.fileGenerateToolStripMenuItem,
     this.fileGeneratorConfigurationToolStripMenuItem,
     this.openOutputFolderToolStripMenuItem});
     this.generatorToolStripMenuItem.Name = "generatorToolStripMenuItem";
     this.generatorToolStripMenuItem.Size = new System.Drawing.Size(71, 20);
     this.generatorToolStripMenuItem.Text = "Generator";
     //
     // generateCodeToolStripMenuItem
     //
     this.generateCodeToolStripMenuItem.Name = "generateCodeToolStripMenuItem";
     this.generateCodeToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
     this.generateCodeToolStripMenuItem.Text = "(Generate Code)";
     this.generateCodeToolStripMenuItem.Click += new System.EventHandler(this.uiGenerateCodeButton_Activate);
     //
     // fileGenerateToolStripMenuItem
     //
     this.fileGenerateToolStripMenuItem.Name = "fileGenerateToolStripMenuItem";
     this.fileGenerateToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
     this.fileGenerateToolStripMenuItem.Text = "File Generate";
     this.fileGenerateToolStripMenuItem.Click += new System.EventHandler(this.uiFileGenerateButton_Activate);
     //
     // fileGeneratorConfigurationToolStripMenuItem
     //
     this.fileGeneratorConfigurationToolStripMenuItem.Name = "fileGeneratorConfigurationToolStripMenuItem";
     this.fileGeneratorConfigurationToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
     this.fileGeneratorConfigurationToolStripMenuItem.Text = "File Generator Configuration";
     this.fileGeneratorConfigurationToolStripMenuItem.Click += new System.EventHandler(this.uiFileGeneratorConfigButton_Activate);
     //
     // openOutputFolderToolStripMenuItem
     //
     this.openOutputFolderToolStripMenuItem.Name = "openOutputFolderToolStripMenuItem";
     this.openOutputFolderToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
     this.openOutputFolderToolStripMenuItem.Text = "Open Output Folder";
     this.openOutputFolderToolStripMenuItem.Click += new System.EventHandler(this.uiOpenOutputFolder_Activate);
     //
     // helpToolStripMenuItem
     //
     this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.aboutToolStripMenuItem});
     this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
     this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
     this.helpToolStripMenuItem.Text = "Help";
     //
     // aboutToolStripMenuItem
     //
     this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
     this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
     this.aboutToolStripMenuItem.Text = "About";
     this.aboutToolStripMenuItem.Click += new System.EventHandler(this.uiAboutButton_Activate);
     //
     // uiMenuStrip
     //
     this.uiMenuStrip.BackColor = System.Drawing.SystemColors.Control;
     this.uiMenuStrip.Dock = System.Windows.Forms.DockStyle.None;
     this.uiMenuStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible;
     this.uiMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.fileToolStripMenuItem,
     this.editToolStripMenuItem,
     this.viewToolStripMenuItem,
     this.generatorToolStripMenuItem,
     this.helpToolStripMenuItem});
     this.uiMenuStrip.Location = new System.Drawing.Point(3, 0);
     this.uiMenuStrip.Name = "uiMenuStrip";
     this.uiMenuStrip.Size = new System.Drawing.Size(247, 24);
     this.uiMenuStrip.Stretch = false;
     this.uiMenuStrip.TabIndex = 1;
     this.uiMenuStrip.Text = "menuStrip1";
     //
     // uiToolStrip
     //
     this.uiToolStrip.BackColor = System.Drawing.SystemColors.Control;
     this.uiToolStrip.Dock = System.Windows.Forms.DockStyle.None;
     this.uiToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tsGenerateCode,
     this.tsGenerateFile,
     this.tsGenerateMerge});
     this.uiToolStrip.Location = new System.Drawing.Point(283, 0);
     this.uiToolStrip.Name = "uiToolStrip";
     this.uiToolStrip.Size = new System.Drawing.Size(264, 25);
     this.uiToolStrip.TabIndex = 11;
     this.uiToolStrip.Text = "toolStrip1";
     //
     // tsGenerateCode
     //
     this.tsGenerateCode.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.tsGenerateCode.Image = ((System.Drawing.Image)(resources.GetObject("tsGenerateCode.Image")));
     this.tsGenerateCode.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsGenerateCode.Name = "tsGenerateCode";
     this.tsGenerateCode.Size = new System.Drawing.Size(66, 22);
     this.tsGenerateCode.Text = "(Generate)";
     this.tsGenerateCode.Click += new System.EventHandler(this.uiGenerateButton_Activate);
     //
     // tsGenerateFile
     //
     this.tsGenerateFile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.tsGenerateFile.Image = ((System.Drawing.Image)(resources.GetObject("tsGenerateFile.Image")));
     this.tsGenerateFile.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsGenerateFile.Name = "tsGenerateFile";
     this.tsGenerateFile.Size = new System.Drawing.Size(79, 22);
     this.tsGenerateFile.Text = "File Generate";
     this.tsGenerateFile.Click += new System.EventHandler(this.uiFileGenerator_Activate);
     //
     // tsGenerateMerge
     //
     this.tsGenerateMerge.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.tsGenerateMerge.Image = ((System.Drawing.Image)(resources.GetObject("tsGenerateMerge.Image")));
     this.tsGenerateMerge.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsGenerateMerge.Name = "tsGenerateMerge";
     this.tsGenerateMerge.Size = new System.Drawing.Size(76, 22);
     this.tsGenerateMerge.Text = "Merge Code";
     this.tsGenerateMerge.Click += new System.EventHandler(this.uiMergeButton_Activate);
     //
     // panel1
     //
     this.panel1.AutoSize = true;
     this.panel1.Controls.Add(this.uiTemplateContainer);
     this.panel1.Controls.Add(this.leftSandDock);
     this.panel1.Controls.Add(this.rightSandDock);
     this.panel1.Controls.Add(this.topSandDock);
     this.panel1.Controls.Add(this.bottomSandDock);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(3, 3);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(786, 513);
     this.panel1.TabIndex = 12;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.AutoSize = true;
     this.tableLayoutPanel1.ColumnCount = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0);
     this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 2;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size = new System.Drawing.Size(792, 519);
     this.tableLayoutPanel1.TabIndex = 1;
     //
     // toolStripContainer1
     //
     //
     // toolStripContainer1.BottomToolStripPanel
     //
     this.toolStripContainer1.BottomToolStripPanel.Controls.Add(this.uiStatusStrip);
     //
     // toolStripContainer1.ContentPanel
     //
     this.toolStripContainer1.ContentPanel.Controls.Add(this.tableLayoutPanel1);
     this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(792, 519);
     this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
     this.toolStripContainer1.Name = "toolStripContainer1";
     this.toolStripContainer1.Size = new System.Drawing.Size(792, 566);
     this.toolStripContainer1.TabIndex = 12;
     this.toolStripContainer1.Text = "toolStripContainer1";
     //
     // toolStripContainer1.TopToolStripPanel
     //
     this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.uiToolStrip);
     this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.uiMenuStrip);
     //
     // uiStatusStrip
     //
     this.uiStatusStrip.Dock = System.Windows.Forms.DockStyle.None;
     this.uiStatusStrip.Location = new System.Drawing.Point(0, 0);
     this.uiStatusStrip.Name = "uiStatusStrip";
     this.uiStatusStrip.Size = new System.Drawing.Size(792, 22);
     this.uiStatusStrip.TabIndex = 1;
     this.uiStatusStrip.Text = "statusStrip1";
     //
     // MainWindow
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(792, 566);
     this.Controls.Add(this.toolStripContainer1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.uiMenuStrip;
     this.Name = "MainWindow";
     this.Text = "iCode+Generator";
     this.leftSandDock.ResumeLayout(false);
     this.uiNavigatorDock.ResumeLayout(false);
     this.uiPropertiesDock.ResumeLayout(false);
     this.uiPropertiesPanel.ResumeLayout(false);
     this.uiCustomValuesDock.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.uiCustomValuesDataGrid)).EndInit();
     this.rightSandDock.ResumeLayout(false);
     this.uiTemplateContainer.ResumeLayout(false);
     this.uiTemplateDock.ResumeLayout(false);
     this.uiGenerateCodeDock.ResumeLayout(false);
     this.uiMenuStrip.ResumeLayout(false);
     this.uiMenuStrip.PerformLayout();
     this.uiToolStrip.ResumeLayout(false);
     this.uiToolStrip.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.toolStripContainer1.BottomToolStripPanel.ResumeLayout(false);
     this.toolStripContainer1.BottomToolStripPanel.PerformLayout();
     this.toolStripContainer1.ContentPanel.ResumeLayout(false);
     this.toolStripContainer1.ContentPanel.PerformLayout();
     this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
     this.toolStripContainer1.TopToolStripPanel.PerformLayout();
     this.toolStripContainer1.ResumeLayout(false);
     this.toolStripContainer1.PerformLayout();
     this.ResumeLayout(false);
 }
示例#7
0
 internal void method_0(SandDockManager manager, DockContainer container, LayoutSystemBase layoutSystem, DockControl control, int int_2, Point point_0, DockingHints dockingHints, DockingManager dockingManager_0)
 {
     if (dockingManager_0 == DockingManager.Whidbey && AbstractManager.smethod_0())
     {
         class7_0 = new Class8(manager, DockContainer, this, control, int_2, point_0, dockingHints);
     }
     else
     {
         class7_0 = new Class7(manager, DockContainer, this, control, int_2, point_0, dockingHints);
     }
     class7_0.DockingManagerFinished += OnDockingManagerFinished;
     class7_0.Cancalled += OnCancalled;
     class7_0.OnMouseMove(Cursor.Position);
 }
示例#8
0
 public Class11(SandDockManager manager, DockContainer container, Point startPoint) : base(container, manager.DockingHints, false)
 {
     _container = container;
     Rectangle rectangle = Rectangle.Empty;
     rectangle = Class7.smethod_2(Class7.smethod_1(container.Parent), container.Parent);
     rectangle = new Rectangle(container.PointToClient(rectangle.Location), rectangle.Size);
     int num = manager?.MinimumDockContainerSize ?? 30;
     num = Math.Max(num, LayoutUtilities.smethod_12(container));
     int num2 = manager?.MaximumDockContainerSize ?? 500;
     int int32_ = container.Int32_0;
     switch (container.Dock)
     {
         case DockStyle.Top:
             int_6 = startPoint.Y - (int32_ - num);
             int_7 = Math.Min(rectangle.Bottom - 20, startPoint.Y + (num2 - int32_));
             int_9 = startPoint.Y - container.Rectangle_0.Y;
             break;
         case DockStyle.Bottom:
             int_6 = Math.Max(rectangle.Top + 20, startPoint.Y - (num2 - int32_));
             int_7 = startPoint.Y + (int32_ - num);
             int_9 = startPoint.Y - container.Rectangle_0.Y;
             break;
         case DockStyle.Left:
             int_6 = startPoint.X - (int32_ - num);
             int_7 = Math.Min(rectangle.Right - 20, startPoint.X + (num2 - int32_));
             int_9 = startPoint.X - container.Rectangle_0.X;
             break;
         case DockStyle.Right:
             int_6 = Math.Max(rectangle.Left + 20, startPoint.X - (num2 - int32_));
             int_7 = startPoint.X + (int32_ - num);
             int_9 = startPoint.X - container.Rectangle_0.X;
             break;
     }
     OnMouseMove(startPoint);
 }
示例#9
0
		public TabbedDocument(SandDockManager manager, Control control, string text) : base(manager, control, text)
		{
			Init();
		}
示例#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
 /// <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(MainForm));
     this.sbmBars = 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.menuBarItem1 = new TD.SandBar.MenuBarItem();
     this.mbiFileNew = new TD.SandBar.MenuButtonItem();
     this.mbiFileOpen = new TD.SandBar.MenuButtonItem();
     this.mbiFileClose = new TD.SandBar.MenuButtonItem();
     this.mbiFileSave = new TD.SandBar.MenuButtonItem();
     this.mbiFileSaveAs = new TD.SandBar.MenuButtonItem();
     this.mbiFileExit = new TD.SandBar.MenuButtonItem();
     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.mbiHelpAbout = new TD.SandBar.MenuButtonItem();
     this.toolBar1 = new TD.SandBar.ToolBar();
     this.ofdSelectFile = new System.Windows.Forms.OpenFileDialog();
     this.sdmDocks = new TD.SandDock.SandDockManager();
     this.leftSandDock = new TD.SandDock.DockContainer();
     this.bottomSandDock = new TD.SandDock.DockContainer();
     this.topSandDock = new TD.SandDock.DockContainer();
     this.rightSandDock = new TD.SandDock.DockContainer();
     this.dcExplorer = new TD.SandDock.DockControl();
     this.tvContents = new System.Windows.Forms.TreeView();
     this.toolBar2 = new TD.SandBar.ToolBar();
     this.biRefresh = new TD.SandBar.ButtonItem();
     this.topSandBarDock.SuspendLayout();
     this.rightSandDock.SuspendLayout();
     this.dcExplorer.SuspendLayout();
     this.SuspendLayout();
     //
     // sbmBars
     //
     this.sbmBars.OwnerForm = this;
     //
     // leftSandBarDock
     //
     this.leftSandBarDock.Dock = System.Windows.Forms.DockStyle.Left;
     this.leftSandBarDock.Guid = new System.Guid("afce231c-b6c2-4e2e-878c-4d634b1fb218");
     this.leftSandBarDock.Location = new System.Drawing.Point(0, 43);
     this.leftSandBarDock.Manager = this.sbmBars;
     this.leftSandBarDock.Name = "leftSandBarDock";
     this.leftSandBarDock.Size = new System.Drawing.Size(0, 552);
     this.leftSandBarDock.TabIndex = 0;
     //
     // rightSandBarDock
     //
     this.rightSandBarDock.Dock = System.Windows.Forms.DockStyle.Right;
     this.rightSandBarDock.Guid = new System.Guid("c78bf1f0-0b19-4707-ba6b-117a611959d0");
     this.rightSandBarDock.Location = new System.Drawing.Point(892, 43);
     this.rightSandBarDock.Manager = this.sbmBars;
     this.rightSandBarDock.Name = "rightSandBarDock";
     this.rightSandBarDock.Size = new System.Drawing.Size(0, 552);
     this.rightSandBarDock.TabIndex = 1;
     //
     // bottomSandBarDock
     //
     this.bottomSandBarDock.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandBarDock.Guid = new System.Guid("3a1f20aa-8337-4a26-953f-fca697dbf2b5");
     this.bottomSandBarDock.Location = new System.Drawing.Point(0, 595);
     this.bottomSandBarDock.Manager = this.sbmBars;
     this.bottomSandBarDock.Name = "bottomSandBarDock";
     this.bottomSandBarDock.Size = new System.Drawing.Size(892, 0);
     this.bottomSandBarDock.TabIndex = 2;
     //
     // topSandBarDock
     //
     this.topSandBarDock.Controls.Add(this.menuBar1);
     this.topSandBarDock.Controls.Add(this.toolBar1);
     this.topSandBarDock.Dock = System.Windows.Forms.DockStyle.Top;
     this.topSandBarDock.Guid = new System.Guid("a4256977-d6be-4b30-b25f-105f7cb24240");
     this.topSandBarDock.Location = new System.Drawing.Point(0, 0);
     this.topSandBarDock.Manager = this.sbmBars;
     this.topSandBarDock.Name = "topSandBarDock";
     this.topSandBarDock.Size = new System.Drawing.Size(892, 43);
     this.topSandBarDock.TabIndex = 3;
     //
     // menuBar1
     //
     this.menuBar1.Guid = new System.Guid("2553478c-d099-475b-be89-0bdfaefe94ba");
     this.menuBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                       this.menuBarItem1,
                                                                       this.menuBarItem2,
                                                                       this.menuBarItem3,
                                                                       this.menuBarItem4,
                                                                       this.menuBarItem5});
     this.menuBar1.Location = new System.Drawing.Point(2, 0);
     this.menuBar1.Name = "menuBar1";
     this.menuBar1.OwnerForm = this;
     this.menuBar1.Size = new System.Drawing.Size(890, 25);
     this.menuBar1.TabIndex = 0;
     this.menuBar1.Text = "menuBar1";
     //
     // menuBarItem1
     //
     this.menuBarItem1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                           this.mbiFileNew,
                                                                           this.mbiFileOpen,
                                                                           this.mbiFileClose,
                                                                           this.mbiFileSave,
                                                                           this.mbiFileSaveAs,
                                                                           this.mbiFileExit});
     this.menuBarItem1.Text = "&File";
     //
     // mbiFileNew
     //
     this.mbiFileNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.mbiFileNew.Text = "New";
     this.mbiFileNew.Activate += new System.EventHandler(this.mbiFileNew_Activate);
     //
     // mbiFileOpen
     //
     this.mbiFileOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.mbiFileOpen.Text = "&Open...";
     this.mbiFileOpen.Activate += new System.EventHandler(this.mbiFileOpen_Activate);
     //
     // mbiFileClose
     //
     this.mbiFileClose.Text = "Close";
     this.mbiFileClose.Activate += new System.EventHandler(this.mbiFileClose_Activate);
     //
     // mbiFileSave
     //
     this.mbiFileSave.BeginGroup = true;
     this.mbiFileSave.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
     this.mbiFileSave.Text = "&Save";
     this.mbiFileSave.Visible = false;
     //
     // mbiFileSaveAs
     //
     this.mbiFileSaveAs.Text = "Save &As...";
     this.mbiFileSaveAs.Visible = false;
     //
     // mbiFileExit
     //
     this.mbiFileExit.BeginGroup = true;
     this.mbiFileExit.Text = "E&xit";
     this.mbiFileExit.Activate += new System.EventHandler(this.mbiFileExit_Activate);
     //
     // menuBarItem2
     //
     this.menuBarItem2.Text = "&Edit";
     this.menuBarItem2.Visible = false;
     //
     // menuBarItem3
     //
     this.menuBarItem3.Text = "&View";
     this.menuBarItem3.Visible = false;
     //
     // menuBarItem4
     //
     this.menuBarItem4.MdiWindowList = true;
     this.menuBarItem4.Text = "&Window";
     //
     // menuBarItem5
     //
     this.menuBarItem5.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                           this.mbiHelpAbout});
     this.menuBarItem5.Text = "&Help";
     //
     // mbiHelpAbout
     //
     this.mbiHelpAbout.Text = "&About...";
     //
     // toolBar1
     //
     this.toolBar1.DockLine = 1;
     this.toolBar1.Guid = new System.Guid("9143a79b-d608-4d18-90f4-389e26f1c27a");
     this.toolBar1.Location = new System.Drawing.Point(2, 25);
     this.toolBar1.Name = "toolBar1";
     this.toolBar1.Size = new System.Drawing.Size(24, 18);
     this.toolBar1.TabIndex = 1;
     this.toolBar1.Text = "toolBar1";
     //
     // ofdSelectFile
     //
     this.ofdSelectFile.DefaultExt = "eu2map";
     //
     // sdmDocks
     //
     this.sdmDocks.DockingManager = TD.SandDock.DockingManager.Whidbey;
     this.sdmDocks.OwnerForm = this;
     //
     // leftSandDock
     //
     this.leftSandDock.Dock = System.Windows.Forms.DockStyle.Left;
     this.leftSandDock.Guid = new System.Guid("d38c2649-e16f-40ac-a442-a259d51fc390");
     this.leftSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.leftSandDock.Location = new System.Drawing.Point(0, 43);
     this.leftSandDock.Manager = this.sdmDocks;
     this.leftSandDock.Name = "leftSandDock";
     this.leftSandDock.Size = new System.Drawing.Size(0, 552);
     this.leftSandDock.TabIndex = 9;
     //
     // bottomSandDock
     //
     this.bottomSandDock.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandDock.Guid = new System.Guid("863a86b3-7faa-443e-8a15-fdbe1aa1f0eb");
     this.bottomSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.bottomSandDock.Location = new System.Drawing.Point(0, 595);
     this.bottomSandDock.Manager = this.sdmDocks;
     this.bottomSandDock.Name = "bottomSandDock";
     this.bottomSandDock.Size = new System.Drawing.Size(892, 0);
     this.bottomSandDock.TabIndex = 11;
     //
     // topSandDock
     //
     this.topSandDock.Dock = System.Windows.Forms.DockStyle.Top;
     this.topSandDock.Guid = new System.Guid("132e5ede-a377-4df1-a798-e8e876b05a1f");
     this.topSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.topSandDock.Location = new System.Drawing.Point(0, 43);
     this.topSandDock.Manager = this.sdmDocks;
     this.topSandDock.Name = "topSandDock";
     this.topSandDock.Size = new System.Drawing.Size(892, 0);
     this.topSandDock.TabIndex = 12;
     //
     // rightSandDock
     //
     this.rightSandDock.Controls.Add(this.dcExplorer);
     this.rightSandDock.Dock = System.Windows.Forms.DockStyle.Right;
     this.rightSandDock.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.rightSandDock.Guid = new System.Guid("5917f22a-97ca-4ca9-8eb9-30674bdd07a4");
     this.rightSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] {
                                                                                                                                                                       new TD.SandDock.ControlLayoutSystem(250, 552, new TD.SandDock.DockControl[] {
                                                                                                                                                                                                                                                       this.dcExplorer}, this.dcExplorer)});
     this.rightSandDock.Location = new System.Drawing.Point(638, 43);
     this.rightSandDock.Manager = this.sdmDocks;
     this.rightSandDock.Name = "rightSandDock";
     this.rightSandDock.Size = new System.Drawing.Size(254, 552);
     this.rightSandDock.TabIndex = 10;
     //
     // dcExplorer
     //
     this.dcExplorer.Controls.Add(this.tvContents);
     this.dcExplorer.Controls.Add(this.toolBar2);
     this.dcExplorer.Guid = new System.Guid("19f5c70c-c553-466a-a004-c7c26a52ec34");
     this.dcExplorer.Location = new System.Drawing.Point(4, 18);
     this.dcExplorer.Name = "dcExplorer";
     this.dcExplorer.Size = new System.Drawing.Size(250, 511);
     this.dcExplorer.TabImage = ((System.Drawing.Image)(resources.GetObject("dcExplorer.TabImage")));
     this.dcExplorer.TabIndex = 0;
     this.dcExplorer.Text = "Project Explorer";
     //
     // tvContents
     //
     this.tvContents.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tvContents.ImageIndex = -1;
     this.tvContents.Location = new System.Drawing.Point(0, 24);
     this.tvContents.Name = "tvContents";
     this.tvContents.SelectedImageIndex = -1;
     this.tvContents.Size = new System.Drawing.Size(250, 487);
     this.tvContents.TabIndex = 3;
     //
     // toolBar2
     //
     this.toolBar2.Guid = new System.Guid("ad8c68f1-221e-4e23-9bdd-dc8e02d68020");
     this.toolBar2.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
                                                                       this.biRefresh});
     this.toolBar2.Location = new System.Drawing.Point(0, 0);
     this.toolBar2.Name = "toolBar2";
     this.toolBar2.Renderer = new TD.SandBar.Office2002Renderer();
     this.toolBar2.Size = new System.Drawing.Size(250, 24);
     this.toolBar2.TabIndex = 2;
     this.toolBar2.Text = "toolBar2";
     //
     // biRefresh
     //
     this.biRefresh.Image = ((System.Drawing.Image)(resources.GetObject("biRefresh.Image")));
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize = new System.Drawing.Size(892, 595);
     this.Controls.Add(this.leftSandDock);
     this.Controls.Add(this.rightSandDock);
     this.Controls.Add(this.bottomSandDock);
     this.Controls.Add(this.topSandDock);
     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.IsMdiContainer = true;
     this.Name = "MainForm";
     this.Text = "Map Explorer";
     this.Load += new System.EventHandler(this.MainForm_Load);
     this.topSandBarDock.ResumeLayout(false);
     this.rightSandDock.ResumeLayout(false);
     this.dcExplorer.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#12
0
		internal void method_11(SandDockManager manager, DockControl dockControl_1, bool bool_7, Class7.DockTarget dockTarget_0)
		{
			if (dockTarget_0.type == Class7.DockTargetType.JoinExistingSystem)
			{
				if (!bool_7)
				{
					dockControl_1.method_15(dockTarget_0.layoutSystem, dockTarget_0.index);
					return;
				}
				Dock(dockTarget_0.layoutSystem, dockTarget_0.index);
			}
			else
			{
				if (dockTarget_0.type != Class7.DockTargetType.CreateNewContainer)
				{
					if (dockTarget_0.type == Class7.DockTargetType.SplitExistingSystem)
					{
						ControlLayoutSystem controlLayoutSystem = dockTarget_0.dockContainer.CreateNewLayoutSystem(bool_7 ? DockControls : new[]
						{
							dockControl_1
						}, WorkingSize);
						dockTarget_0.layoutSystem.SplitForLayoutSystem(controlLayoutSystem, dockTarget_0.DockSide);
					}
					return;
				}
				var dockContainer = manager.FindDockedContainer(DockStyle.Fill);
				if (dockTarget_0.DockLocation == ContainerDockLocation.Center && dockContainer != null)
				{
					ControlLayoutSystem controlLayoutSystem = LayoutUtilities.FindControlLayoutSystem(dockContainer);
					if (controlLayoutSystem != null)
					{
						if (bool_7)
						{
							Dock(controlLayoutSystem);
							return;
						}
						dockControl_1.method_15(controlLayoutSystem, 0);
					}
				}
				else
				{
					if (bool_7)
					{
						method_2(manager, dockTarget_0.DockLocation, dockTarget_0.middle ? ContainerDockEdge.Inside : ContainerDockEdge.Outside);
						return;
					}
					dockControl_1.DockInNewContainer(dockTarget_0.DockLocation, dockTarget_0.middle ? ContainerDockEdge.Inside : ContainerDockEdge.Outside);
				}
			}
		}
示例#13
0
		public void Float(SandDockManager manager, Rectangle bounds, WindowOpenMethod openMethod)
		{
		    if (Parent != null)
		        LayoutUtilities.smethod_10(this);
		    if (SelectedControl.MetaData.LastFloatingWindowGuid == Guid.Empty)
		        SelectedControl.MetaData.SaveFloatingWindowGuid(Guid.NewGuid());
		    new FloatingContainer(manager, SelectedControl.MetaData.LastFloatingWindowGuid)
			{
				LayoutSystem = 
				{
					LayoutSystems = 
					{
						this
					}
				}
			}.method_19(bounds, true, openMethod == WindowOpenMethod.OnScreenActivate);

		    if (openMethod == WindowOpenMethod.OnScreenActivate)
		        SelectedControl.Activate();
		}
示例#14
0
		public void Float(SandDockManager manager)
		{
		    if (SelectedControl == null)
		        throw new InvalidOperationException("The layout system must have a selected control to be floated.");
		    Float(manager, SelectedControl.method_11(), WindowOpenMethod.OnScreenActivate);
		}
示例#15
0
 internal void method_2(SandDockManager sandDockManager_0, ContainerDockLocation containerDockLocation_0, ContainerDockEdge containerDockEdge_0)
 {
     DockControl[] dockControl_ = DockControls;
     int num = 0;
     if (dockControl_.Length > 0)
     {
         num = dockControl_[0].MetaData.DockedContentSize;
     }
     Rectangle rectangle = Class7.smethod_1(sandDockManager_0.DockSystemContainer);
     if (containerDockLocation_0 != ContainerDockLocation.Left)
     {
         if (containerDockLocation_0 != ContainerDockLocation.Right)
         {
             if (containerDockLocation_0 != ContainerDockLocation.Top && containerDockLocation_0 != ContainerDockLocation.Bottom)
             {
                 goto IL_7C;
             }
             num = Math.Min(num, Convert.ToInt32(rectangle.Height * 0.9));
             goto IL_7C;
         }
     }
     num = Math.Min(num, Convert.ToInt32(rectangle.Width * 0.9));
     IL_7C:
     if (!(this is ControlLayoutSystem))
     {
         Parent?.LayoutSystems.Remove(this);
     }
     else
     {
         LayoutUtilities.smethod_10((ControlLayoutSystem)this);
     }
     DockContainer dockContainer = sandDockManager_0.CreateNewDockContainer(containerDockLocation_0, containerDockEdge_0, num);
     if (!(dockContainer is DocumentContainer))
     {
         dockContainer.LayoutSystem.LayoutSystems.Add(this);
         return;
     }
     var controlLayoutSystem = dockContainer.CreateNewLayoutSystem(WorkingSize);
     dockContainer.LayoutSystem.LayoutSystems.Add(controlLayoutSystem);
     if (this is SplitLayoutSystem)
     {
         ((SplitLayoutSystem)this).MoveToLayoutSystem(controlLayoutSystem);
         return;
     }
     controlLayoutSystem.Controls.AddRange(DockControls);
 }
示例#16
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();
 }
示例#17
0
        protected DockControl(SandDockManager manager, Control control, string text) : this()
        {
            if (manager == null)
                throw new ArgumentNullException(nameof(manager));
            if (control == null)
                throw new ArgumentNullException(nameof(control));
            if (text == null)
                text = string.Empty;
            Manager = manager;

            var form = control as Form;
            if (form != null)
            {
                form.TopLevel = false;
                form.FormBorderStyle = FormBorderStyle.None;
            }
            SuspendLayout();
            Controls.Add(control);
            control.Dock = DockStyle.Fill;
            control.BringToFront();
            ResumeLayout();
            control.Visible = true;
            Text = text;
        }
示例#18
0
		internal static Struct0 smethod_14(SandDockManager manager, WindowMetaData metaData)
		{
			var dockContainers = manager.GetDockContainers(Convert(metaData.LastFixedDockSide));
			if (dockContainers.Length == 0)
			{
				var dockContainer = manager.CreateNewDockContainer(metaData.LastFixedDockSide, ContainerDockEdge.Inside, metaData.DockedContentSize);
				return new Struct0(dockContainer.LayoutSystem, 0);
			}
			if (dockContainers.Length >= metaData.DockedState.Int32_3 && metaData.DockedState.Int32_2 < dockContainers.Length && metaData.DockedState.Int32_2 != -1)
			{
				return LayoutUtilities.smethod_15(dockContainers[metaData.DockedState.Int32_2], metaData.DockedState.Int32_0);
			}
			if (metaData.DockedState.Int32_3 >= 2)
			{
				if (metaData.DockedState.Int32_2 == 0)
				{
					DockContainer dockContainer2 = manager.CreateNewDockContainer(metaData.LastFixedDockSide, ContainerDockEdge.Outside, metaData.DockedContentSize);
					return new Struct0(dockContainer2.LayoutSystem, 0);
				}
				if (metaData.DockedState.Int32_2 == metaData.DockedState.Int32_3 - 1)
				{
					DockContainer dockContainer3 = manager.CreateNewDockContainer(metaData.LastFixedDockSide, ContainerDockEdge.Inside, metaData.DockedContentSize);
					return new Struct0(dockContainer3.LayoutSystem, 0);
				}
			}
			if (dockContainers.Length != 0)
			{
				return LayoutUtilities.smethod_15(dockContainers[0], metaData.DockedState.Int32_0);
			}
			DockContainer dockContainer4 = manager.CreateNewDockContainer(metaData.LastFixedDockSide, ContainerDockEdge.Inside, metaData.DockedContentSize);
			return new Struct0(dockContainer4.LayoutSystem, 0);
		}
示例#19
0
        public FloatingContainer(SandDockManager manager, Guid guid)
        {
            if (manager == null)
                throw new ArgumentNullException(nameof(manager));

            UnderlyingForm = new FloatingForm(this);
            UnderlyingForm.Activated += OnActivated;
            UnderlyingForm.Deactivate += OnDeactivate;
            UnderlyingForm.Closing += OnClosing;
            UnderlyingForm.DoubleClick += OnDoubleClick;
            LayoutSystem.Event_0 += this.method_22;
            this.method_22(LayoutSystem, EventArgs.Empty);
            Manager = manager;
            Guid = guid;
            UnderlyingForm.Controls.Add(this);
            Dock = DockStyle.Fill;
        }
示例#20
0
	    internal static ControlLayoutSystem smethod_4(SandDockManager sandDockManager_0, DockSituation dockSituation_0, DockingState dockingState0)
		{
			switch (dockSituation_0)
			{
			case DockSituation.None:
			        throw new InvalidOperationException();
			case DockSituation.Docked:
			{
				DockContainer[] dockContainers = sandDockManager_0.GetDockContainers();
				for (int i = 0; i < dockContainers.Length; i++)
				{
					DockContainer dockContainer_ = dockContainers[i];
					if (LayoutUtilities.GetDockSituation(dockContainer_) == dockSituation_0)
					{
						ControlLayoutSystem[] array = LayoutUtilities.smethod_3(dockContainer_);
						for (int j = 0; j < array.Length; j++)
						{
							ControlLayoutSystem controlLayoutSystem = array[j];
							if (controlLayoutSystem.Guid == dockingState0.Guid)
							{
								ControlLayoutSystem result = controlLayoutSystem;
								return result;
							}
						}
					}
				}
				goto IL_133;
			}
			case DockSituation.Document:
				if (sandDockManager_0.DocumentContainer != null)
				{
					ControlLayoutSystem[] array2 = LayoutUtilities.smethod_3(sandDockManager_0.DocumentContainer);
					for (int k = 0; k < array2.Length; k++)
					{
						ControlLayoutSystem controlLayoutSystem2 = array2[k];
						if (controlLayoutSystem2.Guid == dockingState0.Guid)
						{
							ControlLayoutSystem result = controlLayoutSystem2;
							return result;
						}
					}
					goto IL_133;
				}
				goto IL_133;
			case DockSituation.Floating:
			{
				DockContainer[] dockContainers2 = sandDockManager_0.GetDockContainers();
				foreach (DockContainer dockContainer_2 in dockContainers2)
				{
				    if (GetDockSituation(dockContainer_2) == dockSituation_0)
				    {
				        foreach (var controlLayoutSystem3 in smethod_3(dockContainer_2))
				        {
				            if (controlLayoutSystem3.Guid == dockingState0.Guid)
				            {
				                ControlLayoutSystem result = controlLayoutSystem3;
				                return result;
				            }
				        }
				    }
				}
				goto IL_133;
			}
			}
			throw new InvalidOperationException();
			IL_133:
			return null;
		}
示例#21
-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);
 }