AdminForm.Designer.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. namespace Session_4
  2. {
  3. partial class AdminForm
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdminForm));
  30. this.toolStrip1 = new System.Windows.Forms.ToolStrip();
  31. this.add_button = new System.Windows.Forms.ToolStripButton();
  32. this.exit_button = new System.Windows.Forms.ToolStripButton();
  33. this.label1 = new System.Windows.Forms.Label();
  34. this.comboBox1 = new System.Windows.Forms.ComboBox();
  35. this.officesBindingSource = new System.Windows.Forms.BindingSource(this.components);
  36. this.session3_4DataSet = new Session_4.Session3_4DataSet();
  37. this.officesTableAdapter = new Session_4.Session3_4DataSetTableAdapters.OfficesTableAdapter();
  38. this.dataGridView1 = new System.Windows.Forms.DataGridView();
  39. this.iDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  40. this.roleIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  41. this.emailDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  42. this.passwordDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  43. this.firstNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  44. this.lastNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  45. this.officeIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  46. this.birthdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  47. this.activeDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
  48. this.usersBindingSource = new System.Windows.Forms.BindingSource(this.components);
  49. this.usersTableAdapter = new Session_4.Session3_4DataSetTableAdapters.UsersTableAdapter();
  50. this.all_offices_button = new System.Windows.Forms.Button();
  51. this.enable_disable_button = new System.Windows.Forms.Button();
  52. this.change_role_button = new System.Windows.Forms.Button();
  53. this.toolStrip1.SuspendLayout();
  54. ((System.ComponentModel.ISupportInitialize)(this.officesBindingSource)).BeginInit();
  55. ((System.ComponentModel.ISupportInitialize)(this.session3_4DataSet)).BeginInit();
  56. ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
  57. ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).BeginInit();
  58. this.SuspendLayout();
  59. //
  60. // toolStrip1
  61. //
  62. this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  63. this.add_button,
  64. this.exit_button});
  65. this.toolStrip1.Location = new System.Drawing.Point(0, 0);
  66. this.toolStrip1.Name = "toolStrip1";
  67. this.toolStrip1.Size = new System.Drawing.Size(684, 26);
  68. this.toolStrip1.TabIndex = 0;
  69. this.toolStrip1.Text = "toolStrip1";
  70. //
  71. // add_button
  72. //
  73. this.add_button.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  74. this.add_button.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  75. this.add_button.Image = ((System.Drawing.Image)(resources.GetObject("add_button.Image")));
  76. this.add_button.ImageTransparentColor = System.Drawing.Color.Magenta;
  77. this.add_button.Name = "add_button";
  78. this.add_button.Size = new System.Drawing.Size(70, 23);
  79. this.add_button.Text = "Add user";
  80. this.add_button.Click += new System.EventHandler(this.add_button_Click);
  81. //
  82. // exit_button
  83. //
  84. this.exit_button.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  85. this.exit_button.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  86. this.exit_button.Image = ((System.Drawing.Image)(resources.GetObject("exit_button.Image")));
  87. this.exit_button.ImageTransparentColor = System.Drawing.Color.Magenta;
  88. this.exit_button.Name = "exit_button";
  89. this.exit_button.Size = new System.Drawing.Size(35, 23);
  90. this.exit_button.Text = "Exit";
  91. this.exit_button.Click += new System.EventHandler(this.exit_button_Click);
  92. //
  93. // label1
  94. //
  95. this.label1.AutoSize = true;
  96. this.label1.Font = new System.Drawing.Font("Tw Cen MT", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  97. this.label1.Location = new System.Drawing.Point(13, 29);
  98. this.label1.Name = "label1";
  99. this.label1.Size = new System.Drawing.Size(62, 22);
  100. this.label1.TabIndex = 1;
  101. this.label1.Text = "Office:";
  102. //
  103. // comboBox1
  104. //
  105. this.comboBox1.DataSource = this.officesBindingSource;
  106. this.comboBox1.DisplayMember = "Title";
  107. this.comboBox1.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  108. this.comboBox1.Location = new System.Drawing.Point(81, 28);
  109. this.comboBox1.Name = "comboBox1";
  110. this.comboBox1.Size = new System.Drawing.Size(207, 27);
  111. this.comboBox1.TabIndex = 2;
  112. this.comboBox1.ValueMember = "ID";
  113. this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
  114. //
  115. // officesBindingSource
  116. //
  117. this.officesBindingSource.DataMember = "Offices";
  118. this.officesBindingSource.DataSource = this.session3_4DataSet;
  119. //
  120. // session3_4DataSet
  121. //
  122. this.session3_4DataSet.DataSetName = "Session3_4DataSet";
  123. this.session3_4DataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
  124. //
  125. // officesTableAdapter
  126. //
  127. this.officesTableAdapter.ClearBeforeFill = true;
  128. //
  129. // dataGridView1
  130. //
  131. this.dataGridView1.AutoGenerateColumns = false;
  132. this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  133. this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  134. this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  135. this.iDDataGridViewTextBoxColumn,
  136. this.roleIDDataGridViewTextBoxColumn,
  137. this.emailDataGridViewTextBoxColumn,
  138. this.passwordDataGridViewTextBoxColumn,
  139. this.firstNameDataGridViewTextBoxColumn,
  140. this.lastNameDataGridViewTextBoxColumn,
  141. this.officeIDDataGridViewTextBoxColumn,
  142. this.birthdateDataGridViewTextBoxColumn,
  143. this.activeDataGridViewCheckBoxColumn});
  144. this.dataGridView1.DataSource = this.usersBindingSource;
  145. this.dataGridView1.Location = new System.Drawing.Point(13, 70);
  146. this.dataGridView1.MultiSelect = false;
  147. this.dataGridView1.Name = "dataGridView1";
  148. this.dataGridView1.ReadOnly = true;
  149. this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  150. this.dataGridView1.Size = new System.Drawing.Size(659, 244);
  151. this.dataGridView1.TabIndex = 3;
  152. //
  153. // iDDataGridViewTextBoxColumn
  154. //
  155. this.iDDataGridViewTextBoxColumn.DataPropertyName = "ID";
  156. this.iDDataGridViewTextBoxColumn.HeaderText = "ID";
  157. this.iDDataGridViewTextBoxColumn.Name = "iDDataGridViewTextBoxColumn";
  158. this.iDDataGridViewTextBoxColumn.ReadOnly = true;
  159. //
  160. // roleIDDataGridViewTextBoxColumn
  161. //
  162. this.roleIDDataGridViewTextBoxColumn.DataPropertyName = "RoleID";
  163. this.roleIDDataGridViewTextBoxColumn.HeaderText = "RoleID";
  164. this.roleIDDataGridViewTextBoxColumn.Name = "roleIDDataGridViewTextBoxColumn";
  165. this.roleIDDataGridViewTextBoxColumn.ReadOnly = true;
  166. //
  167. // emailDataGridViewTextBoxColumn
  168. //
  169. this.emailDataGridViewTextBoxColumn.DataPropertyName = "Email";
  170. this.emailDataGridViewTextBoxColumn.HeaderText = "Email";
  171. this.emailDataGridViewTextBoxColumn.Name = "emailDataGridViewTextBoxColumn";
  172. this.emailDataGridViewTextBoxColumn.ReadOnly = true;
  173. //
  174. // passwordDataGridViewTextBoxColumn
  175. //
  176. this.passwordDataGridViewTextBoxColumn.DataPropertyName = "Password";
  177. this.passwordDataGridViewTextBoxColumn.HeaderText = "Password";
  178. this.passwordDataGridViewTextBoxColumn.Name = "passwordDataGridViewTextBoxColumn";
  179. this.passwordDataGridViewTextBoxColumn.ReadOnly = true;
  180. //
  181. // firstNameDataGridViewTextBoxColumn
  182. //
  183. this.firstNameDataGridViewTextBoxColumn.DataPropertyName = "FirstName";
  184. this.firstNameDataGridViewTextBoxColumn.HeaderText = "FirstName";
  185. this.firstNameDataGridViewTextBoxColumn.Name = "firstNameDataGridViewTextBoxColumn";
  186. this.firstNameDataGridViewTextBoxColumn.ReadOnly = true;
  187. //
  188. // lastNameDataGridViewTextBoxColumn
  189. //
  190. this.lastNameDataGridViewTextBoxColumn.DataPropertyName = "LastName";
  191. this.lastNameDataGridViewTextBoxColumn.HeaderText = "LastName";
  192. this.lastNameDataGridViewTextBoxColumn.Name = "lastNameDataGridViewTextBoxColumn";
  193. this.lastNameDataGridViewTextBoxColumn.ReadOnly = true;
  194. //
  195. // officeIDDataGridViewTextBoxColumn
  196. //
  197. this.officeIDDataGridViewTextBoxColumn.DataPropertyName = "OfficeID";
  198. this.officeIDDataGridViewTextBoxColumn.HeaderText = "OfficeID";
  199. this.officeIDDataGridViewTextBoxColumn.Name = "officeIDDataGridViewTextBoxColumn";
  200. this.officeIDDataGridViewTextBoxColumn.ReadOnly = true;
  201. //
  202. // birthdateDataGridViewTextBoxColumn
  203. //
  204. this.birthdateDataGridViewTextBoxColumn.DataPropertyName = "Birthdate";
  205. this.birthdateDataGridViewTextBoxColumn.HeaderText = "Birthdate";
  206. this.birthdateDataGridViewTextBoxColumn.Name = "birthdateDataGridViewTextBoxColumn";
  207. this.birthdateDataGridViewTextBoxColumn.ReadOnly = true;
  208. //
  209. // activeDataGridViewCheckBoxColumn
  210. //
  211. this.activeDataGridViewCheckBoxColumn.DataPropertyName = "Active";
  212. this.activeDataGridViewCheckBoxColumn.HeaderText = "Active";
  213. this.activeDataGridViewCheckBoxColumn.Name = "activeDataGridViewCheckBoxColumn";
  214. this.activeDataGridViewCheckBoxColumn.ReadOnly = true;
  215. //
  216. // usersBindingSource
  217. //
  218. this.usersBindingSource.DataMember = "Users";
  219. this.usersBindingSource.DataSource = this.session3_4DataSet;
  220. //
  221. // usersTableAdapter
  222. //
  223. this.usersTableAdapter.ClearBeforeFill = true;
  224. //
  225. // all_offices_button
  226. //
  227. this.all_offices_button.Location = new System.Drawing.Point(294, 29);
  228. this.all_offices_button.Name = "all_offices_button";
  229. this.all_offices_button.Size = new System.Drawing.Size(81, 26);
  230. this.all_offices_button.TabIndex = 4;
  231. this.all_offices_button.Text = "Все офисы";
  232. this.all_offices_button.UseVisualStyleBackColor = true;
  233. this.all_offices_button.Visible = false;
  234. this.all_offices_button.Click += new System.EventHandler(this.all_offices_button_Click);
  235. //
  236. // enable_disable_button
  237. //
  238. this.enable_disable_button.Location = new System.Drawing.Point(110, 320);
  239. this.enable_disable_button.Name = "enable_disable_button";
  240. this.enable_disable_button.Size = new System.Drawing.Size(122, 29);
  241. this.enable_disable_button.TabIndex = 5;
  242. this.enable_disable_button.Text = "Enable/Disable Login";
  243. this.enable_disable_button.UseVisualStyleBackColor = true;
  244. this.enable_disable_button.Click += new System.EventHandler(this.enable_disable_button_Click);
  245. //
  246. // change_role_button
  247. //
  248. this.change_role_button.Location = new System.Drawing.Point(12, 320);
  249. this.change_role_button.Name = "change_role_button";
  250. this.change_role_button.Size = new System.Drawing.Size(83, 29);
  251. this.change_role_button.TabIndex = 6;
  252. this.change_role_button.Text = "Change Role";
  253. this.change_role_button.UseVisualStyleBackColor = true;
  254. this.change_role_button.Click += new System.EventHandler(this.change_role_button_Click);
  255. //
  256. // AdminForm
  257. //
  258. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  259. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  260. this.ClientSize = new System.Drawing.Size(684, 361);
  261. this.Controls.Add(this.change_role_button);
  262. this.Controls.Add(this.enable_disable_button);
  263. this.Controls.Add(this.all_offices_button);
  264. this.Controls.Add(this.dataGridView1);
  265. this.Controls.Add(this.comboBox1);
  266. this.Controls.Add(this.label1);
  267. this.Controls.Add(this.toolStrip1);
  268. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
  269. this.MaximizeBox = false;
  270. this.MinimizeBox = false;
  271. this.Name = "AdminForm";
  272. this.ShowIcon = false;
  273. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  274. this.Text = "AMONIC Airliness Automation System";
  275. this.Load += new System.EventHandler(this.AdminForm_Load);
  276. this.toolStrip1.ResumeLayout(false);
  277. this.toolStrip1.PerformLayout();
  278. ((System.ComponentModel.ISupportInitialize)(this.officesBindingSource)).EndInit();
  279. ((System.ComponentModel.ISupportInitialize)(this.session3_4DataSet)).EndInit();
  280. ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
  281. ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).EndInit();
  282. this.ResumeLayout(false);
  283. this.PerformLayout();
  284. }
  285. #endregion
  286. private System.Windows.Forms.ToolStrip toolStrip1;
  287. private System.Windows.Forms.ToolStripButton add_button;
  288. private System.Windows.Forms.ToolStripButton exit_button;
  289. private System.Windows.Forms.Label label1;
  290. private System.Windows.Forms.ComboBox comboBox1;
  291. private Session3_4DataSet session3_4DataSet;
  292. private Session3_4DataSetTableAdapters.OfficesTableAdapter officesTableAdapter;
  293. private Session3_4DataSetTableAdapters.UsersTableAdapter usersTableAdapter;
  294. private System.Windows.Forms.DataGridViewTextBoxColumn iDDataGridViewTextBoxColumn;
  295. private System.Windows.Forms.DataGridViewTextBoxColumn roleIDDataGridViewTextBoxColumn;
  296. private System.Windows.Forms.DataGridViewTextBoxColumn emailDataGridViewTextBoxColumn;
  297. private System.Windows.Forms.DataGridViewTextBoxColumn passwordDataGridViewTextBoxColumn;
  298. private System.Windows.Forms.DataGridViewTextBoxColumn firstNameDataGridViewTextBoxColumn;
  299. private System.Windows.Forms.DataGridViewTextBoxColumn lastNameDataGridViewTextBoxColumn;
  300. private System.Windows.Forms.DataGridViewTextBoxColumn officeIDDataGridViewTextBoxColumn;
  301. private System.Windows.Forms.DataGridViewTextBoxColumn birthdateDataGridViewTextBoxColumn;
  302. private System.Windows.Forms.DataGridViewCheckBoxColumn activeDataGridViewCheckBoxColumn;
  303. private System.Windows.Forms.BindingSource usersBindingSource;
  304. private System.Windows.Forms.BindingSource officesBindingSource;
  305. private System.Windows.Forms.Button all_offices_button;
  306. private System.Windows.Forms.Button enable_disable_button;
  307. private System.Windows.Forms.Button change_role_button;
  308. public System.Windows.Forms.DataGridView dataGridView1;
  309. }
  310. }