コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     splitterV_        = new System.Windows.Forms.Splitter();
     rightPn_          = new System.Windows.Forms.Panel();
     asyncResultsCtrl_ = new ResultListCtrl();
     resultsCtrl_      = new ItemValuesCtrl();
     trendItemsCtrl_   = new TrendItemsCtrl();
     browseCtrl_       = new BrowseTreeCtrl();
     leftPn_           = new System.Windows.Forms.Panel();
     itemsCtrl_        = new ResultViewCtrl();
     buttonsPn_        = new System.Windows.Forms.Panel();
     backBtn_          = new System.Windows.Forms.Button();
     nextBtn_          = new System.Windows.Forms.Button();
     doneBtn_          = new System.Windows.Forms.Button();
     cancelBtn_        = new System.Windows.Forms.Button();
     trendCtrl_        = new TrendEditCtrl();
     rightPn_.SuspendLayout();
     leftPn_.SuspendLayout();
     buttonsPn_.SuspendLayout();
     SuspendLayout();
     //
     // SplitterV
     //
     splitterV_.Location = new System.Drawing.Point(328, 0);
     splitterV_.Name     = "splitterV_";
     splitterV_.Size     = new System.Drawing.Size(3, 386);
     splitterV_.TabIndex = 12;
     splitterV_.TabStop  = false;
     //
     // RightPN
     //
     rightPn_.Controls.Add(asyncResultsCtrl_);
     rightPn_.Controls.Add(resultsCtrl_);
     rightPn_.Controls.Add(trendItemsCtrl_);
     rightPn_.Controls.Add(browseCtrl_);
     rightPn_.Dock = System.Windows.Forms.DockStyle.Fill;
     rightPn_.DockPadding.Right = 4;
     rightPn_.DockPadding.Top   = 4;
     rightPn_.Location          = new System.Drawing.Point(331, 0);
     rightPn_.Name     = "rightPn_";
     rightPn_.Size     = new System.Drawing.Size(605, 386);
     rightPn_.TabIndex = 13;
     //
     // AsyncResultsCTRL
     //
     asyncResultsCtrl_.AllowDrop = true;
     asyncResultsCtrl_.Dock      = System.Windows.Forms.DockStyle.Fill;
     asyncResultsCtrl_.Location  = new System.Drawing.Point(0, 4);
     asyncResultsCtrl_.Name      = "asyncResultsCtrl_";
     asyncResultsCtrl_.Size      = new System.Drawing.Size(601, 382);
     asyncResultsCtrl_.TabIndex  = 4;
     //
     // ResultsCTRL
     //
     resultsCtrl_.DisplayGraph = false;
     resultsCtrl_.Dock         = System.Windows.Forms.DockStyle.Fill;
     resultsCtrl_.Location     = new System.Drawing.Point(0, 4);
     resultsCtrl_.Name         = "resultsCtrl_";
     resultsCtrl_.ReadOnly     = true;
     resultsCtrl_.Size         = new System.Drawing.Size(601, 382);
     resultsCtrl_.TabIndex     = 2;
     //
     // TrendItemsCTRL
     //
     trendItemsCtrl_.AllowDrop = true;
     trendItemsCtrl_.Dock      = System.Windows.Forms.DockStyle.Fill;
     trendItemsCtrl_.Location  = new System.Drawing.Point(0, 4);
     trendItemsCtrl_.Name      = "trendItemsCtrl_";
     trendItemsCtrl_.Size      = new System.Drawing.Size(601, 382);
     trendItemsCtrl_.TabIndex  = 3;
     //
     // BrowseCTRL
     //
     browseCtrl_.Dock          = System.Windows.Forms.DockStyle.Fill;
     browseCtrl_.Location      = new System.Drawing.Point(0, 4);
     browseCtrl_.Name          = "browseCtrl_";
     browseCtrl_.Size          = new System.Drawing.Size(601, 382);
     browseCtrl_.TabIndex      = 1;
     browseCtrl_.ItemSelected += new BrowseTreeCtrl.ItemSelectedEventHandler(BrowseCTRL_ItemSelected);
     browseCtrl_.ItemPicked   += new BrowseTreeCtrl.ItemPickedEventHandler(BrowseCTRL_ItemPicked);
     //
     // LeftPN
     //
     leftPn_.Controls.Add(trendCtrl_);
     leftPn_.Controls.Add(itemsCtrl_);
     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(328, 386);
     leftPn_.TabIndex         = 14;
     //
     // ItemsCTRL
     //
     itemsCtrl_.Dock            = System.Windows.Forms.DockStyle.Fill;
     itemsCtrl_.Location        = new System.Drawing.Point(4, 4);
     itemsCtrl_.Name            = "itemsCtrl_";
     itemsCtrl_.Size            = new System.Drawing.Size(324, 382);
     itemsCtrl_.TabIndex        = 4;
     itemsCtrl_.ResultSelected += new ResultViewCtrl.ResultSelectedEventHandler(ItemsCTRL_ResultSelected);
     //
     // ButtonsPN
     //
     buttonsPn_.Controls.Add(backBtn_);
     buttonsPn_.Controls.Add(nextBtn_);
     buttonsPn_.Controls.Add(doneBtn_);
     buttonsPn_.Controls.Add(cancelBtn_);
     buttonsPn_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     buttonsPn_.Location = new System.Drawing.Point(0, 386);
     buttonsPn_.Name     = "buttonsPn_";
     buttonsPn_.Size     = new System.Drawing.Size(936, 36);
     buttonsPn_.TabIndex = 15;
     //
     // BackBTN
     //
     backBtn_.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     backBtn_.Location = new System.Drawing.Point(696, 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(776, 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.OK;
     doneBtn_.Location     = new System.Drawing.Point(856, 8);
     doneBtn_.Name         = "doneBtn_";
     doneBtn_.TabIndex     = 0;
     doneBtn_.Text         = "Done";
     //
     // 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(856, 8);
     cancelBtn_.Name         = "cancelBtn_";
     cancelBtn_.TabIndex     = 5;
     cancelBtn_.Text         = "Cancel";
     //
     // TrendCTRL
     //
     trendCtrl_.Dock     = System.Windows.Forms.DockStyle.Fill;
     trendCtrl_.Location = new System.Drawing.Point(4, 4);
     trendCtrl_.Name     = "trendCtrl_";
     trendCtrl_.Size     = new System.Drawing.Size(324, 382);
     trendCtrl_.TabIndex = 5;
     //
     // ReadValuesDlg
     //
     AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     ClientSize        = new System.Drawing.Size(936, 422);
     Controls.Add(rightPn_);
     Controls.Add(splitterV_);
     Controls.Add(leftPn_);
     Controls.Add(buttonsPn_);
     Name          = "ReadValuesDlg";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     Text          = "Read Values";
     rightPn_.ResumeLayout(false);
     leftPn_.ResumeLayout(false);
     buttonsPn_.ResumeLayout(false);
     ResumeLayout(false);
 }