示例#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);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     cancelBtn_      = new System.Windows.Forms.Button();
     buttonsPn_      = new System.Windows.Forms.Panel();
     okBtn_          = new System.Windows.Forms.Button();
     mainPn_         = new System.Windows.Forms.Panel();
     valuesLv_       = new System.Windows.Forms.ListView();
     popupMenu_      = new System.Windows.Forms.ContextMenuStrip();
     addMi_          = new System.Windows.Forms.ToolStripMenuItem();
     copyMi_         = new System.Windows.Forms.ToolStripMenuItem();
     editMi_         = new System.Windows.Forms.ToolStripMenuItem();
     deleteMi_       = new System.Windows.Forms.ToolStripMenuItem();
     clearMi_        = new System.Windows.Forms.ToolStripMenuItem();
     topPn_          = new System.Windows.Forms.Panel();
     trendCtrl_      = new TrendEditCtrl();
     resultIdlb_     = new System.Windows.Forms.Label();
     resultIdtb_     = new System.Windows.Forms.TextBox();
     acceptActualMi_ = new System.Windows.Forms.ToolStripMenuItem();
     separator01_    = new System.Windows.Forms.ToolStripMenuItem();
     buttonsPn_.SuspendLayout();
     mainPn_.SuspendLayout();
     topPn_.SuspendLayout();
     SuspendLayout();
     //
     // 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(304, 8);
     cancelBtn_.Name         = "cancelBtn_";
     cancelBtn_.TabIndex     = 0;
     cancelBtn_.Text         = "Cancel";
     //
     // ButtonsPN
     //
     buttonsPn_.Controls.Add(okBtn_);
     buttonsPn_.Controls.Add(cancelBtn_);
     buttonsPn_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     buttonsPn_.Location = new System.Drawing.Point(0, 378);
     buttonsPn_.Name     = "buttonsPn_";
     buttonsPn_.Size     = new System.Drawing.Size(384, 36);
     buttonsPn_.TabIndex = 0;
     //
     // OkBTN
     //
     okBtn_.DialogResult = System.Windows.Forms.DialogResult.OK;
     okBtn_.Location     = new System.Drawing.Point(4, 8);
     okBtn_.Name         = "okBtn_";
     okBtn_.TabIndex     = 0;
     okBtn_.Text         = "OK";
     //
     // MainPN
     //
     mainPn_.Controls.Add(valuesLv_);
     mainPn_.Dock              = System.Windows.Forms.DockStyle.Fill;
     mainPn_.DockPadding.Left  = 4;
     mainPn_.DockPadding.Right = 4;
     mainPn_.DockPadding.Top   = 4;
     mainPn_.Location          = new System.Drawing.Point(0, 192);
     mainPn_.Name              = "mainPn_";
     mainPn_.Size              = new System.Drawing.Size(384, 186);
     mainPn_.TabIndex          = 32;
     //
     // ValuesLV
     //
     valuesLv_.ContextMenuStrip = popupMenu_;
     valuesLv_.Dock             = System.Windows.Forms.DockStyle.Fill;
     valuesLv_.FullRowSelect    = true;
     valuesLv_.Location         = new System.Drawing.Point(4, 4);
     valuesLv_.MultiSelect      = false;
     valuesLv_.Name             = "valuesLv_";
     valuesLv_.Size             = new System.Drawing.Size(376, 182);
     valuesLv_.TabIndex         = 0;
     valuesLv_.View             = System.Windows.Forms.View.Details;
     valuesLv_.MouseDown       += new System.Windows.Forms.MouseEventHandler(ValuesLV_MouseDown);
     valuesLv_.DoubleClick     += new System.EventHandler(EditMI_Click);
     //
     // PopupMenu
     //
     popupMenu_.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] {
         addMi_,
         copyMi_,
         editMi_,
         deleteMi_,
         separator01_,
         clearMi_,
         acceptActualMi_
     });
     //
     // AddMI
     //
     addMi_.ImageIndex = 0;
     addMi_.Text       = "Add...";
     addMi_.Click     += new System.EventHandler(AddMI_Click);
     //
     // CopyMI
     //
     copyMi_.ImageIndex = 1;
     copyMi_.Text       = "Copy....";
     copyMi_.Click     += new System.EventHandler(CopyMI_Click);
     //
     // EditMI
     //
     editMi_.ImageIndex = 2;
     editMi_.Text       = "Edit..";
     editMi_.Click     += new System.EventHandler(EditMI_Click);
     //
     // DeleteMI
     //
     deleteMi_.ImageIndex = 3;
     deleteMi_.Text       = "Delete";
     deleteMi_.Click     += new System.EventHandler(DeleteMI_Click);
     //
     // ClearMI
     //
     clearMi_.ImageIndex = 5;
     clearMi_.Text       = "Clear";
     clearMi_.Click     += new System.EventHandler(ClearMI_Click);
     //
     // TopPN
     //
     topPn_.Controls.Add(trendCtrl_);
     topPn_.Controls.Add(resultIdlb_);
     topPn_.Controls.Add(resultIdtb_);
     topPn_.Dock              = System.Windows.Forms.DockStyle.Top;
     topPn_.DockPadding.Left  = 4;
     topPn_.DockPadding.Right = 4;
     topPn_.DockPadding.Top   = 4;
     topPn_.Location          = new System.Drawing.Point(0, 0);
     topPn_.Name              = "topPn_";
     topPn_.Size              = new System.Drawing.Size(384, 192);
     topPn_.TabIndex          = 33;
     //
     // TrendCTRL
     //
     trendCtrl_.Dock     = System.Windows.Forms.DockStyle.Top;
     trendCtrl_.Location = new System.Drawing.Point(4, 4);
     trendCtrl_.Name     = "trendCtrl_";
     trendCtrl_.Size     = new System.Drawing.Size(376, 168);
     trendCtrl_.TabIndex = 1;
     //
     // ResultIDLB
     //
     resultIdlb_.Location  = new System.Drawing.Point(4, 172);
     resultIdlb_.Name      = "resultIdlb_";
     resultIdlb_.Size      = new System.Drawing.Size(96, 23);
     resultIdlb_.TabIndex  = 0;
     resultIdlb_.Text      = "Result ID";
     resultIdlb_.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ResultIDTB
     //
     resultIdtb_.Location = new System.Drawing.Point(100, 172);
     resultIdtb_.Name     = "resultIdtb_";
     resultIdtb_.Size     = new System.Drawing.Size(204, 20);
     resultIdtb_.TabIndex = 0;
     resultIdtb_.Text     = "";
     //
     // AcceptActualMI
     //
     acceptActualMi_.ImageIndex = 6;
     acceptActualMi_.Text       = "Accept Actual Values...";
     acceptActualMi_.Click     += new System.EventHandler(AcceptActualMI_Click);
     //
     // Separator01
     //
     separator01_.ImageIndex = 4;
     separator01_.Text       = "-";
     //
     // TestEditDlg
     //
     AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     ClientSize        = new System.Drawing.Size(384, 414);
     Controls.Add(mainPn_);
     Controls.Add(topPn_);
     Controls.Add(buttonsPn_);
     Name          = "TestEditDlg";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     Text          = "Edit Test Case";
     buttonsPn_.ResumeLayout(false);
     mainPn_.ResumeLayout(false);
     topPn_.ResumeLayout(false);
     ResumeLayout(false);
 }