1 namespace Sample_Environment_Control_Interface.Dialogs.VI
 
    8         private System.ComponentModel.IContainer components = null;
 
   14         protected override void Dispose(
bool disposing)
 
   16             if (disposing && (components != null))
 
   20             base.Dispose(disposing);
 
   23         #region Windows Form Designer generated code 
   31             this.label1 = 
new System.Windows.Forms.Label();
 
   32             this.txtVI = 
new System.Windows.Forms.TextBox();
 
   33             this.btnBrowse = 
new System.Windows.Forms.Button();
 
   34             this.browseDialog = 
new System.Windows.Forms.OpenFileDialog();
 
   35             this.dataGridView1 = 
new System.Windows.Forms.DataGridView();
 
   36             this.colName = 
new System.Windows.Forms.DataGridViewTextBoxColumn();
 
   37             this.colFront = 
new System.Windows.Forms.DataGridViewTextBoxColumn();
 
   38             this.colAdd = 
new System.Windows.Forms.DataGridViewCheckBoxColumn();
 
   39             this.btnCancel = 
new System.Windows.Forms.Button();
 
   40             this.btnAdd = 
new System.Windows.Forms.Button();
 
   41             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
 
   46             this.label1.AutoSize = 
true;
 
   47             this.label1.Font = 
new System.Drawing.Font(
"Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
   48             this.label1.Location = 
new System.Drawing.Point(12, 9);
 
   49             this.label1.Name = 
"label1";
 
   50             this.label1.Size = 
new System.Drawing.Size(65, 16);
 
   51             this.label1.TabIndex = 0;
 
   52             this.label1.Text = 
"VI to Add:";
 
   56             this.txtVI.BackColor = System.Drawing.Color.White;
 
   57             this.txtVI.Location = 
new System.Drawing.Point(83, 8);
 
   58             this.txtVI.Name = 
"txtVI";
 
   59             this.txtVI.ReadOnly = 
true;
 
   60             this.txtVI.Size = 
new System.Drawing.Size(260, 20);
 
   61             this.txtVI.TabIndex = 1;
 
   65             this.btnBrowse.Location = 
new System.Drawing.Point(349, 6);
 
   66             this.btnBrowse.Name = 
"btnBrowse";
 
   67             this.btnBrowse.Size = 
new System.Drawing.Size(72, 23);
 
   68             this.btnBrowse.TabIndex = 2;
 
   69             this.btnBrowse.Text = 
"Browse";
 
   70             this.btnBrowse.UseVisualStyleBackColor = 
true;
 
   71             this.btnBrowse.Click += 
new System.EventHandler(this.btnBrowse_Click);
 
   75             this.browseDialog.Filter = 
"LabView VI|*.vi|LabView Library|*.llb";
 
   79             this.dataGridView1.AllowUserToAddRows = 
false;
 
   80             this.dataGridView1.AllowUserToDeleteRows = 
false;
 
   81             this.dataGridView1.AllowUserToResizeColumns = 
false;
 
   82             this.dataGridView1.AllowUserToResizeRows = 
false;
 
   83             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
 
   84             this.dataGridView1.Columns.AddRange(
new System.Windows.Forms.DataGridViewColumn[] {
 
   88             this.dataGridView1.Location = 
new System.Drawing.Point(12, 34);
 
   89             this.dataGridView1.Name = 
"dataGridView1";
 
   90             this.dataGridView1.Size = 
new System.Drawing.Size(409, 196);
 
   91             this.dataGridView1.TabIndex = 3;
 
   92             this.dataGridView1.Visible = 
false;
 
   96             this.colName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
 
   97             this.colName.HeaderText = 
"VI Name";
 
   98             this.colName.Name = 
"colName";
 
   99             this.colName.ReadOnly = 
true;
 
  103             this.colFront.HeaderText = 
"Is Front Panel?";
 
  104             this.colFront.Name = 
"colFront";
 
  105             this.colFront.ReadOnly = 
true;
 
  106             this.colFront.Width = 110;
 
  110             this.colAdd.HeaderText = 
"Add?";
 
  111             this.colAdd.Name = 
"colAdd";
 
  112             this.colAdd.Width = 50;
 
  116             this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
 
  117             this.btnCancel.Location = 
new System.Drawing.Point(346, 34);
 
  118             this.btnCancel.Name = 
"btnCancel";
 
  119             this.btnCancel.Size = 
new System.Drawing.Size(75, 23);
 
  120             this.btnCancel.TabIndex = 4;
 
  121             this.btnCancel.Text = 
"Cancel";
 
  122             this.btnCancel.UseVisualStyleBackColor = 
true;
 
  126             this.btnAdd.Location = 
new System.Drawing.Point(265, 34);
 
  127             this.btnAdd.Name = 
"btnAdd";
 
  128             this.btnAdd.Size = 
new System.Drawing.Size(75, 23);
 
  129             this.btnAdd.TabIndex = 5;
 
  130             this.btnAdd.Text = 
"Add";
 
  131             this.btnAdd.UseVisualStyleBackColor = 
true;
 
  132             this.btnAdd.Click += 
new System.EventHandler(this.btnAdd_Click);
 
  136             this.AcceptButton = this.btnAdd;
 
  137             this.AutoScaleDimensions = 
new System.Drawing.SizeF(6F, 13F);
 
  138             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 
  139             this.CancelButton = this.btnCancel;
 
  140             this.ClientSize = 
new System.Drawing.Size(433, 68);
 
  141             this.ControlBox = 
false;
 
  142             this.Controls.Add(this.btnAdd);
 
  143             this.Controls.Add(this.btnCancel);
 
  144             this.Controls.Add(this.dataGridView1);
 
  145             this.Controls.Add(this.btnBrowse);
 
  146             this.Controls.Add(this.txtVI);
 
  147             this.Controls.Add(this.label1);
 
  148             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
 
  150             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
 
  151             this.Text = 
"Add VI";
 
  152             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
 
  153             this.ResumeLayout(
false);
 
  154             this.PerformLayout();
 
  160         private System.Windows.Forms.Label 
label1;
 
  161         private System.Windows.Forms.TextBox 
txtVI;
 
  166         private System.Windows.Forms.Button 
btnAdd;
 
  167         private System.Windows.Forms.DataGridViewTextBoxColumn 
colName;
 
  168         private System.Windows.Forms.DataGridViewTextBoxColumn 
colFront;
 
  169         private System.Windows.Forms.DataGridViewCheckBoxColumn 
colAdd;
 
void InitializeComponent()
Required method for Designer support - do not modify the contents of this method with the code editor...
System.Windows.Forms.Label label1
System.Windows.Forms.DataGridView dataGridView1
override void Dispose(bool disposing)
Clean up any resources being used. 
System.Windows.Forms.DataGridViewCheckBoxColumn colAdd
System.Windows.Forms.DataGridViewTextBoxColumn colName
System.Windows.Forms.Button btnBrowse
System.Windows.Forms.Button btnAdd
System.Windows.Forms.TextBox txtVI
System.Windows.Forms.OpenFileDialog browseDialog
System.Windows.Forms.Button btnCancel
System.Windows.Forms.DataGridViewTextBoxColumn colFront