Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.ButtonsPN   = new System.Windows.Forms.Panel();
     this.CancelBTN   = new System.Windows.Forms.Button();
     this.OkBTN       = new System.Windows.Forms.Button();
     this.ValueCTRL   = new ValueCtrl();
     this.MainPN      = new System.Windows.Forms.Panel();
     this.ArrayLV     = new System.Windows.Forms.ListView();
     this.IndexCH     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.ValueCH     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.PopupMenu   = new System.Windows.Forms.ContextMenu();
     this.ViewMI      = new System.Windows.Forms.MenuItem();
     this.Separator01 = new System.Windows.Forms.MenuItem();
     this.InsertMI    = new System.Windows.Forms.MenuItem();
     this.DeleteMI    = new System.Windows.Forms.MenuItem();
     this.ButtonsPN.SuspendLayout();
     this.MainPN.SuspendLayout();
     this.SuspendLayout();
     //
     // ButtonsPN
     //
     this.ButtonsPN.Controls.Add(this.CancelBTN);
     this.ButtonsPN.Controls.Add(this.OkBTN);
     this.ButtonsPN.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.ButtonsPN.Location = new System.Drawing.Point(0, 146);
     this.ButtonsPN.Name     = "ButtonsPN";
     this.ButtonsPN.Size     = new System.Drawing.Size(296, 36);
     this.ButtonsPN.TabIndex = 0;
     //
     // CancelBTN
     //
     this.CancelBTN.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.CancelBTN.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.CancelBTN.Location     = new System.Drawing.Point(216, 8);
     this.CancelBTN.Name         = "CancelBTN";
     this.CancelBTN.Size         = new System.Drawing.Size(75, 23);
     this.CancelBTN.TabIndex     = 0;
     this.CancelBTN.Text         = "Cancel";
     this.CancelBTN.Click       += new System.EventHandler(this.CancelBTN_Click);
     //
     // OkBTN
     //
     this.OkBTN.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.OkBTN.Location = new System.Drawing.Point(135, 6);
     this.OkBTN.Name     = "OkBTN";
     this.OkBTN.Size     = new System.Drawing.Size(75, 23);
     this.OkBTN.TabIndex = 1;
     this.OkBTN.Text     = "OK";
     this.OkBTN.Click   += new System.EventHandler(this.OkBTN_Click);
     //
     // ValueCTRL
     //
     this.ValueCTRL.Dock     = System.Windows.Forms.DockStyle.Top;
     this.ValueCTRL.ItemID   = null;
     this.ValueCTRL.Location = new System.Drawing.Point(0, 0);
     this.ValueCTRL.Name     = "ValueCTRL";
     this.ValueCTRL.Padding  = new System.Windows.Forms.Padding(4, 4, 4, 0);
     this.ValueCTRL.Size     = new System.Drawing.Size(296, 28);
     this.ValueCTRL.TabIndex = 1;
     this.ValueCTRL.Value    = null;
     //
     // MainPN
     //
     this.MainPN.Controls.Add(this.ArrayLV);
     this.MainPN.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.MainPN.Location = new System.Drawing.Point(0, 28);
     this.MainPN.Name     = "MainPN";
     this.MainPN.Padding  = new System.Windows.Forms.Padding(4, 4, 4, 0);
     this.MainPN.Size     = new System.Drawing.Size(296, 118);
     this.MainPN.TabIndex = 2;
     //
     // ArrayLV
     //
     this.ArrayLV.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.IndexCH,
         this.ValueCH
     });
     this.ArrayLV.ContextMenu   = this.PopupMenu;
     this.ArrayLV.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.ArrayLV.FullRowSelect = true;
     this.ArrayLV.GridLines     = true;
     this.ArrayLV.Location      = new System.Drawing.Point(4, 4);
     this.ArrayLV.Name          = "ArrayLV";
     this.ArrayLV.Size          = new System.Drawing.Size(288, 114);
     this.ArrayLV.TabIndex      = 0;
     this.ArrayLV.UseCompatibleStateImageBehavior = false;
     this.ArrayLV.View = System.Windows.Forms.View.Details;
     this.ArrayLV.SelectedIndexChanged += new System.EventHandler(this.ArrayLV_SelectedIndexChanged);
     this.ArrayLV.DoubleClick          += new System.EventHandler(this.ViewMI_Click);
     this.ArrayLV.MouseDown            += new System.Windows.Forms.MouseEventHandler(this.ArrayLV_MouseDown);
     //
     // IndexCH
     //
     this.IndexCH.Text  = "Index";
     this.IndexCH.Width = 38;
     //
     // ValueCH
     //
     this.ValueCH.Text  = "Value";
     this.ValueCH.Width = 246;
     //
     // PopupMenu
     //
     this.PopupMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.ViewMI,
         this.Separator01,
         this.InsertMI,
         this.DeleteMI
     });
     //
     // ViewMI
     //
     this.ViewMI.Index  = 0;
     this.ViewMI.Text   = "&View...";
     this.ViewMI.Click += new System.EventHandler(this.ViewMI_Click);
     //
     // Separator01
     //
     this.Separator01.Index = 1;
     this.Separator01.Text  = "-";
     //
     // InsertMI
     //
     this.InsertMI.Index  = 2;
     this.InsertMI.Text   = "&Insert";
     this.InsertMI.Click += new System.EventHandler(this.InsertMI_Click);
     //
     // DeleteMI
     //
     this.DeleteMI.Index  = 3;
     this.DeleteMI.Text   = "&Delete";
     this.DeleteMI.Click += new System.EventHandler(this.DeleteMI_Click);
     //
     // EditArrayDlg
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(296, 182);
     this.Controls.Add(this.MainPN);
     this.Controls.Add(this.ValueCTRL);
     this.Controls.Add(this.ButtonsPN);
     this.Name          = "EditArrayDlg";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Edit Array";
     this.ButtonsPN.ResumeLayout(false);
     this.MainPN.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.ButtonsPN = new System.Windows.Forms.Panel();
     this.CancelBTN = new System.Windows.Forms.Button();
     this.OkBTN     = new System.Windows.Forms.Button();
     this.ValueCTRL = new ValueCtrl();
     this.ButtonsPN.SuspendLayout();
     this.SuspendLayout();
     //
     // ButtonsPN
     //
     this.ButtonsPN.Controls.Add(this.CancelBTN);
     this.ButtonsPN.Controls.Add(this.OkBTN);
     this.ButtonsPN.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.ButtonsPN.Location = new System.Drawing.Point(0, 26);
     this.ButtonsPN.Name     = "ButtonsPN";
     this.ButtonsPN.Size     = new System.Drawing.Size(296, 36);
     this.ButtonsPN.TabIndex = 0;
     //
     // CancelBTN
     //
     this.CancelBTN.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.CancelBTN.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.CancelBTN.Location     = new System.Drawing.Point(216, 8);
     this.CancelBTN.Name         = "CancelBTN";
     this.CancelBTN.Size         = new System.Drawing.Size(75, 23);
     this.CancelBTN.TabIndex     = 0;
     this.CancelBTN.Text         = "Cancel";
     //
     // OkBTN
     //
     this.OkBTN.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.OkBTN.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.OkBTN.Location     = new System.Drawing.Point(135, 8);
     this.OkBTN.Name         = "OkBTN";
     this.OkBTN.Size         = new System.Drawing.Size(75, 23);
     this.OkBTN.TabIndex     = 1;
     this.OkBTN.Text         = "OK";
     //
     // ValueCTRL
     //
     this.ValueCTRL.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.ValueCTRL.ItemID   = null;
     this.ValueCTRL.Location = new System.Drawing.Point(0, 0);
     this.ValueCTRL.Name     = "ValueCTRL";
     this.ValueCTRL.Padding  = new System.Windows.Forms.Padding(4, 4, 4, 0);
     this.ValueCTRL.Size     = new System.Drawing.Size(296, 26);
     this.ValueCTRL.TabIndex = 1;
     this.ValueCTRL.Value    = null;
     //
     // EditValueDlg
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(296, 62);
     this.Controls.Add(this.ValueCTRL);
     this.Controls.Add(this.ButtonsPN);
     this.Name          = "EditValueDlg";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Edit Value";
     this.ButtonsPN.ResumeLayout(false);
     this.ResumeLayout(false);
 }