ReservationForm.Designer.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. namespace RestaurantApp
  2. {
  3. partial class ReservationForm
  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.dgvReservations = new System.Windows.Forms.DataGridView();
  17. this.panelTop = new System.Windows.Forms.Panel();
  18. this.cmbStatusFilter = new System.Windows.Forms.ComboBox();
  19. this.lblStatusFilter = new System.Windows.Forms.Label();
  20. this.txtSearch = new System.Windows.Forms.TextBox();
  21. this.btnSearch = new System.Windows.Forms.Button();
  22. this.btnRefresh = new System.Windows.Forms.Button();
  23. this.btnAdd = new System.Windows.Forms.Button();
  24. this.btnEdit = new System.Windows.Forms.Button();
  25. this.btnDelete = new System.Windows.Forms.Button();
  26. this.groupDetails = new System.Windows.Forms.GroupBox();
  27. this.lblNotes = new System.Windows.Forms.Label();
  28. this.lblDuration = new System.Windows.Forms.Label();
  29. this.lblDateTime = new System.Windows.Forms.Label();
  30. this.lblGuests = new System.Windows.Forms.Label();
  31. this.lblPhone = new System.Windows.Forms.Label();
  32. this.lblClient = new System.Windows.Forms.Label();
  33. this.lblTable = new System.Windows.Forms.Label();
  34. ((System.ComponentModel.ISupportInitialize)(this.dgvReservations)).BeginInit();
  35. this.panelTop.SuspendLayout();
  36. this.groupDetails.SuspendLayout();
  37. this.SuspendLayout();
  38. //
  39. // dgvReservations
  40. //
  41. this.dgvReservations.AllowUserToAddRows = false;
  42. this.dgvReservations.AllowUserToDeleteRows = false;
  43. this.dgvReservations.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  44. this.dgvReservations.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  45. this.dgvReservations.Dock = System.Windows.Forms.DockStyle.Fill;
  46. this.dgvReservations.Location = new System.Drawing.Point(0, 50);
  47. this.dgvReservations.Name = "dgvReservations";
  48. this.dgvReservations.ReadOnly = true;
  49. this.dgvReservations.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  50. this.dgvReservations.Size = new System.Drawing.Size(900, 400);
  51. this.dgvReservations.TabIndex = 0;
  52. //
  53. // panelTop
  54. //
  55. this.panelTop.Controls.Add(this.cmbStatusFilter);
  56. this.panelTop.Controls.Add(this.lblStatusFilter);
  57. this.panelTop.Controls.Add(this.txtSearch);
  58. this.panelTop.Controls.Add(this.btnSearch);
  59. this.panelTop.Controls.Add(this.btnRefresh);
  60. this.panelTop.Controls.Add(this.btnAdd);
  61. this.panelTop.Controls.Add(this.btnEdit);
  62. this.panelTop.Controls.Add(this.btnDelete);
  63. this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
  64. this.panelTop.Location = new System.Drawing.Point(0, 0);
  65. this.panelTop.Name = "panelTop";
  66. this.panelTop.Size = new System.Drawing.Size(900, 50);
  67. this.panelTop.TabIndex = 1;
  68. //
  69. // cmbStatusFilter
  70. //
  71. this.cmbStatusFilter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  72. this.cmbStatusFilter.Items.AddRange(new object[] { "Все", "confirmed", "cancelled", "completed" });
  73. this.cmbStatusFilter.Location = new System.Drawing.Point(60, 14);
  74. this.cmbStatusFilter.Name = "cmbStatusFilter";
  75. this.cmbStatusFilter.Size = new System.Drawing.Size(100, 21);
  76. this.cmbStatusFilter.TabIndex = 10;
  77. //
  78. // lblStatusFilter
  79. //
  80. this.lblStatusFilter.AutoSize = true;
  81. this.lblStatusFilter.Location = new System.Drawing.Point(10, 17);
  82. this.lblStatusFilter.Name = "lblStatusFilter";
  83. this.lblStatusFilter.Size = new System.Drawing.Size(44, 13);
  84. this.lblStatusFilter.TabIndex = 9;
  85. this.lblStatusFilter.Text = "Статус:";
  86. //
  87. // txtSearch
  88. //
  89. this.txtSearch.Location = new System.Drawing.Point(180, 15);
  90. this.txtSearch.Name = "txtSearch";
  91. this.txtSearch.Size = new System.Drawing.Size(150, 20);
  92. this.txtSearch.TabIndex = 8;
  93. //
  94. // btnSearch
  95. //
  96. this.btnSearch.Location = new System.Drawing.Point(340, 13);
  97. this.btnSearch.Name = "btnSearch";
  98. this.btnSearch.Size = new System.Drawing.Size(70, 23);
  99. this.btnSearch.TabIndex = 7;
  100. this.btnSearch.Text = "Поиск";
  101. this.btnSearch.UseVisualStyleBackColor = true;
  102. //
  103. // btnRefresh
  104. //
  105. this.btnRefresh.Location = new System.Drawing.Point(420, 13);
  106. this.btnRefresh.Name = "btnRefresh";
  107. this.btnRefresh.Size = new System.Drawing.Size(80, 23);
  108. this.btnRefresh.TabIndex = 6;
  109. this.btnRefresh.Text = "Обновить";
  110. this.btnRefresh.UseVisualStyleBackColor = true;
  111. //
  112. // btnAdd
  113. //
  114. this.btnAdd.BackColor = System.Drawing.Color.LimeGreen;
  115. this.btnAdd.Location = new System.Drawing.Point(620, 13);
  116. this.btnAdd.Name = "btnAdd";
  117. this.btnAdd.Size = new System.Drawing.Size(80, 23);
  118. this.btnAdd.TabIndex = 5;
  119. this.btnAdd.Text = "Добавить";
  120. this.btnAdd.UseVisualStyleBackColor = false;
  121. //
  122. // btnEdit
  123. //
  124. this.btnEdit.Location = new System.Drawing.Point(710, 13);
  125. this.btnEdit.Name = "btnEdit";
  126. this.btnEdit.Size = new System.Drawing.Size(80, 23);
  127. this.btnEdit.TabIndex = 4;
  128. this.btnEdit.Text = "Изменить";
  129. this.btnEdit.UseVisualStyleBackColor = true;
  130. //
  131. // btnDelete
  132. //
  133. this.btnDelete.BackColor = System.Drawing.Color.IndianRed;
  134. this.btnDelete.Location = new System.Drawing.Point(800, 13);
  135. this.btnDelete.Name = "btnDelete";
  136. this.btnDelete.Size = new System.Drawing.Size(80, 23);
  137. this.btnDelete.TabIndex = 3;
  138. this.btnDelete.Text = "Удалить";
  139. this.btnDelete.UseVisualStyleBackColor = false;
  140. //
  141. // groupDetails
  142. //
  143. this.groupDetails.Controls.Add(this.lblNotes);
  144. this.groupDetails.Controls.Add(this.lblDuration);
  145. this.groupDetails.Controls.Add(this.lblDateTime);
  146. this.groupDetails.Controls.Add(this.lblGuests);
  147. this.groupDetails.Controls.Add(this.lblPhone);
  148. this.groupDetails.Controls.Add(this.lblClient);
  149. this.groupDetails.Controls.Add(this.lblTable);
  150. this.groupDetails.Dock = System.Windows.Forms.DockStyle.Bottom;
  151. this.groupDetails.Location = new System.Drawing.Point(0, 450);
  152. this.groupDetails.Name = "groupDetails";
  153. this.groupDetails.Size = new System.Drawing.Size(900, 120);
  154. this.groupDetails.TabIndex = 2;
  155. this.groupDetails.TabStop = false;
  156. this.groupDetails.Text = "Детали бронирования";
  157. //
  158. // lblTable
  159. //
  160. this.lblTable.AutoSize = true;
  161. this.lblTable.Location = new System.Drawing.Point(15, 25);
  162. this.lblTable.Name = "lblTable";
  163. this.lblTable.Size = new System.Drawing.Size(38, 13);
  164. this.lblTable.TabIndex = 0;
  165. this.lblTable.Text = "Стол: ";
  166. //
  167. // lblClient
  168. //
  169. this.lblClient.AutoSize = true;
  170. this.lblClient.Location = new System.Drawing.Point(15, 45);
  171. this.lblClient.Name = "lblClient";
  172. this.lblClient.Size = new System.Drawing.Size(46, 13);
  173. this.lblClient.TabIndex = 1;
  174. this.lblClient.Text = "Клиент:";
  175. //
  176. // lblPhone
  177. //
  178. this.lblPhone.AutoSize = true;
  179. this.lblPhone.Location = new System.Drawing.Point(15, 65);
  180. this.lblPhone.Name = "lblPhone";
  181. this.lblPhone.Size = new System.Drawing.Size(55, 13);
  182. this.lblPhone.TabIndex = 2;
  183. this.lblPhone.Text = "Телефон:";
  184. //
  185. // lblGuests
  186. //
  187. this.lblGuests.AutoSize = true;
  188. this.lblGuests.Location = new System.Drawing.Point(15, 85);
  189. this.lblGuests.Name = "lblGuests";
  190. this.lblGuests.Size = new System.Drawing.Size(67, 13);
  191. this.lblGuests.TabIndex = 3;
  192. this.lblGuests.Text = "Кол-во гостей:";
  193. //
  194. // lblDateTime
  195. //
  196. this.lblDateTime.AutoSize = true;
  197. this.lblDateTime.Location = new System.Drawing.Point(400, 25);
  198. this.lblDateTime.Name = "lblDateTime";
  199. this.lblDateTime.Size = new System.Drawing.Size(67, 13);
  200. this.lblDateTime.TabIndex = 4;
  201. this.lblDateTime.Text = "Дата/время:";
  202. //
  203. // lblDuration
  204. //
  205. this.lblDuration.AutoSize = true;
  206. this.lblDuration.Location = new System.Drawing.Point(400, 45);
  207. this.lblDuration.Name = "lblDuration";
  208. this.lblDuration.Size = new System.Drawing.Size(76, 13);
  209. this.lblDuration.TabIndex = 5;
  210. this.lblDuration.Text = "Длительность:";
  211. //
  212. // lblNotes
  213. //
  214. this.lblNotes.AutoSize = true;
  215. this.lblNotes.Location = new System.Drawing.Point(400, 65);
  216. this.lblNotes.Name = "lblNotes";
  217. this.lblNotes.Size = new System.Drawing.Size(73, 13);
  218. this.lblNotes.TabIndex = 6;
  219. this.lblNotes.Text = "Примечание:";
  220. //
  221. // ReservationForm
  222. //
  223. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  224. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  225. this.ClientSize = new System.Drawing.Size(900, 570);
  226. this.Controls.Add(this.dgvReservations);
  227. this.Controls.Add(this.groupDetails);
  228. this.Controls.Add(this.panelTop);
  229. this.Name = "ReservationForm";
  230. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  231. this.Text = "Управление бронированиями";
  232. ((System.ComponentModel.ISupportInitialize)(this.dgvReservations)).EndInit();
  233. this.panelTop.ResumeLayout(false);
  234. this.panelTop.PerformLayout();
  235. this.groupDetails.ResumeLayout(false);
  236. this.groupDetails.PerformLayout();
  237. this.ResumeLayout(false);
  238. }
  239. private System.Windows.Forms.DataGridView dgvReservations;
  240. private System.Windows.Forms.Panel panelTop;
  241. private System.Windows.Forms.ComboBox cmbStatusFilter;
  242. private System.Windows.Forms.Label lblStatusFilter;
  243. private System.Windows.Forms.TextBox txtSearch;
  244. private System.Windows.Forms.Button btnSearch;
  245. private System.Windows.Forms.Button btnRefresh;
  246. private System.Windows.Forms.Button btnAdd;
  247. private System.Windows.Forms.Button btnEdit;
  248. private System.Windows.Forms.Button btnDelete;
  249. private System.Windows.Forms.GroupBox groupDetails;
  250. private System.Windows.Forms.Label lblTable;
  251. private System.Windows.Forms.Label lblClient;
  252. private System.Windows.Forms.Label lblPhone;
  253. private System.Windows.Forms.Label lblGuests;
  254. private System.Windows.Forms.Label lblDateTime;
  255. private System.Windows.Forms.Label lblDuration;
  256. private System.Windows.Forms.Label lblNotes;
  257. }
  258. }