PaymentForm.Designer.cs 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. namespace RestaurantApp
  2. {
  3. partial class PaymentForm
  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.lblOrderId = new System.Windows.Forms.Label();
  17. this.lblOrderIdValue = new System.Windows.Forms.Label();
  18. this.lblAmount = new System.Windows.Forms.Label();
  19. this.lblAmountValue = new System.Windows.Forms.Label();
  20. this.lblMethod = new System.Windows.Forms.Label();
  21. this.cmbMethod = new System.Windows.Forms.ComboBox();
  22. this.lblBonus = new System.Windows.Forms.Label();
  23. this.numBonus = new System.Windows.Forms.NumericUpDown();
  24. this.lblBonusInfo = new System.Windows.Forms.Label();
  25. this.lblClientBonus = new System.Windows.Forms.Label();
  26. this.lblFinalAmount = new System.Windows.Forms.Label();
  27. this.lblFinalAmountValue = new System.Windows.Forms.Label();
  28. this.btnPay = new System.Windows.Forms.Button();
  29. this.btnCancel = new System.Windows.Forms.Button();
  30. ((System.ComponentModel.ISupportInitialize)(this.numBonus)).BeginInit();
  31. this.SuspendLayout();
  32. //
  33. // lblOrderId
  34. //
  35. this.lblOrderId.AutoSize = true;
  36. this.lblOrderId.Location = new System.Drawing.Point(30, 30);
  37. this.lblOrderId.Name = "lblOrderId";
  38. this.lblOrderId.Size = new System.Drawing.Size(62, 13);
  39. this.lblOrderId.TabIndex = 0;
  40. this.lblOrderId.Text = "Заказ №:";
  41. //
  42. // lblOrderIdValue
  43. //
  44. this.lblOrderIdValue.AutoSize = true;
  45. this.lblOrderIdValue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
  46. this.lblOrderIdValue.Location = new System.Drawing.Point(150, 30);
  47. this.lblOrderIdValue.Name = "lblOrderIdValue";
  48. this.lblOrderIdValue.Size = new System.Drawing.Size(14, 13);
  49. this.lblOrderIdValue.TabIndex = 1;
  50. this.lblOrderIdValue.Text = "0";
  51. //
  52. // lblAmount
  53. //
  54. this.lblAmount.AutoSize = true;
  55. this.lblAmount.Location = new System.Drawing.Point(30, 60);
  56. this.lblAmount.Name = "lblAmount";
  57. this.lblAmount.Size = new System.Drawing.Size(58, 13);
  58. this.lblAmount.TabIndex = 2;
  59. this.lblAmount.Text = "Сумма:";
  60. //
  61. // lblAmountValue
  62. //
  63. this.lblAmountValue.AutoSize = true;
  64. this.lblAmountValue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
  65. this.lblAmountValue.Location = new System.Drawing.Point(150, 60);
  66. this.lblAmountValue.Name = "lblAmountValue";
  67. this.lblAmountValue.Size = new System.Drawing.Size(41, 13);
  68. this.lblAmountValue.TabIndex = 3;
  69. this.lblAmountValue.Text = "0 ₽";
  70. //
  71. // lblMethod
  72. //
  73. this.lblMethod.AutoSize = true;
  74. this.lblMethod.Location = new System.Drawing.Point(30, 90);
  75. this.lblMethod.Name = "lblMethod";
  76. this.lblMethod.Size = new System.Drawing.Size(82, 13);
  77. this.lblMethod.TabIndex = 4;
  78. this.lblMethod.Text = "Способ оплаты:";
  79. //
  80. // cmbMethod
  81. //
  82. this.cmbMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  83. this.cmbMethod.Items.AddRange(new object[] { "cash", "card", "online", "bonus" });
  84. this.cmbMethod.Location = new System.Drawing.Point(150, 87);
  85. this.cmbMethod.Name = "cmbMethod";
  86. this.cmbMethod.Size = new System.Drawing.Size(150, 21);
  87. this.cmbMethod.TabIndex = 5;
  88. //
  89. // lblBonus
  90. //
  91. this.lblBonus.AutoSize = true;
  92. this.lblBonus.Location = new System.Drawing.Point(30, 125);
  93. this.lblBonus.Name = "lblBonus";
  94. this.lblBonus.Size = new System.Drawing.Size(114, 13);
  95. this.lblBonus.TabIndex = 6;
  96. this.lblBonus.Text = "Использовать бонусы:";
  97. //
  98. // numBonus
  99. //
  100. this.numBonus.Location = new System.Drawing.Point(150, 123);
  101. this.numBonus.Maximum = new decimal(new int[] { 999999, 0, 0, 0 });
  102. this.numBonus.Name = "numBonus";
  103. this.numBonus.Size = new System.Drawing.Size(100, 20);
  104. this.numBonus.TabIndex = 7;
  105. //
  106. // lblBonusInfo
  107. //
  108. this.lblBonusInfo.AutoSize = true;
  109. this.lblBonusInfo.Location = new System.Drawing.Point(260, 125);
  110. this.lblBonusInfo.Name = "lblBonusInfo";
  111. this.lblBonusInfo.Size = new System.Drawing.Size(60, 13);
  112. this.lblBonusInfo.TabIndex = 8;
  113. this.lblBonusInfo.Text = "(доступно: )";
  114. //
  115. // lblClientBonus
  116. //
  117. this.lblClientBonus.AutoSize = true;
  118. this.lblClientBonus.Location = new System.Drawing.Point(150, 145);
  119. this.lblClientBonus.Name = "lblClientBonus";
  120. this.lblClientBonus.Size = new System.Drawing.Size(0, 13);
  121. this.lblClientBonus.TabIndex = 9;
  122. //
  123. // lblFinalAmount
  124. //
  125. this.lblFinalAmount.AutoSize = true;
  126. this.lblFinalAmount.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold);
  127. this.lblFinalAmount.Location = new System.Drawing.Point(30, 180);
  128. this.lblFinalAmount.Name = "lblFinalAmount";
  129. this.lblFinalAmount.Size = new System.Drawing.Size(106, 17);
  130. this.lblFinalAmount.TabIndex = 10;
  131. this.lblFinalAmount.Text = "К оплате:";
  132. //
  133. // lblFinalAmountValue
  134. //
  135. this.lblFinalAmountValue.AutoSize = true;
  136. this.lblFinalAmountValue.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold);
  137. this.lblFinalAmountValue.ForeColor = System.Drawing.Color.Green;
  138. this.lblFinalAmountValue.Location = new System.Drawing.Point(150, 178);
  139. this.lblFinalAmountValue.Name = "lblFinalAmountValue";
  140. this.lblFinalAmountValue.Size = new System.Drawing.Size(49, 20);
  141. this.lblFinalAmountValue.TabIndex = 11;
  142. this.lblFinalAmountValue.Text = "0 ₽";
  143. //
  144. // btnPay
  145. //
  146. this.btnPay.BackColor = System.Drawing.Color.LimeGreen;
  147. this.btnPay.Location = new System.Drawing.Point(100, 220);
  148. this.btnPay.Name = "btnPay";
  149. this.btnPay.Size = new System.Drawing.Size(100, 35);
  150. this.btnPay.TabIndex = 12;
  151. this.btnPay.Text = "Оплатить";
  152. this.btnPay.UseVisualStyleBackColor = false;
  153. //
  154. // btnCancel
  155. //
  156. this.btnCancel.Location = new System.Drawing.Point(220, 220);
  157. this.btnCancel.Name = "btnCancel";
  158. this.btnCancel.Size = new System.Drawing.Size(100, 35);
  159. this.btnCancel.TabIndex = 13;
  160. this.btnCancel.Text = "Отмена";
  161. this.btnCancel.UseVisualStyleBackColor = true;
  162. //
  163. // PaymentForm
  164. //
  165. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  166. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  167. this.ClientSize = new System.Drawing.Size(430, 280);
  168. this.Controls.Add(this.btnCancel);
  169. this.Controls.Add(this.btnPay);
  170. this.Controls.Add(this.lblFinalAmountValue);
  171. this.Controls.Add(this.lblFinalAmount);
  172. this.Controls.Add(this.lblClientBonus);
  173. this.Controls.Add(this.lblBonusInfo);
  174. this.Controls.Add(this.numBonus);
  175. this.Controls.Add(this.lblBonus);
  176. this.Controls.Add(this.cmbMethod);
  177. this.Controls.Add(this.lblMethod);
  178. this.Controls.Add(this.lblAmountValue);
  179. this.Controls.Add(this.lblAmount);
  180. this.Controls.Add(this.lblOrderIdValue);
  181. this.Controls.Add(this.lblOrderId);
  182. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  183. this.MaximizeBox = false;
  184. this.MinimizeBox = false;
  185. this.Name = "PaymentForm";
  186. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
  187. this.Text = "Оплата заказа";
  188. ((System.ComponentModel.ISupportInitialize)(this.numBonus)).EndInit();
  189. this.ResumeLayout(false);
  190. this.PerformLayout();
  191. }
  192. private System.Windows.Forms.Label lblOrderId;
  193. private System.Windows.Forms.Label lblOrderIdValue;
  194. private System.Windows.Forms.Label lblAmount;
  195. private System.Windows.Forms.Label lblAmountValue;
  196. private System.Windows.Forms.Label lblMethod;
  197. private System.Windows.Forms.ComboBox cmbMethod;
  198. private System.Windows.Forms.Label lblBonus;
  199. private System.Windows.Forms.NumericUpDown numBonus;
  200. private System.Windows.Forms.Label lblBonusInfo;
  201. private System.Windows.Forms.Label lblClientBonus;
  202. private System.Windows.Forms.Label lblFinalAmount;
  203. private System.Windows.Forms.Label lblFinalAmountValue;
  204. private System.Windows.Forms.Button btnPay;
  205. private System.Windows.Forms.Button btnCancel;
  206. }
  207. }