コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectionDialog));
     this.listLinks   = new System.Windows.Forms.ListBox();
     this.buttonClose = new System.Windows.Forms.Button();
     this.providerExchangeItemSelector = new Oatc.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.acceptorExchangeItemSelector = new Oatc.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.DimensionFilterCheckBox      = new System.Windows.Forms.CheckBox();
     this.ElementTypeFilterCheckBox    = new System.Windows.Forms.CheckBox();
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.groupBoxOutputExchnageItems = new System.Windows.Forms.GroupBox();
     this.labelWarning               = new System.Windows.Forms.Label();
     this.labelInfo                  = new System.Windows.Forms.Label();
     this.groupBoxLinks              = new System.Windows.Forms.GroupBox();
     this.buttonApply                = new System.Windows.Forms.Button();
     this.buttonRemove               = new System.Windows.Forms.Button();
     this.groupBoxProperties         = new System.Windows.Forms.GroupBox();
     this.buttonViewElementSet       = new System.Windows.Forms.Button();
     this.groupBoxTools              = new System.Windows.Forms.GroupBox();
     this.groupBoxInputExchangeItems = new System.Windows.Forms.GroupBox();
     this.panelBottom                = new System.Windows.Forms.Panel();
     this.splitterHorizontal         = new System.Windows.Forms.Splitter();
     this.splitterVertical2          = new System.Windows.Forms.Splitter();
     this.splitterVertical1          = new System.Windows.Forms.Splitter();
     this.groupBoxOutputExchnageItems.SuspendLayout();
     this.groupBoxLinks.SuspendLayout();
     this.groupBoxProperties.SuspendLayout();
     this.groupBoxTools.SuspendLayout();
     this.groupBoxInputExchangeItems.SuspendLayout();
     this.panelBottom.SuspendLayout();
     this.SuspendLayout();
     //
     // listLinks
     //
     this.listLinks.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.listLinks.BorderStyle         = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listLinks.HorizontalExtent    = 3000;
     this.listLinks.HorizontalScrollbar = true;
     this.listLinks.Location            = new System.Drawing.Point(8, 16);
     this.listLinks.Name                  = "listLinks";
     this.listLinks.Size                  = new System.Drawing.Size(450, 106);
     this.listLinks.TabIndex              = 5;
     this.listLinks.SelectedIndexChanged += new System.EventHandler(this.listLinks_SelectedIndexChanged);
     //
     // buttonClose
     //
     this.buttonClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonClose.FlatStyle    = System.Windows.Forms.FlatStyle.Popup;
     this.buttonClose.Location     = new System.Drawing.Point(550, 140);
     this.buttonClose.Name         = "buttonClose";
     this.buttonClose.Size         = new System.Drawing.Size(84, 28);
     this.buttonClose.TabIndex     = 8;
     this.buttonClose.Text         = "&Close";
     this.buttonClose.Click       += new System.EventHandler(this.buttonClose_Click);
     //
     // providerExchangeItemSelector
     //
     this.providerExchangeItemSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.providerExchangeItemSelector.Location           = new System.Drawing.Point(8, 16);
     this.providerExchangeItemSelector.Name               = "providerExchangeItemSelector";
     this.providerExchangeItemSelector.Size               = new System.Drawing.Size(188, 262);
     this.providerExchangeItemSelector.TabIndex           = 0;
     this.providerExchangeItemSelector.SelectionChanged  += new System.EventHandler(this.providerExchangeItemSelector_SelectionChanged);
     this.providerExchangeItemSelector.CheckboxesChanged += new System.EventHandler(this.providerExchangeItemSelector_CheckboxesChanged);
     //
     // acceptorExchangeItemSelector
     //
     this.acceptorExchangeItemSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.acceptorExchangeItemSelector.Location           = new System.Drawing.Point(8, 16);
     this.acceptorExchangeItemSelector.Name               = "acceptorExchangeItemSelector";
     this.acceptorExchangeItemSelector.Size               = new System.Drawing.Size(188, 262);
     this.acceptorExchangeItemSelector.TabIndex           = 1;
     this.acceptorExchangeItemSelector.SelectionChanged  += new System.EventHandler(this.acceptorExchangeItemSelector_SelectionChanged);
     this.acceptorExchangeItemSelector.CheckboxesChanged += new System.EventHandler(this.acceptorExchangeItemSelector_CheckboxesChanged);
     //
     // DimensionFilterCheckBox
     //
     this.DimensionFilterCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.DimensionFilterCheckBox.Checked         = true;
     this.DimensionFilterCheckBox.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.DimensionFilterCheckBox.FlatStyle       = System.Windows.Forms.FlatStyle.Popup;
     this.DimensionFilterCheckBox.Location        = new System.Drawing.Point(8, 295);
     this.DimensionFilterCheckBox.Name            = "DimensionFilterCheckBox";
     this.DimensionFilterCheckBox.Size            = new System.Drawing.Size(172, 16);
     this.DimensionFilterCheckBox.TabIndex        = 2;
     this.DimensionFilterCheckBox.Text            = "Use &Dimension filter";
     this.DimensionFilterCheckBox.CheckedChanged += new System.EventHandler(this.DimensionFilterCheckBox_CheckedChanged);
     //
     // ElementTypeFilterCheckBox
     //
     this.ElementTypeFilterCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.ElementTypeFilterCheckBox.Checked         = true;
     this.ElementTypeFilterCheckBox.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.ElementTypeFilterCheckBox.FlatStyle       = System.Windows.Forms.FlatStyle.Popup;
     this.ElementTypeFilterCheckBox.Location        = new System.Drawing.Point(8, 279);
     this.ElementTypeFilterCheckBox.Name            = "ElementTypeFilterCheckBox";
     this.ElementTypeFilterCheckBox.Size            = new System.Drawing.Size(172, 16);
     this.ElementTypeFilterCheckBox.TabIndex        = 3;
     this.ElementTypeFilterCheckBox.Text            = "Use &ElementType filter";
     this.ElementTypeFilterCheckBox.CheckedChanged += new System.EventHandler(this.ElementTypeFilterCheckBox_CheckedChanged);
     //
     // propertyGrid
     //
     this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid.Cursor    = System.Windows.Forms.Cursors.HSplit;
     this.propertyGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location  = new System.Drawing.Point(8, 16);
     this.propertyGrid.Name      = "propertyGrid";
     this.propertyGrid.Size      = new System.Drawing.Size(215, 295);
     this.propertyGrid.TabIndex  = 4;
     //
     // groupBoxOutputExchnageItems
     //
     this.groupBoxOutputExchnageItems.Controls.Add(this.labelWarning);
     this.groupBoxOutputExchnageItems.Controls.Add(this.providerExchangeItemSelector);
     this.groupBoxOutputExchnageItems.Dock     = System.Windows.Forms.DockStyle.Left;
     this.groupBoxOutputExchnageItems.Location = new System.Drawing.Point(8, 28);
     this.groupBoxOutputExchnageItems.Name     = "groupBoxOutputExchnageItems";
     this.groupBoxOutputExchnageItems.Size     = new System.Drawing.Size(204, 315);
     this.groupBoxOutputExchnageItems.TabIndex = 23;
     this.groupBoxOutputExchnageItems.TabStop  = false;
     this.groupBoxOutputExchnageItems.Text     = " Output Exchange Items";
     //
     // labelWarning
     //
     this.labelWarning.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.labelWarning.ForeColor = System.Drawing.Color.Red;
     this.labelWarning.Location  = new System.Drawing.Point(8, 282);
     this.labelWarning.Name      = "labelWarning";
     this.labelWarning.Size      = new System.Drawing.Size(188, 28);
     this.labelWarning.TabIndex  = 2;
     this.labelWarning.Text      = "Warning: Selected combination of DataOperations is invalid !";
     this.labelWarning.Visible   = false;
     //
     // labelInfo
     //
     this.labelInfo.Dock      = System.Windows.Forms.DockStyle.Top;
     this.labelInfo.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelInfo.ForeColor = System.Drawing.SystemColors.Desktop;
     this.labelInfo.Location  = new System.Drawing.Point(8, 0);
     this.labelInfo.Name      = "labelInfo";
     this.labelInfo.Size      = new System.Drawing.Size(642, 28);
     this.labelInfo.TabIndex  = 24;
     this.labelInfo.Text      = "Connection XXX =>\n YYY";
     this.labelInfo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // groupBoxLinks
     //
     this.groupBoxLinks.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxLinks.Controls.Add(this.buttonApply);
     this.groupBoxLinks.Controls.Add(this.buttonRemove);
     this.groupBoxLinks.Controls.Add(this.listLinks);
     this.groupBoxLinks.Location = new System.Drawing.Point(104, 4);
     this.groupBoxLinks.Name     = "groupBoxLinks";
     this.groupBoxLinks.Size     = new System.Drawing.Size(534, 128);
     this.groupBoxLinks.TabIndex = 25;
     this.groupBoxLinks.TabStop  = false;
     this.groupBoxLinks.Text     = " Links";
     //
     // buttonApply
     //
     this.buttonApply.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonApply.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.buttonApply.Location  = new System.Drawing.Point(462, 16);
     this.buttonApply.Name      = "buttonApply";
     this.buttonApply.Size      = new System.Drawing.Size(64, 24);
     this.buttonApply.TabIndex  = 6;
     this.buttonApply.Text      = "&Apply";
     this.buttonApply.Click    += new System.EventHandler(this.buttonApply_Click);
     //
     // buttonRemove
     //
     this.buttonRemove.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonRemove.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.buttonRemove.Location  = new System.Drawing.Point(462, 48);
     this.buttonRemove.Name      = "buttonRemove";
     this.buttonRemove.Size      = new System.Drawing.Size(64, 24);
     this.buttonRemove.TabIndex  = 7;
     this.buttonRemove.Text      = "&Remove";
     this.buttonRemove.Click    += new System.EventHandler(this.buttonRemove_Click);
     //
     // groupBoxProperties
     //
     this.groupBoxProperties.Controls.Add(this.propertyGrid);
     this.groupBoxProperties.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBoxProperties.Location = new System.Drawing.Point(422, 28);
     this.groupBoxProperties.Name     = "groupBoxProperties";
     this.groupBoxProperties.Size     = new System.Drawing.Size(228, 315);
     this.groupBoxProperties.TabIndex = 26;
     this.groupBoxProperties.TabStop  = false;
     this.groupBoxProperties.Text     = "DataOperation properties";
     //
     // buttonViewElementSet
     //
     this.buttonViewElementSet.Enabled   = false;
     this.buttonViewElementSet.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.buttonViewElementSet.Location  = new System.Drawing.Point(8, 16);
     this.buttonViewElementSet.Name      = "buttonViewElementSet";
     this.buttonViewElementSet.Size      = new System.Drawing.Size(80, 32);
     this.buttonViewElementSet.TabIndex  = 8;
     this.buttonViewElementSet.Text      = "ElementSet &viewer";
     this.buttonViewElementSet.Click    += new System.EventHandler(this.buttonViewElementSet_Click);
     //
     // groupBoxTools
     //
     this.groupBoxTools.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)));
     this.groupBoxTools.Controls.Add(this.buttonViewElementSet);
     this.groupBoxTools.Location = new System.Drawing.Point(4, 4);
     this.groupBoxTools.Name     = "groupBoxTools";
     this.groupBoxTools.Size     = new System.Drawing.Size(96, 128);
     this.groupBoxTools.TabIndex = 27;
     this.groupBoxTools.TabStop  = false;
     this.groupBoxTools.Text     = "Tools";
     //
     // groupBoxInputExchangeItems
     //
     this.groupBoxInputExchangeItems.Controls.Add(this.acceptorExchangeItemSelector);
     this.groupBoxInputExchangeItems.Controls.Add(this.DimensionFilterCheckBox);
     this.groupBoxInputExchangeItems.Controls.Add(this.ElementTypeFilterCheckBox);
     this.groupBoxInputExchangeItems.Dock     = System.Windows.Forms.DockStyle.Left;
     this.groupBoxInputExchangeItems.Location = new System.Drawing.Point(215, 28);
     this.groupBoxInputExchangeItems.Name     = "groupBoxInputExchangeItems";
     this.groupBoxInputExchangeItems.Size     = new System.Drawing.Size(204, 315);
     this.groupBoxInputExchangeItems.TabIndex = 0;
     this.groupBoxInputExchangeItems.TabStop  = false;
     this.groupBoxInputExchangeItems.Text     = " Input Exchange Items";
     //
     // panelBottom
     //
     this.panelBottom.Controls.Add(this.buttonClose);
     this.panelBottom.Controls.Add(this.groupBoxLinks);
     this.panelBottom.Controls.Add(this.groupBoxTools);
     this.panelBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelBottom.Location = new System.Drawing.Point(8, 347);
     this.panelBottom.Name     = "panelBottom";
     this.panelBottom.Size     = new System.Drawing.Size(642, 168);
     this.panelBottom.TabIndex = 28;
     //
     // splitterHorizontal
     //
     this.splitterHorizontal.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitterHorizontal.Location = new System.Drawing.Point(8, 343);
     this.splitterHorizontal.MinExtra = 150;
     this.splitterHorizontal.MinSize  = 150;
     this.splitterHorizontal.Name     = "splitterHorizontal";
     this.splitterHorizontal.Size     = new System.Drawing.Size(642, 4);
     this.splitterHorizontal.TabIndex = 30;
     this.splitterHorizontal.TabStop  = false;
     //
     // splitterVertical2
     //
     this.splitterVertical2.Location = new System.Drawing.Point(419, 28);
     this.splitterVertical2.MinExtra = 150;
     this.splitterVertical2.MinSize  = 150;
     this.splitterVertical2.Name     = "splitterVertical2";
     this.splitterVertical2.Size     = new System.Drawing.Size(3, 315);
     this.splitterVertical2.TabIndex = 24;
     this.splitterVertical2.TabStop  = false;
     //
     // splitterVertical1
     //
     this.splitterVertical1.Location = new System.Drawing.Point(212, 28);
     this.splitterVertical1.MinExtra = 150;
     this.splitterVertical1.MinSize  = 150;
     this.splitterVertical1.Name     = "splitterVertical1";
     this.splitterVertical1.Size     = new System.Drawing.Size(3, 315);
     this.splitterVertical1.TabIndex = 27;
     this.splitterVertical1.TabStop  = false;
     //
     // ConnectionDialog
     //
     this.AcceptButton  = this.buttonClose;
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.CancelButton  = this.buttonClose;
     this.ClientSize    = new System.Drawing.Size(658, 523);
     this.Controls.Add(this.groupBoxProperties);
     this.Controls.Add(this.splitterVertical2);
     this.Controls.Add(this.groupBoxInputExchangeItems);
     this.Controls.Add(this.splitterVertical1);
     this.Controls.Add(this.groupBoxOutputExchnageItems);
     this.Controls.Add(this.splitterHorizontal);
     this.Controls.Add(this.labelInfo);
     this.Controls.Add(this.panelBottom);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(660, 400);
     this.Name          = "ConnectionDialog";
     this.Padding       = new System.Windows.Forms.Padding(8, 0, 8, 8);
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Connection properties";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.LinkDialog_Closing);
     this.groupBoxOutputExchnageItems.ResumeLayout(false);
     this.groupBoxLinks.ResumeLayout(false);
     this.groupBoxProperties.ResumeLayout(false);
     this.groupBoxTools.ResumeLayout(false);
     this.groupBoxInputExchangeItems.ResumeLayout(false);
     this.panelBottom.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectionDialog));
     this.listLinks                   = new System.Windows.Forms.ListBox();
     this.buttonClose                 = new System.Windows.Forms.Button();
     this.DimensionFilterCheckBox     = new System.Windows.Forms.CheckBox();
     this.ElementTypeFilterCheckBox   = new System.Windows.Forms.CheckBox();
     this.propertyGrid                = new System.Windows.Forms.PropertyGrid();
     this.groupBoxOutputExchnageItems = new System.Windows.Forms.GroupBox();
     this.btnArgEdit                  = new System.Windows.Forms.Button();
     this.btnAddSources               = new System.Windows.Forms.Button();
     this._treeSource                 = new Oatc.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.labelWarning                = new System.Windows.Forms.Label();
     this.groupBoxLinks               = new System.Windows.Forms.GroupBox();
     this.btnLinkAdd                  = new System.Windows.Forms.Button();
     this.btnLinkRemove               = new System.Windows.Forms.Button();
     this.groupBoxProperties          = new System.Windows.Forms.GroupBox();
     this.btnViewer                   = new System.Windows.Forms.Button();
     this.groupBoxInputExchangeItems  = new System.Windows.Forms.GroupBox();
     this.label1             = new System.Windows.Forms.Label();
     this._treeTarget        = new Oatc.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.panelBottom        = new System.Windows.Forms.Panel();
     this.splitterHorizontal = new System.Windows.Forms.Splitter();
     this.splitterVertical2  = new System.Windows.Forms.Splitter();
     this.splitterVertical1  = new System.Windows.Forms.Splitter();
     this.groupBoxOutputExchnageItems.SuspendLayout();
     this.groupBoxLinks.SuspendLayout();
     this.groupBoxProperties.SuspendLayout();
     this.groupBoxInputExchangeItems.SuspendLayout();
     this.panelBottom.SuspendLayout();
     this.SuspendLayout();
     //
     // listLinks
     //
     this.listLinks.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.listLinks.BorderStyle         = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listLinks.HorizontalExtent    = 3000;
     this.listLinks.HorizontalScrollbar = true;
     this.listLinks.Location            = new System.Drawing.Point(8, 18);
     this.listLinks.Name                  = "listLinks";
     this.listLinks.Size                  = new System.Drawing.Size(552, 80);
     this.listLinks.TabIndex              = 5;
     this.listLinks.SelectedIndexChanged += new System.EventHandler(this.OnSelectionChanged);
     //
     // buttonClose
     //
     this.buttonClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonClose.Location     = new System.Drawing.Point(564, 119);
     this.buttonClose.Name         = "buttonClose";
     this.buttonClose.Size         = new System.Drawing.Size(64, 24);
     this.buttonClose.TabIndex     = 8;
     this.buttonClose.Text         = "&Close";
     this.buttonClose.Click       += new System.EventHandler(this.OnClose);
     //
     // DimensionFilterCheckBox
     //
     this.DimensionFilterCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.DimensionFilterCheckBox.Checked         = true;
     this.DimensionFilterCheckBox.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.DimensionFilterCheckBox.FlatStyle       = System.Windows.Forms.FlatStyle.Popup;
     this.DimensionFilterCheckBox.Location        = new System.Drawing.Point(53, 277);
     this.DimensionFilterCheckBox.Name            = "DimensionFilterCheckBox";
     this.DimensionFilterCheckBox.Size            = new System.Drawing.Size(143, 16);
     this.DimensionFilterCheckBox.TabIndex        = 2;
     this.DimensionFilterCheckBox.Text            = "&Dimension";
     this.DimensionFilterCheckBox.CheckedChanged += new System.EventHandler(this.DimensionFilterCheckBox_CheckedChanged);
     //
     // ElementTypeFilterCheckBox
     //
     this.ElementTypeFilterCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.ElementTypeFilterCheckBox.Checked         = true;
     this.ElementTypeFilterCheckBox.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.ElementTypeFilterCheckBox.FlatStyle       = System.Windows.Forms.FlatStyle.Popup;
     this.ElementTypeFilterCheckBox.Location        = new System.Drawing.Point(53, 261);
     this.ElementTypeFilterCheckBox.Name            = "ElementTypeFilterCheckBox";
     this.ElementTypeFilterCheckBox.Size            = new System.Drawing.Size(143, 16);
     this.ElementTypeFilterCheckBox.TabIndex        = 3;
     this.ElementTypeFilterCheckBox.Text            = "&Element Type";
     this.ElementTypeFilterCheckBox.CheckedChanged += new System.EventHandler(this.ElementTypeFilterCheckBox_CheckedChanged);
     //
     // propertyGrid
     //
     this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid.Cursor    = System.Windows.Forms.Cursors.HSplit;
     this.propertyGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location  = new System.Drawing.Point(8, 16);
     this.propertyGrid.Name      = "propertyGrid";
     this.propertyGrid.Size      = new System.Drawing.Size(209, 272);
     this.propertyGrid.TabIndex  = 4;
     //
     // groupBoxOutputExchnageItems
     //
     this.groupBoxOutputExchnageItems.Controls.Add(this.btnArgEdit);
     this.groupBoxOutputExchnageItems.Controls.Add(this.btnAddSources);
     this.groupBoxOutputExchnageItems.Controls.Add(this._treeSource);
     this.groupBoxOutputExchnageItems.Dock     = System.Windows.Forms.DockStyle.Left;
     this.groupBoxOutputExchnageItems.Location = new System.Drawing.Point(8, 0);
     this.groupBoxOutputExchnageItems.Name     = "groupBoxOutputExchnageItems";
     this.groupBoxOutputExchnageItems.Size     = new System.Drawing.Size(204, 294);
     this.groupBoxOutputExchnageItems.TabIndex = 23;
     this.groupBoxOutputExchnageItems.TabStop  = false;
     this.groupBoxOutputExchnageItems.Text     = "Sources";
     //
     // btnArgEdit
     //
     this.btnArgEdit.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnArgEdit.Location = new System.Drawing.Point(116, 265);
     this.btnArgEdit.Name     = "btnArgEdit";
     this.btnArgEdit.Size     = new System.Drawing.Size(80, 23);
     this.btnArgEdit.TabIndex = 4;
     this.btnArgEdit.Text     = "Edit Args ...";
     this.btnArgEdit.UseVisualStyleBackColor = true;
     this.btnArgEdit.Click += new System.EventHandler(this.OnEditArgs);
     //
     // btnAddSources
     //
     this.btnAddSources.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnAddSources.Location = new System.Drawing.Point(8, 265);
     this.btnAddSources.Name     = "btnAddSources";
     this.btnAddSources.Size     = new System.Drawing.Size(101, 23);
     this.btnAddSources.TabIndex = 3;
     this.btnAddSources.Text     = "Add  Sources ...";
     this.btnAddSources.UseVisualStyleBackColor = true;
     this.btnAddSources.Click += new System.EventHandler(this.OnAddSources);
     //
     // _treeSource
     //
     this._treeSource.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this._treeSource.Location             = new System.Drawing.Point(8, 16);
     this._treeSource.Name                 = "_treeSource";
     this._treeSource.Size                 = new System.Drawing.Size(188, 239);
     this._treeSource.TabIndex             = 0;
     this._treeSource.SelectionChanged    += new System.EventHandler(this.providerExchangeItemSelector_SelectionChanged);
     this._treeSource.ExchangeItemChanged += new System.EventHandler(this.providerExchangeItemSelector_CheckboxesChanged);
     //
     // labelWarning
     //
     this.labelWarning.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.labelWarning.ForeColor = System.Drawing.Color.Red;
     this.labelWarning.Location  = new System.Drawing.Point(210, 115);
     this.labelWarning.Name      = "labelWarning";
     this.labelWarning.Size      = new System.Drawing.Size(348, 28);
     this.labelWarning.TabIndex  = 2;
     this.labelWarning.Text      = "Warning: Selected combination  is invalid !";
     this.labelWarning.Visible   = false;
     //
     // groupBoxLinks
     //
     this.groupBoxLinks.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxLinks.Controls.Add(this.btnLinkAdd);
     this.groupBoxLinks.Controls.Add(this.btnLinkRemove);
     this.groupBoxLinks.Controls.Add(this.listLinks);
     this.groupBoxLinks.Location = new System.Drawing.Point(8, 302);
     this.groupBoxLinks.Name     = "groupBoxLinks";
     this.groupBoxLinks.Size     = new System.Drawing.Size(636, 109);
     this.groupBoxLinks.TabIndex = 25;
     this.groupBoxLinks.TabStop  = false;
     this.groupBoxLinks.Text     = " Links";
     //
     // btnLinkAdd
     //
     this.btnLinkAdd.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnLinkAdd.Location = new System.Drawing.Point(564, 22);
     this.btnLinkAdd.Name     = "btnLinkAdd";
     this.btnLinkAdd.Size     = new System.Drawing.Size(64, 24);
     this.btnLinkAdd.TabIndex = 6;
     this.btnLinkAdd.Text     = "&Add";
     this.btnLinkAdd.Click   += new System.EventHandler(this.OnLinkAdd);
     //
     // btnLinkRemove
     //
     this.btnLinkRemove.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnLinkRemove.Location = new System.Drawing.Point(564, 57);
     this.btnLinkRemove.Name     = "btnLinkRemove";
     this.btnLinkRemove.Size     = new System.Drawing.Size(64, 24);
     this.btnLinkRemove.TabIndex = 7;
     this.btnLinkRemove.Text     = "&Remove";
     this.btnLinkRemove.Click   += new System.EventHandler(this.OnLinkRemove);
     //
     // groupBoxProperties
     //
     this.groupBoxProperties.Controls.Add(this.propertyGrid);
     this.groupBoxProperties.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBoxProperties.Location = new System.Drawing.Point(422, 0);
     this.groupBoxProperties.Name     = "groupBoxProperties";
     this.groupBoxProperties.Size     = new System.Drawing.Size(222, 294);
     this.groupBoxProperties.TabIndex = 26;
     this.groupBoxProperties.TabStop  = false;
     this.groupBoxProperties.Text     = "Properties";
     //
     // btnViewer
     //
     this.btnViewer.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnViewer.Location = new System.Drawing.Point(8, 119);
     this.btnViewer.Name     = "btnViewer";
     this.btnViewer.Size     = new System.Drawing.Size(196, 24);
     this.btnViewer.TabIndex = 8;
     this.btnViewer.Text     = "&Viewer (checked items only)";
     this.btnViewer.Click   += new System.EventHandler(this.OnViewElementSet);
     //
     // groupBoxInputExchangeItems
     //
     this.groupBoxInputExchangeItems.Controls.Add(this.label1);
     this.groupBoxInputExchangeItems.Controls.Add(this._treeTarget);
     this.groupBoxInputExchangeItems.Controls.Add(this.DimensionFilterCheckBox);
     this.groupBoxInputExchangeItems.Controls.Add(this.ElementTypeFilterCheckBox);
     this.groupBoxInputExchangeItems.Dock     = System.Windows.Forms.DockStyle.Left;
     this.groupBoxInputExchangeItems.Location = new System.Drawing.Point(215, 0);
     this.groupBoxInputExchangeItems.Name     = "groupBoxInputExchangeItems";
     this.groupBoxInputExchangeItems.Size     = new System.Drawing.Size(204, 294);
     this.groupBoxInputExchangeItems.TabIndex = 0;
     this.groupBoxInputExchangeItems.TabStop  = false;
     this.groupBoxInputExchangeItems.Text     = "Targets";
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(6, 263);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(43, 13);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Filter by";
     //
     // _treeTarget
     //
     this._treeTarget.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this._treeTarget.Location             = new System.Drawing.Point(8, 16);
     this._treeTarget.Name                 = "_treeTarget";
     this._treeTarget.Size                 = new System.Drawing.Size(188, 239);
     this._treeTarget.TabIndex             = 1;
     this._treeTarget.SelectionChanged    += new System.EventHandler(this.acceptorExchangeItemSelector_SelectionChanged);
     this._treeTarget.ExchangeItemChanged += new System.EventHandler(this.acceptorExchangeItemSelector_CheckboxesChanged);
     //
     // panelBottom
     //
     this.panelBottom.Controls.Add(this.btnViewer);
     this.panelBottom.Controls.Add(this.labelWarning);
     this.panelBottom.Controls.Add(this.buttonClose);
     this.panelBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelBottom.Location = new System.Drawing.Point(8, 298);
     this.panelBottom.Name     = "panelBottom";
     this.panelBottom.Size     = new System.Drawing.Size(636, 143);
     this.panelBottom.TabIndex = 28;
     //
     // splitterHorizontal
     //
     this.splitterHorizontal.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitterHorizontal.Location = new System.Drawing.Point(8, 294);
     this.splitterHorizontal.MinExtra = 150;
     this.splitterHorizontal.MinSize  = 150;
     this.splitterHorizontal.Name     = "splitterHorizontal";
     this.splitterHorizontal.Size     = new System.Drawing.Size(636, 4);
     this.splitterHorizontal.TabIndex = 30;
     this.splitterHorizontal.TabStop  = false;
     //
     // splitterVertical2
     //
     this.splitterVertical2.Location = new System.Drawing.Point(419, 0);
     this.splitterVertical2.MinExtra = 150;
     this.splitterVertical2.MinSize  = 150;
     this.splitterVertical2.Name     = "splitterVertical2";
     this.splitterVertical2.Size     = new System.Drawing.Size(3, 294);
     this.splitterVertical2.TabIndex = 24;
     this.splitterVertical2.TabStop  = false;
     //
     // splitterVertical1
     //
     this.splitterVertical1.Location = new System.Drawing.Point(212, 0);
     this.splitterVertical1.MinExtra = 150;
     this.splitterVertical1.MinSize  = 150;
     this.splitterVertical1.Name     = "splitterVertical1";
     this.splitterVertical1.Size     = new System.Drawing.Size(3, 294);
     this.splitterVertical1.TabIndex = 27;
     this.splitterVertical1.TabStop  = false;
     //
     // ConnectionDialog
     //
     this.AcceptButton  = this.buttonClose;
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.CancelButton  = this.buttonClose;
     this.ClientSize    = new System.Drawing.Size(652, 449);
     this.Controls.Add(this.groupBoxProperties);
     this.Controls.Add(this.splitterVertical2);
     this.Controls.Add(this.groupBoxLinks);
     this.Controls.Add(this.groupBoxInputExchangeItems);
     this.Controls.Add(this.splitterVertical1);
     this.Controls.Add(this.groupBoxOutputExchnageItems);
     this.Controls.Add(this.splitterHorizontal);
     this.Controls.Add(this.panelBottom);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(660, 400);
     this.Name          = "ConnectionDialog";
     this.Padding       = new System.Windows.Forms.Padding(8, 0, 8, 8);
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Connection properties";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.OnClosing);
     this.groupBoxOutputExchnageItems.ResumeLayout(false);
     this.groupBoxLinks.ResumeLayout(false);
     this.groupBoxProperties.ResumeLayout(false);
     this.groupBoxInputExchangeItems.ResumeLayout(false);
     this.groupBoxInputExchangeItems.PerformLayout();
     this.panelBottom.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ModelDialog));
     this.comboBoxModel = new System.Windows.Forms.ComboBox();
     this.label1        = new System.Windows.Forms.Label();
     this.propertyGrid  = new System.Windows.Forms.PropertyGrid();
     this.outputExchangeItemSelector  = new HydroNumerics.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.groupBoxOutputExchnageItems = new System.Windows.Forms.GroupBox();
     this.inputExchangeItemSelector   = new HydroNumerics.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.groupBoxProperties          = new System.Windows.Forms.GroupBox();
     this.buttonViewElementSet        = new System.Windows.Forms.Button();
     this.buttonClose = new System.Windows.Forms.Button();
     this.panelTop    = new System.Windows.Forms.Panel();
     this.panelBottom = new System.Windows.Forms.Panel();
     this.groupBoxInputExchangeItems = new System.Windows.Forms.GroupBox();
     this.splitterVertical           = new System.Windows.Forms.Splitter();
     this.splitterHorizontal         = new System.Windows.Forms.Splitter();
     this.groupBoxOutputExchnageItems.SuspendLayout();
     this.groupBoxProperties.SuspendLayout();
     this.panelTop.SuspendLayout();
     this.panelBottom.SuspendLayout();
     this.groupBoxInputExchangeItems.SuspendLayout();
     this.SuspendLayout();
     //
     // comboBoxModel
     //
     this.comboBoxModel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxModel.Location              = new System.Drawing.Point(60, 4);
     this.comboBoxModel.Name                  = "comboBoxModel";
     this.comboBoxModel.Size                  = new System.Drawing.Size(460, 21);
     this.comboBoxModel.TabIndex              = 0;
     this.comboBoxModel.SelectedIndexChanged += new System.EventHandler(this.comboBoxModel_SelectedIndexChanged);
     this.comboBoxModel.Enter                += new System.EventHandler(this.comboBoxModel_Enter);
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(48, 12);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Model:";
     //
     // propertyGrid
     //
     this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid.CommandsVisibleIfAvailable = true;
     this.propertyGrid.Cursor        = System.Windows.Forms.Cursors.HSplit;
     this.propertyGrid.LargeButtons  = false;
     this.propertyGrid.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location      = new System.Drawing.Point(8, 16);
     this.propertyGrid.Name          = "propertyGrid";
     this.propertyGrid.Size          = new System.Drawing.Size(258, 272);
     this.propertyGrid.TabIndex      = 28;
     this.propertyGrid.Text          = "propertyGrid1";
     this.propertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // outputExchangeItemSelector
     //
     this.outputExchangeItemSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.outputExchangeItemSelector.Location          = new System.Drawing.Point(8, 16);
     this.outputExchangeItemSelector.Name              = "outputExchangeItemSelector";
     this.outputExchangeItemSelector.Size              = new System.Drawing.Size(232, 136);
     this.outputExchangeItemSelector.TabIndex          = 27;
     this.outputExchangeItemSelector.SelectionChanged += new System.EventHandler(this.outputExchangeItemSelector_SelectionChanged);
     //
     // groupBoxOutputExchnageItems
     //
     this.groupBoxOutputExchnageItems.Controls.Add(this.outputExchangeItemSelector);
     this.groupBoxOutputExchnageItems.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBoxOutputExchnageItems.Location = new System.Drawing.Point(8, 28);
     this.groupBoxOutputExchnageItems.Name     = "groupBoxOutputExchnageItems";
     this.groupBoxOutputExchnageItems.Size     = new System.Drawing.Size(248, 157);
     this.groupBoxOutputExchnageItems.TabIndex = 29;
     this.groupBoxOutputExchnageItems.TabStop  = false;
     this.groupBoxOutputExchnageItems.Text     = " Output Exchange Items";
     //
     // inputExchangeItemSelector
     //
     this.inputExchangeItemSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.inputExchangeItemSelector.Location          = new System.Drawing.Point(8, 16);
     this.inputExchangeItemSelector.Name              = "inputExchangeItemSelector";
     this.inputExchangeItemSelector.Size              = new System.Drawing.Size(232, 144);
     this.inputExchangeItemSelector.TabIndex          = 1;
     this.inputExchangeItemSelector.SelectionChanged += new System.EventHandler(this.inputExchangeItemSelector_SelectionChanged);
     //
     // groupBoxProperties
     //
     this.groupBoxProperties.Controls.Add(this.propertyGrid);
     this.groupBoxProperties.Controls.Add(this.buttonViewElementSet);
     this.groupBoxProperties.Dock      = System.Windows.Forms.DockStyle.Right;
     this.groupBoxProperties.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.groupBoxProperties.Location  = new System.Drawing.Point(260, 28);
     this.groupBoxProperties.Name      = "groupBoxProperties";
     this.groupBoxProperties.Size      = new System.Drawing.Size(272, 325);
     this.groupBoxProperties.TabIndex  = 30;
     this.groupBoxProperties.TabStop   = false;
     this.groupBoxProperties.Text      = "ElementSet properties";
     //
     // buttonViewElementSet
     //
     this.buttonViewElementSet.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonViewElementSet.Enabled   = false;
     this.buttonViewElementSet.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.buttonViewElementSet.Location  = new System.Drawing.Point(12, 293);
     this.buttonViewElementSet.Name      = "buttonViewElementSet";
     this.buttonViewElementSet.Size      = new System.Drawing.Size(108, 24);
     this.buttonViewElementSet.TabIndex  = 33;
     this.buttonViewElementSet.Text      = "ElementSet viewer";
     this.buttonViewElementSet.Click    += new System.EventHandler(this.buttonViewElementSet_Click);
     //
     // buttonClose
     //
     this.buttonClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonClose.FlatStyle    = System.Windows.Forms.FlatStyle.Popup;
     this.buttonClose.Location     = new System.Drawing.Point(428, 4);
     this.buttonClose.Name         = "buttonClose";
     this.buttonClose.Size         = new System.Drawing.Size(88, 28);
     this.buttonClose.TabIndex     = 31;
     this.buttonClose.Text         = "Close";
     this.buttonClose.Click       += new System.EventHandler(this.buttonClose_Click);
     //
     // panelTop
     //
     this.panelTop.Controls.Add(this.label1);
     this.panelTop.Controls.Add(this.comboBoxModel);
     this.panelTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelTop.Location = new System.Drawing.Point(8, 0);
     this.panelTop.Name     = "panelTop";
     this.panelTop.Size     = new System.Drawing.Size(524, 28);
     this.panelTop.TabIndex = 32;
     //
     // panelBottom
     //
     this.panelBottom.Controls.Add(this.buttonClose);
     this.panelBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelBottom.Location = new System.Drawing.Point(8, 353);
     this.panelBottom.Name     = "panelBottom";
     this.panelBottom.Size     = new System.Drawing.Size(524, 36);
     this.panelBottom.TabIndex = 33;
     //
     // groupBoxInputExchangeItems
     //
     this.groupBoxInputExchangeItems.Controls.Add(this.inputExchangeItemSelector);
     this.groupBoxInputExchangeItems.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBoxInputExchangeItems.Location = new System.Drawing.Point(8, 189);
     this.groupBoxInputExchangeItems.Name     = "groupBoxInputExchangeItems";
     this.groupBoxInputExchangeItems.Size     = new System.Drawing.Size(248, 164);
     this.groupBoxInputExchangeItems.TabIndex = 0;
     this.groupBoxInputExchangeItems.TabStop  = false;
     this.groupBoxInputExchangeItems.Text     = " Input Exchange Items";
     //
     // splitterVertical
     //
     this.splitterVertical.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitterVertical.Location = new System.Drawing.Point(256, 28);
     this.splitterVertical.MinExtra = 150;
     this.splitterVertical.MinSize  = 150;
     this.splitterVertical.Name     = "splitterVertical";
     this.splitterVertical.Size     = new System.Drawing.Size(4, 325);
     this.splitterVertical.TabIndex = 34;
     this.splitterVertical.TabStop  = false;
     //
     // splitterHorizontal
     //
     this.splitterHorizontal.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitterHorizontal.Location = new System.Drawing.Point(8, 185);
     this.splitterHorizontal.MinExtra = 150;
     this.splitterHorizontal.MinSize  = 150;
     this.splitterHorizontal.Name     = "splitterHorizontal";
     this.splitterHorizontal.Size     = new System.Drawing.Size(248, 4);
     this.splitterHorizontal.TabIndex = 35;
     this.splitterHorizontal.TabStop  = false;
     //
     // ModelDialog
     //
     this.AutoScaleMode     = System.Windows.Forms.AutoScaleMode.None;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(540, 397);
     this.Controls.Add(this.groupBoxOutputExchnageItems);
     this.Controls.Add(this.splitterHorizontal);
     this.Controls.Add(this.groupBoxInputExchangeItems);
     this.Controls.Add(this.splitterVertical);
     this.Controls.Add(this.groupBoxProperties);
     this.Controls.Add(this.panelTop);
     this.Controls.Add(this.panelBottom);
     this.DockPadding.Bottom = 8;
     this.DockPadding.Left   = 8;
     this.DockPadding.Right  = 8;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(500, 400);
     this.Name          = "ModelDialog";
     this.ShowInTaskbar = false;
     this.Text          = "Model properties";
     this.Resize       += new System.EventHandler(this.ModelDialog_Resize);
     this.groupBoxOutputExchnageItems.ResumeLayout(false);
     this.groupBoxProperties.ResumeLayout(false);
     this.panelTop.ResumeLayout(false);
     this.panelBottom.ResumeLayout(false);
     this.groupBoxInputExchangeItems.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ModelDialog));
     this.comboBoxModel = new System.Windows.Forms.ComboBox();
     this.label1        = new System.Windows.Forms.Label();
     this.propertyGrid  = new System.Windows.Forms.PropertyGrid();
     this.outputExchangeItemSelector  = new Oatc.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.groupBoxOutputExchnageItems = new System.Windows.Forms.GroupBox();
     this.inputExchangeItemSelector   = new Oatc.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.groupBoxProperties          = new System.Windows.Forms.GroupBox();
     this.btnViewer   = new System.Windows.Forms.Button();
     this.buttonClose = new System.Windows.Forms.Button();
     this.panelTop    = new System.Windows.Forms.Panel();
     this.panelBottom = new System.Windows.Forms.Panel();
     this.groupBoxInputExchangeItems = new System.Windows.Forms.GroupBox();
     this.splitterVertical           = new System.Windows.Forms.Splitter();
     this.splitterHorizontal         = new System.Windows.Forms.Splitter();
     this.groupBoxOutputExchnageItems.SuspendLayout();
     this.groupBoxProperties.SuspendLayout();
     this.panelTop.SuspendLayout();
     this.panelBottom.SuspendLayout();
     this.groupBoxInputExchangeItems.SuspendLayout();
     this.SuspendLayout();
     //
     // comboBoxModel
     //
     this.comboBoxModel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxModel.Location              = new System.Drawing.Point(60, 4);
     this.comboBoxModel.Name                  = "comboBoxModel";
     this.comboBoxModel.Size                  = new System.Drawing.Size(485, 21);
     this.comboBoxModel.TabIndex              = 0;
     this.comboBoxModel.SelectedIndexChanged += new System.EventHandler(this.comboBoxModel_SelectedIndexChanged);
     this.comboBoxModel.Enter                += new System.EventHandler(this.comboBoxModel_Enter);
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(48, 12);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Model:";
     //
     // propertyGrid
     //
     this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid.Cursor    = System.Windows.Forms.Cursors.HSplit;
     this.propertyGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location  = new System.Drawing.Point(8, 16);
     this.propertyGrid.Name      = "propertyGrid";
     this.propertyGrid.Size      = new System.Drawing.Size(258, 311);
     this.propertyGrid.TabIndex  = 28;
     //
     // outputExchangeItemSelector
     //
     this.outputExchangeItemSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.outputExchangeItemSelector.Location          = new System.Drawing.Point(8, 16);
     this.outputExchangeItemSelector.Name              = "outputExchangeItemSelector";
     this.outputExchangeItemSelector.Size              = new System.Drawing.Size(257, 142);
     this.outputExchangeItemSelector.TabIndex          = 27;
     this.outputExchangeItemSelector.SelectionChanged += new System.EventHandler(this.outputExchangeItemSelector_SelectionChanged);
     //
     // groupBoxOutputExchnageItems
     //
     this.groupBoxOutputExchnageItems.Controls.Add(this.outputExchangeItemSelector);
     this.groupBoxOutputExchnageItems.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBoxOutputExchnageItems.Location = new System.Drawing.Point(8, 28);
     this.groupBoxOutputExchnageItems.Name     = "groupBoxOutputExchnageItems";
     this.groupBoxOutputExchnageItems.Size     = new System.Drawing.Size(273, 163);
     this.groupBoxOutputExchnageItems.TabIndex = 29;
     this.groupBoxOutputExchnageItems.TabStop  = false;
     this.groupBoxOutputExchnageItems.Text     = "Sources";
     //
     // inputExchangeItemSelector
     //
     this.inputExchangeItemSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.inputExchangeItemSelector.Location          = new System.Drawing.Point(8, 16);
     this.inputExchangeItemSelector.Name              = "inputExchangeItemSelector";
     this.inputExchangeItemSelector.Size              = new System.Drawing.Size(257, 144);
     this.inputExchangeItemSelector.TabIndex          = 1;
     this.inputExchangeItemSelector.SelectionChanged += new System.EventHandler(this.inputExchangeItemSelector_SelectionChanged);
     //
     // groupBoxProperties
     //
     this.groupBoxProperties.Controls.Add(this.propertyGrid);
     this.groupBoxProperties.Dock      = System.Windows.Forms.DockStyle.Right;
     this.groupBoxProperties.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.groupBoxProperties.Location  = new System.Drawing.Point(285, 28);
     this.groupBoxProperties.Name      = "groupBoxProperties";
     this.groupBoxProperties.Size      = new System.Drawing.Size(272, 331);
     this.groupBoxProperties.TabIndex  = 30;
     this.groupBoxProperties.TabStop   = false;
     this.groupBoxProperties.Text      = "Properties";
     //
     // btnViewer
     //
     this.btnViewer.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnViewer.Enabled  = false;
     this.btnViewer.Location = new System.Drawing.Point(0, 6);
     this.btnViewer.Name     = "btnViewer";
     this.btnViewer.Size     = new System.Drawing.Size(108, 24);
     this.btnViewer.TabIndex = 33;
     this.btnViewer.Text     = "&Viewer";
     this.btnViewer.Click   += new System.EventHandler(this.buttonViewElementSet_Click);
     //
     // buttonClose
     //
     this.buttonClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonClose.Location     = new System.Drawing.Point(441, 6);
     this.buttonClose.Name         = "buttonClose";
     this.buttonClose.Size         = new System.Drawing.Size(108, 24);
     this.buttonClose.TabIndex     = 31;
     this.buttonClose.Text         = "Close";
     this.buttonClose.Click       += new System.EventHandler(this.buttonClose_Click);
     //
     // panelTop
     //
     this.panelTop.Controls.Add(this.label1);
     this.panelTop.Controls.Add(this.comboBoxModel);
     this.panelTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelTop.Location = new System.Drawing.Point(8, 0);
     this.panelTop.Name     = "panelTop";
     this.panelTop.Size     = new System.Drawing.Size(549, 28);
     this.panelTop.TabIndex = 32;
     //
     // panelBottom
     //
     this.panelBottom.Controls.Add(this.buttonClose);
     this.panelBottom.Controls.Add(this.btnViewer);
     this.panelBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelBottom.Location = new System.Drawing.Point(8, 359);
     this.panelBottom.Name     = "panelBottom";
     this.panelBottom.Size     = new System.Drawing.Size(549, 30);
     this.panelBottom.TabIndex = 33;
     //
     // groupBoxInputExchangeItems
     //
     this.groupBoxInputExchangeItems.Controls.Add(this.inputExchangeItemSelector);
     this.groupBoxInputExchangeItems.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBoxInputExchangeItems.Location = new System.Drawing.Point(8, 195);
     this.groupBoxInputExchangeItems.Name     = "groupBoxInputExchangeItems";
     this.groupBoxInputExchangeItems.Size     = new System.Drawing.Size(273, 164);
     this.groupBoxInputExchangeItems.TabIndex = 0;
     this.groupBoxInputExchangeItems.TabStop  = false;
     this.groupBoxInputExchangeItems.Text     = "Targets";
     //
     // splitterVertical
     //
     this.splitterVertical.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitterVertical.Location = new System.Drawing.Point(281, 28);
     this.splitterVertical.MinExtra = 150;
     this.splitterVertical.MinSize  = 150;
     this.splitterVertical.Name     = "splitterVertical";
     this.splitterVertical.Size     = new System.Drawing.Size(4, 331);
     this.splitterVertical.TabIndex = 34;
     this.splitterVertical.TabStop  = false;
     //
     // splitterHorizontal
     //
     this.splitterHorizontal.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitterHorizontal.Location = new System.Drawing.Point(8, 191);
     this.splitterHorizontal.MinExtra = 150;
     this.splitterHorizontal.MinSize  = 150;
     this.splitterHorizontal.Name     = "splitterHorizontal";
     this.splitterHorizontal.Size     = new System.Drawing.Size(273, 4);
     this.splitterHorizontal.TabIndex = 35;
     this.splitterHorizontal.TabStop  = false;
     //
     // ModelDialog
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize    = new System.Drawing.Size(565, 397);
     this.Controls.Add(this.groupBoxOutputExchnageItems);
     this.Controls.Add(this.splitterHorizontal);
     this.Controls.Add(this.groupBoxInputExchangeItems);
     this.Controls.Add(this.splitterVertical);
     this.Controls.Add(this.groupBoxProperties);
     this.Controls.Add(this.panelTop);
     this.Controls.Add(this.panelBottom);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(500, 400);
     this.Name          = "ModelDialog";
     this.Padding       = new System.Windows.Forms.Padding(8, 0, 8, 8);
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.Text          = "Model properties";
     this.Resize       += new System.EventHandler(this.ModelDialog_Resize);
     this.groupBoxOutputExchnageItems.ResumeLayout(false);
     this.groupBoxProperties.ResumeLayout(false);
     this.panelTop.ResumeLayout(false);
     this.panelBottom.ResumeLayout(false);
     this.groupBoxInputExchangeItems.ResumeLayout(false);
     this.ResumeLayout(false);
 }