DishForm.Designer.cs 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. namespace RestaurantApp
  2. {
  3. partial class DishForm
  4. {
  5. private System.ComponentModel.IContainer components = null;
  6. protected override void Dispose(bool disposing)
  7. {
  8. if (disposing && (components != null))
  9. {
  10. components.Dispose();
  11. }
  12. base.Dispose(disposing);
  13. }
  14. private void InitializeComponent()
  15. {
  16. this.dgvDishes = new System.Windows.Forms.DataGridView();
  17. this.panelTop = new System.Windows.Forms.Panel();
  18. this.chkAvailable = new System.Windows.Forms.CheckBox();
  19. this.cmbCategory = new System.Windows.Forms.ComboBox();
  20. this.lblCategory = new System.Windows.Forms.Label();
  21. this.txtSearch = new System.Windows.Forms.TextBox();
  22. this.btnSearch = new System.Windows.Forms.Button();
  23. this.btnRefresh = new System.Windows.Forms.Button();
  24. this.btnAdd = new System.Windows.Forms.Button();
  25. this.btnEdit = new System.Windows.Forms.Button();
  26. this.btnDelete = new System.Windows.Forms.Button();
  27. ((System.ComponentModel.ISupportInitialize)(this.dgvDishes)).BeginInit();
  28. this.panelTop.SuspendLayout();
  29. this.SuspendLayout();
  30. //
  31. // dgvDishes
  32. //
  33. this.dgvDishes.AllowUserToAddRows = false;
  34. this.dgvDishes.AllowUserToDeleteRows = false;
  35. this.dgvDishes.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  36. this.dgvDishes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  37. this.dgvDishes.Dock = System.Windows.Forms.DockStyle.Fill;
  38. this.dgvDishes.Location = new System.Drawing.Point(0, 50);
  39. this.dgvDishes.Name = "dgvDishes";
  40. this.dgvDishes.ReadOnly = true;
  41. this.dgvDishes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  42. this.dgvDishes.Size = new System.Drawing.Size(984, 550);
  43. this.dgvDishes.TabIndex = 0;
  44. //
  45. // panelTop
  46. //
  47. this.panelTop.Controls.Add(this.chkAvailable);
  48. this.panelTop.Controls.Add(this.cmbCategory);
  49. this.panelTop.Controls.Add(this.lblCategory);
  50. this.panelTop.Controls.Add(this.txtSearch);
  51. this.panelTop.Controls.Add(this.btnSearch);
  52. this.panelTop.Controls.Add(this.btnRefresh);
  53. this.panelTop.Controls.Add(this.btnAdd);
  54. this.panelTop.Controls.Add(this.btnEdit);
  55. this.panelTop.Controls.Add(this.btnDelete);
  56. this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
  57. this.panelTop.Location = new System.Drawing.Point(0, 0);
  58. this.panelTop.Name = "panelTop";
  59. this.panelTop.Size = new System.Drawing.Size(984, 50);
  60. this.panelTop.TabIndex = 1;
  61. //
  62. // chkAvailable
  63. //
  64. this.chkAvailable.AutoSize = true;
  65. this.chkAvailable.Location = new System.Drawing.Point(610, 17);
  66. this.chkAvailable.Name = "chkAvailable";
  67. this.chkAvailable.Size = new System.Drawing.Size(122, 17);
  68. this.chkAvailable.TabIndex = 7;
  69. this.chkAvailable.Text = "Только доступные";
  70. this.chkAvailable.UseVisualStyleBackColor = true;
  71. //
  72. // cmbCategory
  73. //
  74. this.cmbCategory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  75. this.cmbCategory.Location = new System.Drawing.Point(100, 15);
  76. this.cmbCategory.Name = "cmbCategory";
  77. this.cmbCategory.Size = new System.Drawing.Size(150, 21);
  78. this.cmbCategory.TabIndex = 6;
  79. //
  80. // lblCategory
  81. //
  82. this.lblCategory.AutoSize = true;
  83. this.lblCategory.Location = new System.Drawing.Point(15, 18);
  84. this.lblCategory.Name = "lblCategory";
  85. this.lblCategory.Size = new System.Drawing.Size(63, 13);
  86. this.lblCategory.TabIndex = 5;
  87. this.lblCategory.Text = "Категория:";
  88. //
  89. // txtSearch
  90. //
  91. this.txtSearch.Location = new System.Drawing.Point(270, 15);
  92. this.txtSearch.Name = "txtSearch";
  93. this.txtSearch.Size = new System.Drawing.Size(150, 20);
  94. this.txtSearch.TabIndex = 4;
  95. //
  96. // btnSearch
  97. //
  98. this.btnSearch.Location = new System.Drawing.Point(430, 13);
  99. this.btnSearch.Name = "btnSearch";
  100. this.btnSearch.Size = new System.Drawing.Size(75, 23);
  101. this.btnSearch.TabIndex = 3;
  102. this.btnSearch.Text = "Поиск";
  103. this.btnSearch.UseVisualStyleBackColor = true;
  104. //
  105. // btnRefresh
  106. //
  107. this.btnRefresh.Location = new System.Drawing.Point(515, 13);
  108. this.btnRefresh.Name = "btnRefresh";
  109. this.btnRefresh.Size = new System.Drawing.Size(75, 23);
  110. this.btnRefresh.TabIndex = 2;
  111. this.btnRefresh.Text = "Обновить";
  112. this.btnRefresh.UseVisualStyleBackColor = true;
  113. //
  114. // btnAdd
  115. //
  116. this.btnAdd.BackColor = System.Drawing.Color.LimeGreen;
  117. this.btnAdd.Location = new System.Drawing.Point(750, 13);
  118. this.btnAdd.Name = "btnAdd";
  119. this.btnAdd.Size = new System.Drawing.Size(75, 23);
  120. this.btnAdd.TabIndex = 1;
  121. this.btnAdd.Text = "Добавить";
  122. this.btnAdd.UseVisualStyleBackColor = false;
  123. //
  124. // btnEdit
  125. //
  126. this.btnEdit.Location = new System.Drawing.Point(830, 13);
  127. this.btnEdit.Name = "btnEdit";
  128. this.btnEdit.Size = new System.Drawing.Size(75, 23);
  129. this.btnEdit.TabIndex = 1;
  130. this.btnEdit.Text = "Изменить";
  131. this.btnEdit.UseVisualStyleBackColor = true;
  132. //
  133. // btnDelete
  134. //
  135. this.btnDelete.Location = new System.Drawing.Point(910, 13);
  136. this.btnDelete.Name = "btnDelete";
  137. this.btnDelete.Size = new System.Drawing.Size(75, 23);
  138. this.btnDelete.TabIndex = 0;
  139. this.btnDelete.Text = "Удалить";
  140. this.btnDelete.UseVisualStyleBackColor = true;
  141. //
  142. // DishForm
  143. //
  144. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  145. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  146. this.ClientSize = new System.Drawing.Size(984, 600);
  147. this.Controls.Add(this.dgvDishes);
  148. this.Controls.Add(this.panelTop);
  149. this.Name = "DishForm";
  150. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  151. this.Text = "Управление меню";
  152. ((System.ComponentModel.ISupportInitialize)(this.dgvDishes)).EndInit();
  153. this.panelTop.ResumeLayout(false);
  154. this.panelTop.PerformLayout();
  155. this.ResumeLayout(false);
  156. }
  157. private System.Windows.Forms.DataGridView dgvDishes;
  158. private System.Windows.Forms.Panel panelTop;
  159. private System.Windows.Forms.TextBox txtSearch;
  160. private System.Windows.Forms.Button btnSearch;
  161. private System.Windows.Forms.Button btnRefresh;
  162. private System.Windows.Forms.Button btnAdd;
  163. private System.Windows.Forms.Button btnEdit;
  164. private System.Windows.Forms.Button btnDelete;
  165. private System.Windows.Forms.ComboBox cmbCategory;
  166. private System.Windows.Forms.Label lblCategory;
  167. private System.Windows.Forms.CheckBox chkAvailable;
  168. }
  169. }