Пример #1
0
		public SampleToolboxService(IDesignerHost host)
		{
			this.host = host;

			// Our MainForm adds our ToolboxPane to the host's services.
			toolbox = host.GetService(typeof(SampleDesignerApplication.ToolBoxPane)) as SampleDesignerApplication.ToolBoxPane;
		}
Пример #2
0
        public SampleToolboxService(IDesignerHost host)
        {
            this.host = host;

            // Our MainForm adds our ToolboxPane to the host's services.
            toolbox = host.GetService(typeof(SampleDesignerApplication.ToolBoxPane)) as SampleDesignerApplication.ToolBoxPane;
        }
Пример #3
0
 private void InitializeComponent()
 {
     this.mainMenu                = new System.Windows.Forms.MainMenu();
     this.menuItemFile            = new System.Windows.Forms.MenuItem();
     this.menuItemNew             = new System.Windows.Forms.MenuItem();
     this.menuItemOpen            = new System.Windows.Forms.MenuItem();
     this.menuItemSave            = new System.Windows.Forms.MenuItem();
     this.menuItemSaveAs          = new System.Windows.Forms.MenuItem();
     this.menuItemExit            = new System.Windows.Forms.MenuItem();
     this.menuItemEdit            = new System.Windows.Forms.MenuItem();
     this.menuItemUndo            = new System.Windows.Forms.MenuItem();
     this.menuItemRedo            = new System.Windows.Forms.MenuItem();
     this.menuItemRule            = new System.Windows.Forms.MenuItem();
     this.menuItemCut             = new System.Windows.Forms.MenuItem();
     this.menuItemCopy            = new System.Windows.Forms.MenuItem();
     this.menuItemPaste           = new System.Windows.Forms.MenuItem();
     this.menuItemDelete          = new System.Windows.Forms.MenuItem();
     this.menuItemSelectAll       = new System.Windows.Forms.MenuItem();
     this.menuItemView            = new System.Windows.Forms.MenuItem();
     this.menuItemServiceRequests = new System.Windows.Forms.MenuItem();
     this.menuItemDesign          = new System.Windows.Forms.MenuItem();
     this.menuItemCSource         = new System.Windows.Forms.MenuItem();
     this.menuItemVBSource        = new System.Windows.Forms.MenuItem();
     this.menuItemXML             = new System.Windows.Forms.MenuItem();
     this.menuItemProperties      = new System.Windows.Forms.MenuItem();
     this.menuItemLayout          = new System.Windows.Forms.MenuItem();
     this.menuItemShowGrid        = new System.Windows.Forms.MenuItem();
     this.menuItemSnapToGrid      = new System.Windows.Forms.MenuItem();
     this.menuItemAlign           = new System.Windows.Forms.MenuItem();
     this.menuItemLefts           = new System.Windows.Forms.MenuItem();
     this.menuItemRights          = new System.Windows.Forms.MenuItem();
     this.menuItemTops            = new System.Windows.Forms.MenuItem();
     this.menuItemBottoms         = new System.Windows.Forms.MenuItem();
     this.menuItemMiddles         = new System.Windows.Forms.MenuItem();
     this.menuItemCenters         = new System.Windows.Forms.MenuItem();
     this.menuItemToGrid          = new System.Windows.Forms.MenuItem();
     this.menuItemCenter          = new System.Windows.Forms.MenuItem();
     this.menuItemHoriz           = new System.Windows.Forms.MenuItem();
     this.menuItemVert            = new System.Windows.Forms.MenuItem();
     this.menuItemSizeTo          = new System.Windows.Forms.MenuItem();
     this.menuItemControl         = new System.Windows.Forms.MenuItem();
     this.menuItemControlW        = new System.Windows.Forms.MenuItem();
     this.menuItemControlH        = new System.Windows.Forms.MenuItem();
     this.menuItemGrid            = new System.Windows.Forms.MenuItem();
     this.menuItemZO              = new System.Windows.Forms.MenuItem();
     this.menuItemBTF             = new System.Windows.Forms.MenuItem();
     this.menuItemSTB             = new System.Windows.Forms.MenuItem();
     this.menuItemTO              = new System.Windows.Forms.MenuItem();
     this.menuItemDebug           = new System.Windows.Forms.MenuItem();
     this.menuItemBuild           = new System.Windows.Forms.MenuItem();
     this.menuItemRun             = new System.Windows.Forms.MenuItem();
     this.menuItemStop            = new System.Windows.Forms.MenuItem();
     this.tabControl              = new System.Windows.Forms.TabControl();
     this.tabDesign               = new System.Windows.Forms.TabPage();
     this.splitter2               = new System.Windows.Forms.Splitter();
     this.panelMain               = new System.Windows.Forms.Panel();
     this.splitter1               = new System.Windows.Forms.Splitter();
     this.toolbox        = new SampleDesignerApplication.ToolBoxPane();
     this.propertyGrid   = new System.Windows.Forms.PropertyGrid();
     this.tabCS          = new System.Windows.Forms.TabPage();
     this.textCS         = new System.Windows.Forms.TextBox();
     this.tabVB          = new System.Windows.Forms.TabPage();
     this.textVB         = new System.Windows.Forms.TextBox();
     this.tabXML         = new System.Windows.Forms.TabPage();
     this.textXML        = new System.Windows.Forms.TextBox();
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     this.tabControl.SuspendLayout();
     this.tabDesign.SuspendLayout();
     this.tabCS.SuspendLayout();
     this.tabVB.SuspendLayout();
     this.tabXML.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFile,
         this.menuItemEdit,
         this.menuItemView,
         this.menuItemLayout,
         this.menuItemDebug
     });
     //
     // menuItemFile
     //
     this.menuItemFile.Index = 0;
     this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemNew,
         this.menuItemOpen,
         this.menuItemSave,
         this.menuItemSaveAs,
         this.menuItemExit
     });
     this.menuItemFile.Text = "&File";
     //
     // menuItemNew
     //
     this.menuItemNew.Index  = 0;
     this.menuItemNew.Text   = "&New";
     this.menuItemNew.Click += new System.EventHandler(this.menuItemNew_Click);
     //
     // menuItemOpen
     //
     this.menuItemOpen.Index  = 1;
     this.menuItemOpen.Text   = "&Open...";
     this.menuItemOpen.Click += new System.EventHandler(this.menuItemOpen_Click);
     //
     // menuItemSave
     //
     this.menuItemSave.Enabled = false;
     this.menuItemSave.Index   = 2;
     this.menuItemSave.Text    = "&Save";
     this.menuItemSave.Click  += new System.EventHandler(this.menuItemSave_Click);
     //
     // menuItemSaveAs
     //
     this.menuItemSaveAs.Enabled = false;
     this.menuItemSaveAs.Index   = 3;
     this.menuItemSaveAs.Text    = "Save &As...";
     this.menuItemSaveAs.Click  += new System.EventHandler(this.menuItemSaveAs_Click);
     //
     // menuItemExit
     //
     this.menuItemExit.Index  = 4;
     this.menuItemExit.Text   = "&Exit";
     this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click);
     //
     // menuItemEdit
     //
     this.menuItemEdit.Enabled = false;
     this.menuItemEdit.Index   = 1;
     this.menuItemEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemUndo,
         this.menuItemRedo,
         this.menuItemRule,
         this.menuItemCut,
         this.menuItemCopy,
         this.menuItemPaste,
         this.menuItemDelete,
         this.menuItemSelectAll
     });
     this.menuItemEdit.Text = "&Edit";
     //
     // menuItemUndo
     //
     this.menuItemUndo.Enabled  = false;
     this.menuItemUndo.Index    = 0;
     this.menuItemUndo.Shortcut = System.Windows.Forms.Shortcut.CtrlZ;
     this.menuItemUndo.Text     = "Undo";
     //
     // menuItemRedo
     //
     this.menuItemRedo.Enabled  = false;
     this.menuItemRedo.Index    = 1;
     this.menuItemRedo.Shortcut = System.Windows.Forms.Shortcut.CtrlY;
     this.menuItemRedo.Text     = "Redo";
     //
     // menuItemRule
     //
     this.menuItemRule.Index = 2;
     this.menuItemRule.Text  = "-";
     //
     // menuItemCut
     //
     this.menuItemCut.Enabled  = false;
     this.menuItemCut.Index    = 3;
     this.menuItemCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
     this.menuItemCut.Text     = "Cu&t";
     this.menuItemCut.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemCopy
     //
     this.menuItemCopy.Enabled  = false;
     this.menuItemCopy.Index    = 4;
     this.menuItemCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
     this.menuItemCopy.Text     = "&Copy";
     this.menuItemCopy.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemPaste
     //
     this.menuItemPaste.Enabled  = false;
     this.menuItemPaste.Index    = 5;
     this.menuItemPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
     this.menuItemPaste.Text     = "&Paste";
     this.menuItemPaste.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemDelete
     //
     this.menuItemDelete.Index    = 6;
     this.menuItemDelete.Shortcut = System.Windows.Forms.Shortcut.Del;
     this.menuItemDelete.Text     = "&Delete";
     this.menuItemDelete.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemSelectAll
     //
     this.menuItemSelectAll.Index    = 7;
     this.menuItemSelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
     this.menuItemSelectAll.Text     = "Select &All";
     this.menuItemSelectAll.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemView
     //
     this.menuItemView.Enabled = false;
     this.menuItemView.Index   = 2;
     this.menuItemView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemServiceRequests,
         this.menuItemDesign,
         this.menuItemCSource,
         this.menuItemVBSource,
         this.menuItemXML,
         this.menuItemProperties
     });
     this.menuItemView.Text = "&View";
     //
     // menuItemServiceRequests
     //
     this.menuItemServiceRequests.Index  = 0;
     this.menuItemServiceRequests.Text   = "&Service Requests";
     this.menuItemServiceRequests.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemDesign
     //
     this.menuItemDesign.Index  = 1;
     this.menuItemDesign.Text   = "&Design";
     this.menuItemDesign.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemCSource
     //
     this.menuItemCSource.Index  = 2;
     this.menuItemCSource.Text   = "&C# Source";
     this.menuItemCSource.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemVBSource
     //
     this.menuItemVBSource.Index  = 3;
     this.menuItemVBSource.Text   = "&VB Source";
     this.menuItemVBSource.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemXML
     //
     this.menuItemXML.Index  = 4;
     this.menuItemXML.Text   = "&XML";
     this.menuItemXML.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemProperties
     //
     this.menuItemProperties.Index  = 5;
     this.menuItemProperties.Text   = "&Properties";
     this.menuItemProperties.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemLayout
     //
     this.menuItemLayout.Enabled = false;
     this.menuItemLayout.Index   = 3;
     this.menuItemLayout.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemShowGrid,
         this.menuItemSnapToGrid,
         this.menuItemAlign,
         this.menuItemCenter,
         this.menuItemSizeTo,
         this.menuItemZO,
         this.menuItemTO
     });
     this.menuItemLayout.Text = "&Layout";
     //
     // menuItemShowGrid
     //
     this.menuItemShowGrid.Checked = true;
     this.menuItemShowGrid.Index   = 0;
     this.menuItemShowGrid.Text    = "Show &Grid";
     this.menuItemShowGrid.Click  += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemSnapToGrid
     //
     this.menuItemSnapToGrid.Checked = true;
     this.menuItemSnapToGrid.Index   = 1;
     this.menuItemSnapToGrid.Text    = "S&nap to Grid";
     this.menuItemSnapToGrid.Click  += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemAlign
     //
     this.menuItemAlign.Index = 2;
     this.menuItemAlign.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemLefts,
         this.menuItemRights,
         this.menuItemTops,
         this.menuItemBottoms,
         this.menuItemMiddles,
         this.menuItemCenters,
         this.menuItemToGrid
     });
     this.menuItemAlign.Text = "&Align...";
     //
     // menuItemLefts
     //
     this.menuItemLefts.Index  = 0;
     this.menuItemLefts.Text   = "&Lefts";
     this.menuItemLefts.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemRights
     //
     this.menuItemRights.Index  = 1;
     this.menuItemRights.Text   = "&Rights";
     this.menuItemRights.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemTops
     //
     this.menuItemTops.Index  = 2;
     this.menuItemTops.Text   = "&Tops";
     this.menuItemTops.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemBottoms
     //
     this.menuItemBottoms.Index  = 3;
     this.menuItemBottoms.Text   = "&Bottoms";
     this.menuItemBottoms.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemMiddles
     //
     this.menuItemMiddles.Index  = 4;
     this.menuItemMiddles.Text   = "&Middles";
     this.menuItemMiddles.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemCenters
     //
     this.menuItemCenters.Index  = 5;
     this.menuItemCenters.Text   = "&Centers";
     this.menuItemCenters.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemToGrid
     //
     this.menuItemToGrid.Index  = 6;
     this.menuItemToGrid.Text   = "to &Grid";
     this.menuItemToGrid.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemCenter
     //
     this.menuItemCenter.Index = 3;
     this.menuItemCenter.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemHoriz,
         this.menuItemVert
     });
     this.menuItemCenter.Text = "&Center...";
     //
     // menuItemHoriz
     //
     this.menuItemHoriz.Index  = 0;
     this.menuItemHoriz.Text   = "&Horizontally";
     this.menuItemHoriz.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemVert
     //
     this.menuItemVert.Index  = 1;
     this.menuItemVert.Text   = "&Vertically";
     this.menuItemVert.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemSizeTo
     //
     this.menuItemSizeTo.Index = 4;
     this.menuItemSizeTo.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemControl,
         this.menuItemControlW,
         this.menuItemControlH,
         this.menuItemGrid
     });
     this.menuItemSizeTo.Text = "&Size to...";
     //
     // menuItemControl
     //
     this.menuItemControl.Index  = 0;
     this.menuItemControl.Text   = "&Control";
     this.menuItemControl.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemControlW
     //
     this.menuItemControlW.Index  = 1;
     this.menuItemControlW.Text   = "Control &Width";
     this.menuItemControlW.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemControlH
     //
     this.menuItemControlH.Index  = 2;
     this.menuItemControlH.Text   = "Control &Height";
     this.menuItemControlH.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemGrid
     //
     this.menuItemGrid.Index  = 3;
     this.menuItemGrid.Text   = "&Grid";
     this.menuItemGrid.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemZO
     //
     this.menuItemZO.Index = 5;
     this.menuItemZO.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemBTF,
         this.menuItemSTB
     });
     this.menuItemZO.Text = "&Z Order";
     //
     // menuItemBTF
     //
     this.menuItemBTF.Index  = 0;
     this.menuItemBTF.Text   = "&Bring to Front";
     this.menuItemBTF.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemSTB
     //
     this.menuItemSTB.Index  = 1;
     this.menuItemSTB.Text   = "&Send to Back";
     this.menuItemSTB.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemTO
     //
     this.menuItemTO.Index  = 6;
     this.menuItemTO.Text   = "&Tab Order";
     this.menuItemTO.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemDebug
     //
     this.menuItemDebug.Enabled = false;
     this.menuItemDebug.Index   = 4;
     this.menuItemDebug.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemBuild,
         this.menuItemRun,
         this.menuItemStop
     });
     this.menuItemDebug.Text = "&Debug";
     //
     // menuItemBuild
     //
     this.menuItemBuild.Index  = 0;
     this.menuItemBuild.Text   = "&Build...";
     this.menuItemBuild.Click += new System.EventHandler(this.menuItemBuild_Click);
     //
     // menuItemRun
     //
     this.menuItemRun.Index    = 1;
     this.menuItemRun.Shortcut = System.Windows.Forms.Shortcut.F5;
     this.menuItemRun.Text     = "&Run";
     this.menuItemRun.Click   += new System.EventHandler(this.menuItemRun_Click);
     //
     // menuItemStop
     //
     this.menuItemStop.Index  = 2;
     this.menuItemStop.Text   = "&Stop";
     this.menuItemStop.Click += new System.EventHandler(this.menuItemStop_Click);
     //
     // tabControl
     //
     this.tabControl.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabDesign,
         this.tabCS,
         this.tabVB,
         this.tabXML
     });
     this.tabControl.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.tabControl.DrawMode              = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
     this.tabControl.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tabControl.ItemSize              = new System.Drawing.Size(120, 25);
     this.tabControl.Location              = new System.Drawing.Point(0, 0);
     this.tabControl.Name                  = "tabControl";
     this.tabControl.SelectedIndex         = 0;
     this.tabControl.Size                  = new System.Drawing.Size(760, 537);
     this.tabControl.SizeMode              = System.Windows.Forms.TabSizeMode.Fixed;
     this.tabControl.TabIndex              = 0;
     this.tabControl.Visible               = false;
     this.tabControl.DrawItem             += new System.Windows.Forms.DrawItemEventHandler(this.tabControl_DrawItem);
     this.tabControl.SelectedIndexChanged += new System.EventHandler(this.tabControl_SelectedIndexChanged);
     //
     // tabDesign
     //
     this.tabDesign.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.splitter2,
         this.panelMain,
         this.splitter1,
         this.toolbox,
         this.propertyGrid
     });
     this.tabDesign.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tabDesign.Location = new System.Drawing.Point(4, 29);
     this.tabDesign.Name     = "tabDesign";
     this.tabDesign.Size     = new System.Drawing.Size(752, 504);
     this.tabDesign.TabIndex = 0;
     this.tabDesign.Text     = "Design";
     //
     // splitter2
     //
     this.splitter2.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter2.Location = new System.Drawing.Point(520, 0);
     this.splitter2.Name     = "splitter2";
     this.splitter2.Size     = new System.Drawing.Size(3, 504);
     this.splitter2.TabIndex = 12;
     this.splitter2.TabStop  = false;
     //
     // panelMain
     //
     this.panelMain.BackColor = System.Drawing.SystemColors.Window;
     this.panelMain.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panelMain.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.panelMain.Location  = new System.Drawing.Point(291, 0);
     this.panelMain.Name      = "panelMain";
     this.panelMain.Size      = new System.Drawing.Size(232, 504);
     this.panelMain.TabIndex  = 11;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(288, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 504);
     this.splitter1.TabIndex = 10;
     this.splitter1.TabStop  = false;
     //
     // toolbox
     //
     this.toolbox.BackColor = System.Drawing.Color.Black;
     this.toolbox.Dock      = System.Windows.Forms.DockStyle.Left;
     this.toolbox.Host      = null;
     this.toolbox.Location  = new System.Drawing.Point(0, 0);
     this.toolbox.Name      = "toolbox";
     this.toolbox.Size      = new System.Drawing.Size(288, 504);
     this.toolbox.TabIndex  = 9;
     //
     // propertyGrid
     //
     this.propertyGrid.BackColor                  = System.Drawing.SystemColors.Control;
     this.propertyGrid.CausesValidation           = false;
     this.propertyGrid.CommandsVisibleIfAvailable = true;
     this.propertyGrid.Dock          = System.Windows.Forms.DockStyle.Right;
     this.propertyGrid.Font          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.propertyGrid.LargeButtons  = false;
     this.propertyGrid.LineColor     = System.Drawing.Color.LightSlateGray;
     this.propertyGrid.Location      = new System.Drawing.Point(523, 0);
     this.propertyGrid.Name          = "propertyGrid";
     this.propertyGrid.Size          = new System.Drawing.Size(229, 504);
     this.propertyGrid.TabIndex      = 7;
     this.propertyGrid.Text          = "propertyGrid";
     this.propertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // tabCS
     //
     this.tabCS.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textCS
     });
     this.tabCS.Font     = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tabCS.Location = new System.Drawing.Point(4, 29);
     this.tabCS.Name     = "tabCS";
     this.tabCS.Size     = new System.Drawing.Size(752, 504);
     this.tabCS.TabIndex = 2;
     this.tabCS.Text     = "C# Source";
     //
     // textCS
     //
     this.textCS.BackColor   = System.Drawing.Color.DarkSlateGray;
     this.textCS.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textCS.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.textCS.Font        = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.textCS.ForeColor   = System.Drawing.Color.Gold;
     this.textCS.Location    = new System.Drawing.Point(0, 0);
     this.textCS.Multiline   = true;
     this.textCS.Name        = "textCS";
     this.textCS.ReadOnly    = true;
     this.textCS.ScrollBars  = System.Windows.Forms.ScrollBars.Both;
     this.textCS.Size        = new System.Drawing.Size(752, 504);
     this.textCS.TabIndex    = 1;
     this.textCS.Text        = "";
     this.textCS.WordWrap    = false;
     //
     // tabVB
     //
     this.tabVB.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textVB
     });
     this.tabVB.Font     = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tabVB.Location = new System.Drawing.Point(4, 29);
     this.tabVB.Name     = "tabVB";
     this.tabVB.Size     = new System.Drawing.Size(752, 504);
     this.tabVB.TabIndex = 1;
     this.tabVB.Text     = "PABC.NET";
     //
     // textVB
     //
     this.textVB.BackColor   = System.Drawing.Color.DarkSlateGray;
     this.textVB.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textVB.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.textVB.Font        = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.textVB.ForeColor   = System.Drawing.Color.Tomato;
     this.textVB.Location    = new System.Drawing.Point(0, 0);
     this.textVB.Multiline   = true;
     this.textVB.Name        = "textVB";
     this.textVB.ReadOnly    = true;
     this.textVB.ScrollBars  = System.Windows.Forms.ScrollBars.Both;
     this.textVB.Size        = new System.Drawing.Size(752, 504);
     this.textVB.TabIndex    = 0;
     this.textVB.Text        = "";
     this.textVB.WordWrap    = false;
     //
     // tabXML
     //
     this.tabXML.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textXML
     });
     this.tabXML.Font     = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tabXML.Location = new System.Drawing.Point(4, 29);
     this.tabXML.Name     = "tabXML";
     this.tabXML.Size     = new System.Drawing.Size(752, 504);
     this.tabXML.TabIndex = 3;
     this.tabXML.Text     = "XML";
     //
     // textXML
     //
     this.textXML.BackColor   = System.Drawing.Color.DarkSlateGray;
     this.textXML.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textXML.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.textXML.Font        = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.textXML.ForeColor   = System.Drawing.Color.LimeGreen;
     this.textXML.Location    = new System.Drawing.Point(0, 0);
     this.textXML.Multiline   = true;
     this.textXML.Name        = "textXML";
     this.textXML.ReadOnly    = true;
     this.textXML.ScrollBars  = System.Windows.Forms.ScrollBars.Both;
     this.textXML.Size        = new System.Drawing.Size(752, 504);
     this.textXML.TabIndex    = 1;
     this.textXML.Text        = "";
     this.textXML.WordWrap    = false;
     //
     // openFileDialog
     //
     this.openFileDialog.Filter = "XML Files|*.xml";
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(760, 537);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabControl
     });
     this.Menu        = this.mainMenu;
     this.Name        = "MainForm";
     this.Text        = "Simple Designer Host Sample";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.tabControl.ResumeLayout(false);
     this.tabDesign.ResumeLayout(false);
     this.tabCS.ResumeLayout(false);
     this.tabVB.ResumeLayout(false);
     this.tabXML.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #4
0
        private void InitializeComponent() 
		{
			this.mainMenu = new System.Windows.Forms.MainMenu();
			this.menuItemFile = new System.Windows.Forms.MenuItem();
			this.menuItemNew = new System.Windows.Forms.MenuItem();
			this.menuItemOpen = new System.Windows.Forms.MenuItem();
			this.menuItemSave = new System.Windows.Forms.MenuItem();
			this.menuItemSaveAs = new System.Windows.Forms.MenuItem();
			this.menuItemExit = new System.Windows.Forms.MenuItem();
			this.menuItemEdit = new System.Windows.Forms.MenuItem();
			this.menuItemUndo = new System.Windows.Forms.MenuItem();
			this.menuItemRedo = new System.Windows.Forms.MenuItem();
			this.menuItemRule = new System.Windows.Forms.MenuItem();
			this.menuItemCut = new System.Windows.Forms.MenuItem();
			this.menuItemCopy = new System.Windows.Forms.MenuItem();
			this.menuItemPaste = new System.Windows.Forms.MenuItem();
			this.menuItemDelete = new System.Windows.Forms.MenuItem();
			this.menuItemSelectAll = new System.Windows.Forms.MenuItem();
			this.menuItemView = new System.Windows.Forms.MenuItem();
			this.menuItemServiceRequests = new System.Windows.Forms.MenuItem();
			this.menuItemDesign = new System.Windows.Forms.MenuItem();
			this.menuItemCSource = new System.Windows.Forms.MenuItem();
			this.menuItemVBSource = new System.Windows.Forms.MenuItem();
			this.menuItemXML = new System.Windows.Forms.MenuItem();
			this.menuItemProperties = new System.Windows.Forms.MenuItem();
			this.menuItemLayout = new System.Windows.Forms.MenuItem();
			this.menuItemShowGrid = new System.Windows.Forms.MenuItem();
			this.menuItemSnapToGrid = new System.Windows.Forms.MenuItem();
			this.menuItemAlign = new System.Windows.Forms.MenuItem();
			this.menuItemLefts = new System.Windows.Forms.MenuItem();
			this.menuItemRights = new System.Windows.Forms.MenuItem();
			this.menuItemTops = new System.Windows.Forms.MenuItem();
			this.menuItemBottoms = new System.Windows.Forms.MenuItem();
			this.menuItemMiddles = new System.Windows.Forms.MenuItem();
			this.menuItemCenters = new System.Windows.Forms.MenuItem();
			this.menuItemToGrid = new System.Windows.Forms.MenuItem();
			this.menuItemCenter = new System.Windows.Forms.MenuItem();
			this.menuItemHoriz = new System.Windows.Forms.MenuItem();
			this.menuItemVert = new System.Windows.Forms.MenuItem();
			this.menuItemSizeTo = new System.Windows.Forms.MenuItem();
			this.menuItemControl = new System.Windows.Forms.MenuItem();
			this.menuItemControlW = new System.Windows.Forms.MenuItem();
			this.menuItemControlH = new System.Windows.Forms.MenuItem();
			this.menuItemGrid = new System.Windows.Forms.MenuItem();
			this.menuItemZO = new System.Windows.Forms.MenuItem();
			this.menuItemBTF = new System.Windows.Forms.MenuItem();
			this.menuItemSTB = new System.Windows.Forms.MenuItem();
			this.menuItemTO = new System.Windows.Forms.MenuItem();
			this.menuItemDebug = new System.Windows.Forms.MenuItem();
			this.menuItemBuild = new System.Windows.Forms.MenuItem();
			this.menuItemRun = new System.Windows.Forms.MenuItem();
			this.menuItemStop = new System.Windows.Forms.MenuItem();
			this.tabControl = new System.Windows.Forms.TabControl();
			this.tabDesign = new System.Windows.Forms.TabPage();
			this.splitter2 = new System.Windows.Forms.Splitter();
			this.panelMain = new System.Windows.Forms.Panel();
			this.splitter1 = new System.Windows.Forms.Splitter();
			this.toolbox = new SampleDesignerApplication.ToolBoxPane();
			this.propertyGrid = new System.Windows.Forms.PropertyGrid();
			this.tabCS = new System.Windows.Forms.TabPage();
			this.textCS = new System.Windows.Forms.TextBox();
			this.tabVB = new System.Windows.Forms.TabPage();
			this.textVB = new System.Windows.Forms.TextBox();
			this.tabXML = new System.Windows.Forms.TabPage();
			this.textXML = new System.Windows.Forms.TextBox();
			this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
			this.tabControl.SuspendLayout();
			this.tabDesign.SuspendLayout();
			this.tabCS.SuspendLayout();
			this.tabVB.SuspendLayout();
			this.tabXML.SuspendLayout();
			this.SuspendLayout();
			// 
			// mainMenu
			// 
			this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					 this.menuItemFile,
																					 this.menuItemEdit,
																					 this.menuItemView,
																					 this.menuItemLayout,
																					 this.menuItemDebug});
			// 
			// menuItemFile
			// 
			this.menuItemFile.Index = 0;
			this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						 this.menuItemNew,
																						 this.menuItemOpen,
																						 this.menuItemSave,
																						 this.menuItemSaveAs,
																						 this.menuItemExit});
			this.menuItemFile.Text = "&File";
			// 
			// menuItemNew
			// 
			this.menuItemNew.Index = 0;
			this.menuItemNew.Text = "&New";
			this.menuItemNew.Click += new System.EventHandler(this.menuItemNew_Click);
			// 
			// menuItemOpen
			// 
			this.menuItemOpen.Index = 1;
			this.menuItemOpen.Text = "&Open...";
			this.menuItemOpen.Click += new System.EventHandler(this.menuItemOpen_Click);
			// 
			// menuItemSave
			// 
			this.menuItemSave.Enabled = false;
			this.menuItemSave.Index = 2;
			this.menuItemSave.Text = "&Save";
			this.menuItemSave.Click += new System.EventHandler(this.menuItemSave_Click);
			// 
			// menuItemSaveAs
			// 
			this.menuItemSaveAs.Enabled = false;
			this.menuItemSaveAs.Index = 3;
			this.menuItemSaveAs.Text = "Save &As...";
			this.menuItemSaveAs.Click += new System.EventHandler(this.menuItemSaveAs_Click);
			// 
			// menuItemExit
			// 
			this.menuItemExit.Index = 4;
			this.menuItemExit.Text = "&Exit";
			this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click);
			// 
			// menuItemEdit
			// 
			this.menuItemEdit.Enabled = false;
			this.menuItemEdit.Index = 1;
			this.menuItemEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						 this.menuItemUndo,
																						 this.menuItemRedo,
																						 this.menuItemRule,
																						 this.menuItemCut,
																						 this.menuItemCopy,
																						 this.menuItemPaste,
																						 this.menuItemDelete,
																						 this.menuItemSelectAll});
			this.menuItemEdit.Text = "&Edit";
			// 
			// menuItemUndo
			// 
			this.menuItemUndo.Enabled = false;
			this.menuItemUndo.Index = 0;
			this.menuItemUndo.Shortcut = System.Windows.Forms.Shortcut.CtrlZ;
			this.menuItemUndo.Text = "Undo";
			// 
			// menuItemRedo
			// 
			this.menuItemRedo.Enabled = false;
			this.menuItemRedo.Index = 1;
			this.menuItemRedo.Shortcut = System.Windows.Forms.Shortcut.CtrlY;
			this.menuItemRedo.Text = "Redo";
			// 
			// menuItemRule
			// 
			this.menuItemRule.Index = 2;
			this.menuItemRule.Text = "-";
			// 
			// menuItemCut
			// 
			this.menuItemCut.Enabled = false;
			this.menuItemCut.Index = 3;
			this.menuItemCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
			this.menuItemCut.Text = "Cu&t";
			this.menuItemCut.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemCopy
			// 
			this.menuItemCopy.Enabled = false;
			this.menuItemCopy.Index = 4;
			this.menuItemCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
			this.menuItemCopy.Text = "&Copy";
			this.menuItemCopy.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemPaste
			// 
			this.menuItemPaste.Enabled = false;
			this.menuItemPaste.Index = 5;
			this.menuItemPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
			this.menuItemPaste.Text = "&Paste";
			this.menuItemPaste.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemDelete
			// 
			this.menuItemDelete.Index = 6;
			this.menuItemDelete.Shortcut = System.Windows.Forms.Shortcut.Del;
			this.menuItemDelete.Text = "&Delete";
			this.menuItemDelete.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemSelectAll
			// 
			this.menuItemSelectAll.Index = 7;
			this.menuItemSelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
			this.menuItemSelectAll.Text = "Select &All";
			this.menuItemSelectAll.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemView
			// 
			this.menuItemView.Enabled = false;
			this.menuItemView.Index = 2;
			this.menuItemView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						 this.menuItemServiceRequests,
																						 this.menuItemDesign,
																						 this.menuItemCSource,
																						 this.menuItemVBSource,
																						 this.menuItemXML,
																						 this.menuItemProperties});
			this.menuItemView.Text = "&View";
			// 
			// menuItemServiceRequests
			// 
			this.menuItemServiceRequests.Index = 0;
			this.menuItemServiceRequests.Text = "&Service Requests";
			this.menuItemServiceRequests.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemDesign
			// 
			this.menuItemDesign.Index = 1;
			this.menuItemDesign.Text = "&Design";
			this.menuItemDesign.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemCSource
			// 
			this.menuItemCSource.Index = 2;
			this.menuItemCSource.Text = "&C# Source";
			this.menuItemCSource.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemVBSource
			// 
			this.menuItemVBSource.Index = 3;
			this.menuItemVBSource.Text = "&VB Source";
			this.menuItemVBSource.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemXML
			// 
			this.menuItemXML.Index = 4;
			this.menuItemXML.Text = "&XML";
			this.menuItemXML.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemProperties
			// 
			this.menuItemProperties.Index = 5;
			this.menuItemProperties.Text = "&Properties";
			this.menuItemProperties.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemLayout
			// 
			this.menuItemLayout.Enabled = false;
			this.menuItemLayout.Index = 3;
			this.menuItemLayout.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						   this.menuItemShowGrid,
																						   this.menuItemSnapToGrid,
																						   this.menuItemAlign,
																						   this.menuItemCenter,
																						   this.menuItemSizeTo,
																						   this.menuItemZO,
																						   this.menuItemTO});
			this.menuItemLayout.Text = "&Layout";
			// 
			// menuItemShowGrid
			// 
			this.menuItemShowGrid.Checked = true;
			this.menuItemShowGrid.Index = 0;
			this.menuItemShowGrid.Text = "Show &Grid";
			this.menuItemShowGrid.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemSnapToGrid
			// 
			this.menuItemSnapToGrid.Checked = true;
			this.menuItemSnapToGrid.Index = 1;
			this.menuItemSnapToGrid.Text = "S&nap to Grid";
			this.menuItemSnapToGrid.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemAlign
			// 
			this.menuItemAlign.Index = 2;
			this.menuItemAlign.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						  this.menuItemLefts,
																						  this.menuItemRights,
																						  this.menuItemTops,
																						  this.menuItemBottoms,
																						  this.menuItemMiddles,
																						  this.menuItemCenters,
																						  this.menuItemToGrid});
			this.menuItemAlign.Text = "&Align...";
			// 
			// menuItemLefts
			// 
			this.menuItemLefts.Index = 0;
			this.menuItemLefts.Text = "&Lefts";
			this.menuItemLefts.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemRights
			// 
			this.menuItemRights.Index = 1;
			this.menuItemRights.Text = "&Rights";
			this.menuItemRights.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemTops
			// 
			this.menuItemTops.Index = 2;
			this.menuItemTops.Text = "&Tops";
			this.menuItemTops.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemBottoms
			// 
			this.menuItemBottoms.Index = 3;
			this.menuItemBottoms.Text = "&Bottoms";
			this.menuItemBottoms.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemMiddles
			// 
			this.menuItemMiddles.Index = 4;
			this.menuItemMiddles.Text = "&Middles";
			this.menuItemMiddles.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemCenters
			// 
			this.menuItemCenters.Index = 5;
			this.menuItemCenters.Text = "&Centers";
			this.menuItemCenters.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemToGrid
			// 
			this.menuItemToGrid.Index = 6;
			this.menuItemToGrid.Text = "to &Grid";
			this.menuItemToGrid.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemCenter
			// 
			this.menuItemCenter.Index = 3;
			this.menuItemCenter.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						   this.menuItemHoriz,
																						   this.menuItemVert});
			this.menuItemCenter.Text = "&Center...";
			// 
			// menuItemHoriz
			// 
			this.menuItemHoriz.Index = 0;
			this.menuItemHoriz.Text = "&Horizontally";
			this.menuItemHoriz.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemVert
			// 
			this.menuItemVert.Index = 1;
			this.menuItemVert.Text = "&Vertically";
			this.menuItemVert.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemSizeTo
			// 
			this.menuItemSizeTo.Index = 4;
			this.menuItemSizeTo.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						   this.menuItemControl,
																						   this.menuItemControlW,
																						   this.menuItemControlH,
																						   this.menuItemGrid});
			this.menuItemSizeTo.Text = "&Size to...";
			// 
			// menuItemControl
			// 
			this.menuItemControl.Index = 0;
			this.menuItemControl.Text = "&Control";
			this.menuItemControl.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemControlW
			// 
			this.menuItemControlW.Index = 1;
			this.menuItemControlW.Text = "Control &Width";
			this.menuItemControlW.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemControlH
			// 
			this.menuItemControlH.Index = 2;
			this.menuItemControlH.Text = "Control &Height";
			this.menuItemControlH.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemGrid
			// 
			this.menuItemGrid.Index = 3;
			this.menuItemGrid.Text = "&Grid";
			this.menuItemGrid.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemZO
			// 
			this.menuItemZO.Index = 5;
			this.menuItemZO.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					   this.menuItemBTF,
																					   this.menuItemSTB});
			this.menuItemZO.Text = "&Z Order";
			// 
			// menuItemBTF
			// 
			this.menuItemBTF.Index = 0;
			this.menuItemBTF.Text = "&Bring to Front";
			this.menuItemBTF.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemSTB
			// 
			this.menuItemSTB.Index = 1;
			this.menuItemSTB.Text = "&Send to Back";
			this.menuItemSTB.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemTO
			// 
			this.menuItemTO.Index = 6;
			this.menuItemTO.Text = "&Tab Order";
			this.menuItemTO.Click += new System.EventHandler(this.menuItem_Click);
			// 
			// menuItemDebug
			// 
			this.menuItemDebug.Enabled = false;
			this.menuItemDebug.Index = 4;
			this.menuItemDebug.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						  this.menuItemBuild,
																						  this.menuItemRun,
																						  this.menuItemStop});
			this.menuItemDebug.Text = "&Debug";
			// 
			// menuItemBuild
			// 
			this.menuItemBuild.Index = 0;
			this.menuItemBuild.Text = "&Build...";
			this.menuItemBuild.Click += new System.EventHandler(this.menuItemBuild_Click);
			// 
			// menuItemRun
			// 
			this.menuItemRun.Index = 1;
			this.menuItemRun.Shortcut = System.Windows.Forms.Shortcut.F5;
			this.menuItemRun.Text = "&Run";
			this.menuItemRun.Click += new System.EventHandler(this.menuItemRun_Click);
			// 
			// menuItemStop
			// 
			this.menuItemStop.Index = 2;
			this.menuItemStop.Text = "&Stop";
			this.menuItemStop.Click += new System.EventHandler(this.menuItemStop_Click);
			// 
			// tabControl
			// 
			this.tabControl.Controls.AddRange(new System.Windows.Forms.Control[] {
																					 this.tabDesign,
																					 this.tabCS,
																					 this.tabVB,
																					 this.tabXML});
			this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill;
			this.tabControl.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
			this.tabControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.tabControl.ItemSize = new System.Drawing.Size(120, 25);
			this.tabControl.Location = new System.Drawing.Point(0, 0);
			this.tabControl.Name = "tabControl";
			this.tabControl.SelectedIndex = 0;
			this.tabControl.Size = new System.Drawing.Size(760, 537);
			this.tabControl.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
			this.tabControl.TabIndex = 0;
			this.tabControl.Visible = false;
			this.tabControl.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tabControl_DrawItem);
			this.tabControl.SelectedIndexChanged += new System.EventHandler(this.tabControl_SelectedIndexChanged);
			// 
			// tabDesign
			// 
			this.tabDesign.Controls.AddRange(new System.Windows.Forms.Control[] {
																					this.splitter2,
																					this.panelMain,
																					this.splitter1,
																					this.toolbox,
																					this.propertyGrid});
			this.tabDesign.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.tabDesign.Location = new System.Drawing.Point(4, 29);
			this.tabDesign.Name = "tabDesign";
			this.tabDesign.Size = new System.Drawing.Size(752, 504);
			this.tabDesign.TabIndex = 0;
			this.tabDesign.Text = "Design";
			// 
			// splitter2
			// 
			this.splitter2.Dock = System.Windows.Forms.DockStyle.Right;
			this.splitter2.Location = new System.Drawing.Point(520, 0);
			this.splitter2.Name = "splitter2";
			this.splitter2.Size = new System.Drawing.Size(3, 504);
			this.splitter2.TabIndex = 12;
			this.splitter2.TabStop = false;
			// 
			// panelMain
			// 
			this.panelMain.BackColor = System.Drawing.SystemColors.Window;
			this.panelMain.Dock = System.Windows.Forms.DockStyle.Fill;
			this.panelMain.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.panelMain.Location = new System.Drawing.Point(291, 0);
			this.panelMain.Name = "panelMain";
			this.panelMain.Size = new System.Drawing.Size(232, 504);
			this.panelMain.TabIndex = 11;
			// 
			// splitter1
			// 
			this.splitter1.Location = new System.Drawing.Point(288, 0);
			this.splitter1.Name = "splitter1";
			this.splitter1.Size = new System.Drawing.Size(3, 504);
			this.splitter1.TabIndex = 10;
			this.splitter1.TabStop = false;
			// 
			// toolbox
			// 
			this.toolbox.BackColor = System.Drawing.Color.Black;
			this.toolbox.Dock = System.Windows.Forms.DockStyle.Left;
			this.toolbox.Host = null;
			this.toolbox.Location = new System.Drawing.Point(0, 0);
			this.toolbox.Name = "toolbox";
			this.toolbox.Size = new System.Drawing.Size(288, 504);
			this.toolbox.TabIndex = 9;
			// 
			// propertyGrid
			// 
			this.propertyGrid.BackColor = System.Drawing.SystemColors.Control;
			this.propertyGrid.CausesValidation = false;
			this.propertyGrid.CommandsVisibleIfAvailable = true;
			this.propertyGrid.Dock = System.Windows.Forms.DockStyle.Right;
			this.propertyGrid.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.propertyGrid.LargeButtons = false;
			this.propertyGrid.LineColor = System.Drawing.Color.LightSlateGray;
			this.propertyGrid.Location = new System.Drawing.Point(523, 0);
			this.propertyGrid.Name = "propertyGrid";
			this.propertyGrid.Size = new System.Drawing.Size(229, 504);
			this.propertyGrid.TabIndex = 7;
			this.propertyGrid.Text = "propertyGrid";
			this.propertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
			this.propertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
			// 
			// tabCS
			// 
			this.tabCS.Controls.AddRange(new System.Windows.Forms.Control[] {
																				this.textCS});
			this.tabCS.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.tabCS.Location = new System.Drawing.Point(4, 29);
			this.tabCS.Name = "tabCS";
			this.tabCS.Size = new System.Drawing.Size(752, 504);
			this.tabCS.TabIndex = 2;
			this.tabCS.Text = "C# Source";
			// 
			// textCS
			// 
			this.textCS.BackColor = System.Drawing.Color.DarkSlateGray;
			this.textCS.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.textCS.Dock = System.Windows.Forms.DockStyle.Fill;
			this.textCS.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textCS.ForeColor = System.Drawing.Color.Gold;
			this.textCS.Location = new System.Drawing.Point(0, 0);
			this.textCS.Multiline = true;
			this.textCS.Name = "textCS";
			this.textCS.ReadOnly = true;
			this.textCS.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this.textCS.Size = new System.Drawing.Size(752, 504);
			this.textCS.TabIndex = 1;
			this.textCS.Text = "";
			this.textCS.WordWrap = false;
			// 
			// tabVB
			// 
			this.tabVB.Controls.AddRange(new System.Windows.Forms.Control[] {
																				this.textVB});
			this.tabVB.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.tabVB.Location = new System.Drawing.Point(4, 29);
			this.tabVB.Name = "tabVB";
			this.tabVB.Size = new System.Drawing.Size(752, 504);
			this.tabVB.TabIndex = 1;
			this.tabVB.Text = "PABC.NET";
			// 
			// textVB
			// 
			this.textVB.BackColor = System.Drawing.Color.DarkSlateGray;
			this.textVB.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.textVB.Dock = System.Windows.Forms.DockStyle.Fill;
			this.textVB.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textVB.ForeColor = System.Drawing.Color.Tomato;
			this.textVB.Location = new System.Drawing.Point(0, 0);
			this.textVB.Multiline = true;
			this.textVB.Name = "textVB";
			this.textVB.ReadOnly = true;
			this.textVB.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this.textVB.Size = new System.Drawing.Size(752, 504);
			this.textVB.TabIndex = 0;
			this.textVB.Text = "";
			this.textVB.WordWrap = false;
			// 
			// tabXML
			// 
			this.tabXML.Controls.AddRange(new System.Windows.Forms.Control[] {
																				 this.textXML});
			this.tabXML.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.tabXML.Location = new System.Drawing.Point(4, 29);
			this.tabXML.Name = "tabXML";
			this.tabXML.Size = new System.Drawing.Size(752, 504);
			this.tabXML.TabIndex = 3;
			this.tabXML.Text = "XML";
			// 
			// textXML
			// 
			this.textXML.BackColor = System.Drawing.Color.DarkSlateGray;
			this.textXML.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.textXML.Dock = System.Windows.Forms.DockStyle.Fill;
			this.textXML.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textXML.ForeColor = System.Drawing.Color.LimeGreen;
			this.textXML.Location = new System.Drawing.Point(0, 0);
			this.textXML.Multiline = true;
			this.textXML.Name = "textXML";
			this.textXML.ReadOnly = true;
			this.textXML.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this.textXML.Size = new System.Drawing.Size(752, 504);
			this.textXML.TabIndex = 1;
			this.textXML.Text = "";
			this.textXML.WordWrap = false;
			// 
			// openFileDialog
			// 
			this.openFileDialog.Filter = "XML Files|*.xml";
			// 
			// MainForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(760, 537);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.tabControl});
			this.Menu = this.mainMenu;
			this.Name = "MainForm";
			this.Text = "Simple Designer Host Sample";
			this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
			this.tabControl.ResumeLayout(false);
			this.tabDesign.ResumeLayout(false);
			this.tabCS.ResumeLayout(false);
			this.tabVB.ResumeLayout(false);
			this.tabXML.ResumeLayout(false);
			this.ResumeLayout(false);

		}