コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     rightPn_     = new System.Windows.Forms.Panel();
     resultsCtrl_ = new ResultListViewCtrl();
     itemsCtrl_   = new ItemListEditCtrl();
     leftPn_      = new System.Windows.Forms.Panel();
     browseCtrl_  = new BrowseTreeCtrl();
     buttonsPn_   = new System.Windows.Forms.Panel();
     optionsBtn_  = new System.Windows.Forms.Button();
     cancelBtn_   = new System.Windows.Forms.Button();
     backBtn_     = new System.Windows.Forms.Button();
     nextBtn_     = new System.Windows.Forms.Button();
     doneBtn_     = new System.Windows.Forms.Button();
     splitterV_   = new System.Windows.Forms.Splitter();
     rightPn_.SuspendLayout();
     leftPn_.SuspendLayout();
     buttonsPn_.SuspendLayout();
     SuspendLayout();
     //
     // RightPN
     //
     rightPn_.Controls.Add(resultsCtrl_);
     rightPn_.Controls.Add(itemsCtrl_);
     rightPn_.Dock = System.Windows.Forms.DockStyle.Fill;
     rightPn_.DockPadding.Right = 4;
     rightPn_.DockPadding.Top   = 4;
     rightPn_.Location          = new System.Drawing.Point(253, 0);
     rightPn_.Name     = "rightPn_";
     rightPn_.Size     = new System.Drawing.Size(539, 272);
     rightPn_.TabIndex = 6;
     //
     // ResultsCTRL
     //
     resultsCtrl_.AllowDrop = true;
     resultsCtrl_.Dock      = System.Windows.Forms.DockStyle.Fill;
     resultsCtrl_.Location  = new System.Drawing.Point(0, 4);
     resultsCtrl_.Name      = "resultsCtrl_";
     resultsCtrl_.Size      = new System.Drawing.Size(535, 268);
     resultsCtrl_.TabIndex  = 1;
     //
     // ItemsCTRL
     //
     itemsCtrl_.Dock     = System.Windows.Forms.DockStyle.Fill;
     itemsCtrl_.Location = new System.Drawing.Point(0, 4);
     itemsCtrl_.Name     = "itemsCtrl_";
     itemsCtrl_.Size     = new System.Drawing.Size(535, 268);
     itemsCtrl_.TabIndex = 0;
     //
     // LeftPN
     //
     leftPn_.Controls.Add(browseCtrl_);
     leftPn_.Dock             = System.Windows.Forms.DockStyle.Left;
     leftPn_.DockPadding.Left = 4;
     leftPn_.DockPadding.Top  = 4;
     leftPn_.Location         = new System.Drawing.Point(0, 0);
     leftPn_.Name             = "leftPn_";
     leftPn_.Size             = new System.Drawing.Size(250, 272);
     leftPn_.TabIndex         = 11;
     //
     // BrowseCTRL
     //
     browseCtrl_.Dock     = System.Windows.Forms.DockStyle.Fill;
     browseCtrl_.Location = new System.Drawing.Point(4, 4);
     browseCtrl_.Name     = "browseCtrl_";
     browseCtrl_.Size     = new System.Drawing.Size(246, 268);
     browseCtrl_.TabIndex = 0;
     //
     // ButtonsPN
     //
     buttonsPn_.Controls.Add(optionsBtn_);
     buttonsPn_.Controls.Add(cancelBtn_);
     buttonsPn_.Controls.Add(backBtn_);
     buttonsPn_.Controls.Add(nextBtn_);
     buttonsPn_.Controls.Add(doneBtn_);
     buttonsPn_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     buttonsPn_.Location = new System.Drawing.Point(0, 272);
     buttonsPn_.Name     = "buttonsPn_";
     buttonsPn_.Size     = new System.Drawing.Size(792, 36);
     buttonsPn_.TabIndex = 0;
     //
     // OptionsBTN
     //
     optionsBtn_.Location = new System.Drawing.Point(5, 8);
     optionsBtn_.Name     = "optionsBtn_";
     optionsBtn_.TabIndex = 7;
     optionsBtn_.Text     = "Options...";
     optionsBtn_.Click   += new System.EventHandler(OptionsBTN_Click);
     //
     // CancelBTN
     //
     cancelBtn_.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     cancelBtn_.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     cancelBtn_.Location     = new System.Drawing.Point(712, 8);
     cancelBtn_.Name         = "cancelBtn_";
     cancelBtn_.TabIndex     = 4;
     cancelBtn_.Text         = "Cancel";
     cancelBtn_.Click       += new System.EventHandler(DoneBTN_Click);
     //
     // BackBTN
     //
     backBtn_.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     backBtn_.Location = new System.Drawing.Point(552, 8);
     backBtn_.Name     = "backBtn_";
     backBtn_.TabIndex = 3;
     backBtn_.Text     = "< Back";
     backBtn_.Click   += new System.EventHandler(BackBTN_Click);
     //
     // NextBTN
     //
     nextBtn_.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     nextBtn_.Location = new System.Drawing.Point(632, 8);
     nextBtn_.Name     = "nextBtn_";
     nextBtn_.TabIndex = 2;
     nextBtn_.Text     = "Next >";
     nextBtn_.Click   += new System.EventHandler(NextBTN_Click);
     //
     // DoneBTN
     //
     doneBtn_.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     doneBtn_.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     doneBtn_.Location     = new System.Drawing.Point(712, 8);
     doneBtn_.Name         = "doneBtn_";
     doneBtn_.TabIndex     = 0;
     doneBtn_.Text         = "Done";
     doneBtn_.Click       += new System.EventHandler(DoneBTN_Click);
     //
     // SplitterV
     //
     splitterV_.Location = new System.Drawing.Point(250, 0);
     splitterV_.Name     = "splitterV_";
     splitterV_.Size     = new System.Drawing.Size(3, 272);
     splitterV_.TabIndex = 12;
     splitterV_.TabStop  = false;
     //
     // SubscriptionAddItemsDlg
     //
     AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     ClientSize        = new System.Drawing.Size(792, 308);
     Controls.Add(rightPn_);
     Controls.Add(splitterV_);
     Controls.Add(leftPn_);
     Controls.Add(buttonsPn_);
     Name          = "SubscriptionAddItemsDlg";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     Text          = "Add Subscription Items";
     rightPn_.ResumeLayout(false);
     leftPn_.ResumeLayout(false);
     buttonsPn_.ResumeLayout(false);
     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()
 {
     buttonsPn_       = new System.Windows.Forms.Panel();
     cancelBtn_       = new System.Windows.Forms.Button();
     okBtn_           = new System.Windows.Forms.Button();
     specificationLb_ = new System.Windows.Forms.Label();
     serversCtrl_     = new SampleClients.Da.Browse.BrowseTreeCtrl();
     topPn_           = new System.Windows.Forms.Panel();
     specificationCb_ = new System.Windows.Forms.ComboBox();
     buttonsPn_.SuspendLayout();
     topPn_.SuspendLayout();
     SuspendLayout();
     //
     // buttonsPn_
     //
     buttonsPn_.Controls.Add(cancelBtn_);
     buttonsPn_.Controls.Add(okBtn_);
     buttonsPn_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     buttonsPn_.Location = new System.Drawing.Point(0, 194);
     buttonsPn_.Name     = "buttonsPn_";
     buttonsPn_.Size     = new System.Drawing.Size(336, 44);
     buttonsPn_.TabIndex = 1;
     //
     // cancelBtn_
     //
     cancelBtn_.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     cancelBtn_.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     cancelBtn_.Location     = new System.Drawing.Point(240, 10);
     cancelBtn_.Name         = "cancelBtn_";
     cancelBtn_.Size         = new System.Drawing.Size(90, 28);
     cancelBtn_.TabIndex     = 0;
     cancelBtn_.Text         = "Cancel";
     //
     // okBtn_
     //
     okBtn_.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     okBtn_.DialogResult = System.Windows.Forms.DialogResult.OK;
     okBtn_.Location     = new System.Drawing.Point(144, 10);
     okBtn_.Name         = "okBtn_";
     okBtn_.Size         = new System.Drawing.Size(90, 28);
     okBtn_.TabIndex     = 1;
     okBtn_.Text         = "OK";
     //
     // specificationLb_
     //
     specificationLb_.Location  = new System.Drawing.Point(5, 5);
     specificationLb_.Name      = "specificationLb_";
     specificationLb_.Size      = new System.Drawing.Size(87, 28);
     specificationLb_.TabIndex  = 2;
     specificationLb_.Text      = "Specification";
     specificationLb_.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // serversCtrl_
     //
     serversCtrl_.Dock     = System.Windows.Forms.DockStyle.Fill;
     serversCtrl_.Location = new System.Drawing.Point(0, 39);
     serversCtrl_.Name     = "serversCtrl_";
     serversCtrl_.Padding  = new System.Windows.Forms.Padding(4, 0, 4, 0);
     serversCtrl_.Size     = new System.Drawing.Size(336, 155);
     serversCtrl_.TabIndex = 4;
     //
     // topPn_
     //
     topPn_.Controls.Add(specificationCb_);
     topPn_.Controls.Add(specificationLb_);
     topPn_.Dock     = System.Windows.Forms.DockStyle.Top;
     topPn_.Location = new System.Drawing.Point(0, 0);
     topPn_.Name     = "topPn_";
     topPn_.Size     = new System.Drawing.Size(336, 39);
     topPn_.TabIndex = 5;
     //
     // specificationCb_
     //
     specificationCb_.Location              = new System.Drawing.Point(88, 5);
     specificationCb_.Name                  = "specificationCb_";
     specificationCb_.Size                  = new System.Drawing.Size(243, 23);
     specificationCb_.TabIndex              = 3;
     specificationCb_.SelectedIndexChanged += new System.EventHandler(SpecificationCB_SelectedIndexChanged);
     //
     // SelectServerDlg
     //
     AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     CancelButton      = cancelBtn_;
     ClientSize        = new System.Drawing.Size(336, 238);
     Controls.Add(serversCtrl_);
     Controls.Add(topPn_);
     Controls.Add(buttonsPn_);
     Name          = "SelectServerDlg";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     Text          = "Select Server";
     buttonsPn_.ResumeLayout(false);
     topPn_.ResumeLayout(false);
     ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     browseCtrl_     = new BrowseTreeCtrl();
     leftPn_         = new System.Windows.Forms.Panel();
     rightPn_        = new System.Windows.Forms.Panel();
     propertiesCtrl_ = new PropertyListViewCtrl();
     buttonsPn_      = new System.Windows.Forms.Panel();
     doneBtn_        = new System.Windows.Forms.Button();
     splitterV_      = new System.Windows.Forms.Splitter();
     leftPn_.SuspendLayout();
     rightPn_.SuspendLayout();
     buttonsPn_.SuspendLayout();
     SuspendLayout();
     //
     // BrowseCTRL
     //
     browseCtrl_.Dock     = System.Windows.Forms.DockStyle.Fill;
     browseCtrl_.Location = new System.Drawing.Point(4, 4);
     browseCtrl_.Name     = "browseCtrl_";
     browseCtrl_.Size     = new System.Drawing.Size(220, 296);
     browseCtrl_.TabIndex = 1;
     //
     // LeftPN
     //
     leftPn_.Controls.Add(browseCtrl_);
     leftPn_.Dock             = System.Windows.Forms.DockStyle.Left;
     leftPn_.DockPadding.Left = 4;
     leftPn_.DockPadding.Top  = 4;
     leftPn_.Location         = new System.Drawing.Point(0, 0);
     leftPn_.Name             = "leftPn_";
     leftPn_.Size             = new System.Drawing.Size(224, 300);
     leftPn_.TabIndex         = 6;
     //
     // RightPN
     //
     rightPn_.Controls.Add(propertiesCtrl_);
     rightPn_.Dock = System.Windows.Forms.DockStyle.Fill;
     rightPn_.DockPadding.Right = 4;
     rightPn_.DockPadding.Top   = 4;
     rightPn_.Location          = new System.Drawing.Point(228, 0);
     rightPn_.Name     = "rightPn_";
     rightPn_.Size     = new System.Drawing.Size(564, 300);
     rightPn_.TabIndex = 8;
     //
     // PropertiesCTRL
     //
     propertiesCtrl_.AllowDrop = true;
     propertiesCtrl_.Dock      = System.Windows.Forms.DockStyle.Fill;
     propertiesCtrl_.Location  = new System.Drawing.Point(0, 4);
     propertiesCtrl_.Name      = "propertiesCtrl_";
     propertiesCtrl_.Size      = new System.Drawing.Size(560, 296);
     propertiesCtrl_.TabIndex  = 0;
     //
     // ButtonsPN
     //
     buttonsPn_.Controls.Add(doneBtn_);
     buttonsPn_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     buttonsPn_.Location = new System.Drawing.Point(0, 300);
     buttonsPn_.Name     = "buttonsPn_";
     buttonsPn_.Size     = new System.Drawing.Size(792, 36);
     buttonsPn_.TabIndex = 0;
     //
     // DoneBTN
     //
     doneBtn_.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     doneBtn_.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     doneBtn_.Location     = new System.Drawing.Point(359, 8);
     doneBtn_.Name         = "doneBtn_";
     doneBtn_.TabIndex     = 0;
     doneBtn_.Text         = "Done";
     doneBtn_.Click       += new System.EventHandler(DoneBTN_Click);
     //
     // SplitterV
     //
     splitterV_.Location = new System.Drawing.Point(224, 0);
     splitterV_.Name     = "splitterV_";
     splitterV_.Size     = new System.Drawing.Size(4, 300);
     splitterV_.TabIndex = 9;
     splitterV_.TabStop  = false;
     //
     // BrowseItemsDlg
     //
     AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     ClientSize        = new System.Drawing.Size(792, 336);
     Controls.Add(rightPn_);
     Controls.Add(splitterV_);
     Controls.Add(leftPn_);
     Controls.Add(buttonsPn_);
     Name          = "BrowseItemsDlg";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     Text          = "Browse Address Space";
     leftPn_.ResumeLayout(false);
     rightPn_.ResumeLayout(false);
     buttonsPn_.ResumeLayout(false);
     ResumeLayout(false);
 }