3 partial class EditUsers
8 private System.ComponentModel.IContainer
components = null;
14 protected override void Dispose(
bool disposing)
20 base.Dispose(disposing);
23 #region Windows Form Designer generated code
31 this.components =
new System.ComponentModel.Container();
32 this.btnOK =
new System.Windows.Forms.Button();
33 this.btnCancel =
new System.Windows.Forms.Button();
34 this.toolTip1 =
new System.Windows.Forms.ToolTip(this.components);
35 this.dgv1 =
new System.Windows.Forms.DataGridView();
36 this.colName =
new System.Windows.Forms.DataGridViewTextBoxColumn();
37 this.colInstitute =
new System.Windows.Forms.DataGridViewTextBoxColumn();
38 this.colRole =
new System.Windows.Forms.DataGridViewComboBoxColumn();
39 this.label1 =
new System.Windows.Forms.Label();
40 this.btnAdd =
new System.Windows.Forms.Button();
41 this.btnDelete =
new System.Windows.Forms.Button();
42 ((System.ComponentModel.ISupportInitialize)(this.
dgv1)).BeginInit();
47 this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
48 this.btnOK.Location =
new System.Drawing.Point(410, 327);
49 this.btnOK.Name =
"btnOK";
50 this.btnOK.Size =
new System.Drawing.Size(75, 23);
51 this.btnOK.TabIndex = 4;
52 this.btnOK.Text =
"OK";
53 this.toolTip1.SetToolTip(this.btnOK,
"Click to add user to the experimental team");
54 this.btnOK.UseVisualStyleBackColor =
true;
55 this.btnOK.Click +=
new System.EventHandler(this.btnOK_Click);
59 this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
60 this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
61 this.btnCancel.Location =
new System.Drawing.Point(491, 327);
62 this.btnCancel.Name =
"btnCancel";
63 this.btnCancel.Size =
new System.Drawing.Size(75, 23);
64 this.btnCancel.TabIndex = 5;
65 this.btnCancel.Text =
"Cancel";
66 this.btnCancel.UseVisualStyleBackColor =
true;
67 this.btnCancel.Click +=
new System.EventHandler(this.btnCancel_Click);
71 this.dgv1.AllowUserToAddRows =
false;
72 this.dgv1.AllowUserToDeleteRows =
false;
73 this.dgv1.AllowUserToResizeRows =
false;
74 this.dgv1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
75 | System.Windows.Forms.AnchorStyles.Left)
76 | System.Windows.Forms.AnchorStyles.Right)));
77 this.dgv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
78 this.dgv1.Columns.AddRange(
new System.Windows.Forms.DataGridViewColumn[] {
82 this.dgv1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
83 this.dgv1.Location =
new System.Drawing.Point(12, 28);
84 this.dgv1.MultiSelect =
false;
85 this.dgv1.Name =
"dgv1";
86 this.dgv1.Size =
new System.Drawing.Size(554, 293);
87 this.dgv1.TabIndex = 6;
91 this.colName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
92 this.colName.HeaderText =
"Name";
93 this.colName.Name =
"colName";
97 this.colInstitute.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
98 this.colInstitute.FillWeight = 200F;
99 this.colInstitute.HeaderText =
"Institute";
100 this.colInstitute.Name =
"colInstitute";
101 this.colInstitute.Width = 200;
105 this.colRole.FillWeight = 75F;
106 this.colRole.HeaderText =
"Role";
107 this.colRole.Items.AddRange(
new object[] {
111 this.colRole.Name =
"colRole";
112 this.colRole.Width = 75;
116 this.label1.AutoSize =
true;
117 this.label1.Font =
new System.Drawing.Font(
"Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
118 this.label1.Location =
new System.Drawing.Point(12, 9);
119 this.label1.Name =
"label1";
120 this.label1.Size =
new System.Drawing.Size(117, 16);
121 this.label1.TabIndex = 7;
122 this.label1.Text =
"Experiment Team:";
126 this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
127 this.btnAdd.Location =
new System.Drawing.Point(12, 327);
128 this.btnAdd.Name =
"btnAdd";
129 this.btnAdd.Size =
new System.Drawing.Size(75, 23);
130 this.btnAdd.TabIndex = 8;
131 this.btnAdd.Text =
"Add Person";
132 this.toolTip1.SetToolTip(this.btnAdd,
"Click to add user to the experimental team");
133 this.btnAdd.UseVisualStyleBackColor =
true;
134 this.btnAdd.Click +=
new System.EventHandler(this.btnAdd_Click);
138 this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
139 this.btnDelete.Location =
new System.Drawing.Point(93, 327);
140 this.btnDelete.Name =
"btnDelete";
141 this.btnDelete.Size =
new System.Drawing.Size(89, 23);
142 this.btnDelete.TabIndex = 9;
143 this.btnDelete.Text =
"Delete Person";
144 this.toolTip1.SetToolTip(this.btnDelete,
"Click to add user to the experimental team");
145 this.btnDelete.UseVisualStyleBackColor =
true;
146 this.btnDelete.Click +=
new System.EventHandler(this.btnDelete_Click);
150 this.AcceptButton = this.btnOK;
151 this.AutoScaleDimensions =
new System.Drawing.SizeF(6F, 13F);
152 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
153 this.CancelButton = this.btnCancel;
154 this.ClientSize =
new System.Drawing.Size(578, 362);
155 this.ControlBox =
false;
156 this.Controls.Add(this.btnDelete);
157 this.Controls.Add(this.btnAdd);
158 this.Controls.Add(this.label1);
159 this.Controls.Add(this.dgv1);
160 this.Controls.Add(this.btnCancel);
161 this.Controls.Add(this.btnOK);
162 this.Name =
"EditUsers";
163 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
164 this.Text =
"Edit Experiment Team";
165 this.Load +=
new System.EventHandler(this.EnterUser_Load);
166 ((System.ComponentModel.ISupportInitialize)(this.
dgv1)).EndInit();
167 this.ResumeLayout(
false);
168 this.PerformLayout();
174 private System.Windows.Forms.Button
btnOK;
177 private System.Windows.Forms.DataGridView
dgv1;
178 private System.Windows.Forms.DataGridViewTextBoxColumn
colName;
180 private System.Windows.Forms.DataGridViewComboBoxColumn
colRole;
181 private System.Windows.Forms.Label
label1;
182 private System.Windows.Forms.Button
btnAdd;
System.Windows.Forms.Label label1
void InitializeComponent()
Required method for Designer support - do not modify the contents of this method with the code editor...
override void Dispose(bool disposing)
Clean up any resources being used.
System.Windows.Forms.DataGridViewComboBoxColumn colRole
System.Windows.Forms.Button btnCancel
System.Windows.Forms.DataGridViewTextBoxColumn colName
System.ComponentModel.IContainer components
Required designer variable.
System.Windows.Forms.DataGridView dgv1
System.Windows.Forms.Button btnDelete
System.Windows.Forms.ToolTip toolTip1
System.Windows.Forms.Button btnOK
System.Windows.Forms.DataGridViewTextBoxColumn colInstitute
System.Windows.Forms.Button btnAdd