Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.32 KB | None | 0 0
  1. using POS_Client;
  2. using POS_Client.Properties;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel;
  6. using System.Data;
  7. using System.Drawing;
  8. using System.Windows.Forms;
  9. using T00SharedLibraryDotNet20;
  10.  
  11. public class frmSearchSell_Return : MasterThinForm
  12. {
  13. private ucSellInfo_Return[] ucsells;
  14.  
  15. public DataTable dt;
  16.  
  17. private IContainer components;
  18.  
  19. private Button btn_cancel;
  20.  
  21. private Button btn_enter;
  22.  
  23. private Button btn_reset;
  24.  
  25. private Panel panel5;
  26.  
  27. private Label label10;
  28.  
  29. private Panel panel3;
  30.  
  31. private Label label6;
  32.  
  33. private TextBox sellNo;
  34.  
  35. private TextBox tb_MemberName;
  36.  
  37. private TableLayoutPanel tableLayoutPanel1;
  38.  
  39. private Panel panel1;
  40.  
  41. private ucSellInfo_Return ucSellInfo_Return2;
  42.  
  43. private ucSellInfo_Return ucSellInfo_Return1;
  44.  
  45. private ucSellInfo_Return ucSellInfo_Return3;
  46.  
  47. private Button btn_view;
  48.  
  49. private Panel panel6;
  50.  
  51. private Label label12;
  52.  
  53. private Panel panel2;
  54.  
  55. private DateTimePicker eDate;
  56.  
  57. private DateTimePicker sDate;
  58.  
  59. private Label label2;
  60.  
  61. private Panel panel4;
  62.  
  63. private Label label3;
  64.  
  65. private TextBox tb_phone;
  66.  
  67. private TableLayoutPanel tableLayoutPanel2;
  68.  
  69. private Panel panel7;
  70.  
  71. private Label label4;
  72.  
  73. private Panel panel8;
  74.  
  75. private Label label5;
  76.  
  77. private Panel panel9;
  78.  
  79. private Label label7;
  80.  
  81. private Panel panel10;
  82.  
  83. private Label label8;
  84.  
  85. private Panel panel11;
  86.  
  87. private DateTimePicker dateTimePicker1;
  88.  
  89. private DateTimePicker dateTimePicker2;
  90.  
  91. private Label label9;
  92.  
  93. private Label label11;
  94.  
  95. private Panel panel12;
  96.  
  97. private Button button1;
  98.  
  99. private Panel panel13;
  100.  
  101. private Panel panel14;
  102.  
  103. private Label label1;
  104.  
  105. private TextBox tb_barcode;
  106.  
  107. public frmSearchSell_Return()
  108. : base("銷售單|退貨|補印收據")
  109. {
  110. InitializeComponent();
  111. sDate.Value = DateTime.Today.AddDays(-30.0);
  112. eDate.Value = DateTime.Today;
  113. sellNo.Focus();
  114. ucsells = new ucSellInfo_Return[3]
  115. {
  116. ucSellInfo_Return1,
  117. ucSellInfo_Return2,
  118. ucSellInfo_Return3
  119. };
  120. ucSellInfo_Return[] array = ucsells;
  121. for (int i = 0; i < array.Length; i++)
  122. {
  123. array[i].OnClickMember += viewMemberInfo;
  124. }
  125. dt = (DataTable)DataBaseUtilities.DBOperation(Program.ConnectionString, TableOperation.Select, "hms.sellNo,hms.sellTime,hms.memberId,hms.items,hcr.Name,hcr.Mobile,hcr.IdNo,hcr.CompanyIdNo,hms.cash,hms.Credit,hms.sum", "hypos_main_sell as hms left outer join hypos_CUST_RTL as hcr on hms.memberId= hcr.VipNo", "", "hms.editDate desc", null, null, CommandOperationType.ExecuteReaderReturnDataTable);
  126. int num = 0;
  127. for (int j = 0; j < 3; j++)
  128. {
  129. if (j < dt.Rows.Count)
  130. {
  131. string text = dt.Rows[j]["IdNo"].ToString();
  132. if (text.Length == 10)
  133. {
  134. text = text.Substring(0, 2) + "***" + text.Substring(5, 5);
  135. }
  136. if (!string.IsNullOrEmpty(dt.Rows[j]["Name"].ToString()))
  137. {
  138. ucsells[num].setMemberName(dt.Rows[j]["Name"].ToString());
  139. }
  140. else
  141. {
  142. ucsells[num].setMemberName("非會員");
  143. }
  144. ucsells[num].setsellNo(dt.Rows[j]["sellNo"].ToString());
  145. ucsells[num].setsellDate("銷售日期: " + dt.Rows[j]["sellTime"].ToString());
  146. ucsells[num].setcellphone(dt.Rows[j]["Mobile"].ToString());
  147. ucsells[num].setmemberNo("會員號: " + dt.Rows[j]["memberId"].ToString());
  148. ucsells[num].setIdNo("身分證字號: " + text);
  149. ucsells[num].setCompanyIdno("統一編號: " + dt.Rows[j]["CompanyIdNo"].ToString());
  150. ucsells[num].setPayType("附款模式: 現金(" + dt.Rows[j]["cash"].ToString() + ") / 賒帳(" + dt.Rows[j]["Credit"].ToString() + ")");
  151. ucsells[num].setItem("購買品項: " + dt.Rows[j]["items"].ToString());
  152. ucsells[num].setSum("消費總額: " + dt.Rows[j]["sum"].ToString());
  153. ucsells[num].Visible = true;
  154. }
  155. else
  156. {
  157. ucsells[num].Visible = false;
  158. }
  159. ucsells[num].BackColor = Color.White;
  160. num++;
  161. }
  162. }
  163.  
  164. public void viewMemberInfo(object sellNumber, EventArgs s)
  165. {
  166. switchForm(new frmMainShopSimpleReturnWithMoney(sellNumber.ToString(), "frmSearchSell_Return", ""));
  167. }
  168.  
  169. private void btn_cancel_Click(object sender, EventArgs e)
  170. {
  171. switchForm(new frmMain());
  172. }
  173.  
  174. private void tb_sellNo_Enter(object sender, EventArgs e)
  175. {
  176. if (sellNo.Text == "請輸入銷售單號")
  177. {
  178. sellNo.Text = "";
  179. }
  180. }
  181.  
  182. private void tb_sellNo_Leave(object sender, EventArgs e)
  183. {
  184. if (string.IsNullOrEmpty(sellNo.Text))
  185. {
  186. sellNo.Text = "請輸入銷售單號";
  187. }
  188. }
  189.  
  190. private void tb_MemberName_Enter(object sender, EventArgs e)
  191. {
  192. if (tb_MemberName.Text == "請輸入會員姓名")
  193. {
  194. tb_MemberName.Text = "";
  195. }
  196. }
  197.  
  198. private void tb_MemberName_Leave(object sender, EventArgs e)
  199. {
  200. if (string.IsNullOrEmpty(tb_MemberName.Text))
  201. {
  202. tb_MemberName.Text = "請輸入會員姓名";
  203. }
  204. }
  205.  
  206. private void btn_reset_Click(object sender, EventArgs e)
  207. {
  208. sellNo.Text = "請輸入銷售單號";
  209. tb_MemberName.Text = "請輸入會員姓名";
  210. sDate.Checked = false;
  211. eDate.Checked = false;
  212. sDate.Text = "";
  213. eDate.Text = "";
  214. tb_barcode.Text = "";
  215. sellNo.Focus();
  216. }
  217.  
  218. private void tb_SellNo_KeyDown(object sender, KeyEventArgs e)
  219. {
  220. if (e.KeyCode == Keys.Return)
  221. {
  222. btn_enter_Click(sender, e);
  223. }
  224. }
  225.  
  226. private void tb_MemberName_KeyDown(object sender, KeyEventArgs e)
  227. {
  228. if (e.KeyCode == Keys.Return)
  229. {
  230. btn_enter_Click(sender, e);
  231. }
  232. }
  233.  
  234. private void btn_enter_Click(object sender, EventArgs e)
  235. {
  236. string text = "";
  237. if (sDate.Checked && eDate.Checked)
  238. {
  239. DateTime t = Convert.ToDateTime(sDate.Value);
  240. DateTime t2 = Convert.ToDateTime(eDate.Value);
  241. if (DateTime.Compare(t, t2) > 0)
  242. {
  243. text += "起日不可大於迄日,請重新設定\n";
  244. }
  245. }
  246. if (sellNo.Text == "請輸入銷售單號" && tb_MemberName.Text == "請輸入會員姓名" && tb_phone.Text == "請輸入會員電話" && !sDate.Checked && !eDate.Checked)
  247. {
  248. text += "必須輸入查詢條件\n";
  249. }
  250. if (!"".Equals(text))
  251. {
  252. AutoClosingMessageBox.Show(text);
  253. return;
  254. }
  255. if (sellNo.Text != "請輸入銷售單號")
  256. {
  257. dt = (DataTable)DataBaseUtilities.DBOperation(Program.ConnectionString, TableOperation.Select, "*", "hypos_main_sell", "sellNo={0}", "", null, new string[1]
  258. {
  259. sellNo.Text
  260. }, CommandOperationType.ExecuteReaderReturnDataTable);
  261. if (dt.Rows.Count > 0)
  262. {
  263. switchForm(new frmMainShopSimpleReturnWithMoney(dt.Rows[0]["sellNo"].ToString(), "frmSearchSell_Return", ""));
  264. }
  265. else
  266. {
  267. AutoClosingMessageBox.Show("銷售單不存在,請正確輸入銷售單編號");
  268. }
  269. return;
  270. }
  271. int num = 0;
  272. List<string> list = new List<string>();
  273. string text2 = "SELECT distinct hms.sellNo,hms.sellTime,hms.memberId,hms.items,hcr.Name,hcr.Mobile FROM hypos_main_sell as hms left outer join hypos_CUST_RTL as hcr on hms.memberId= hcr.VipNo join hypos_detail_sell on hms.sellNo = hypos_detail_sell.sellNo WHERE 1=1 ";
  274. if (tb_MemberName.Text != "請輸入會員姓名")
  275. {
  276. if ("非會員".Equals(tb_MemberName.Text))
  277. {
  278. text2 += " AND hcr.Name is null";
  279. }
  280. else
  281. {
  282. text2 = text2 + " AND hcr.Name like {" + num + "}";
  283. list.Add("%" + tb_MemberName.Text.ToString().Trim() + "%");
  284. num++;
  285. }
  286. }
  287. if (tb_phone.Text != "請輸入會員電話")
  288. {
  289. text2 = text2 + " AND (hcr.Telphone like {" + num + "} or hcr.Mobile like {" + num + "})";
  290. list.Add("%" + tb_phone.Text.ToString().Trim() + "%");
  291. num++;
  292. }
  293. if (tb_barcode.Text != "請輸入商品編號")
  294. {
  295. text2 = text2 + " and hypos_detail_sell.barcode like {" + num + "}";
  296. list.Add("%" + tb_barcode.Text.ToString().Trim() + "%");
  297. num++;
  298. }
  299. if (sDate.Checked)
  300. {
  301. string str = sDate.Text.ToString();
  302. str += " 00:00:00";
  303. text2 = text2 + " AND hms.sellTime >= {" + num + "}";
  304. list.Add(str);
  305. num++;
  306. }
  307. if (eDate.Checked)
  308. {
  309. string str2 = eDate.Text.ToString();
  310. str2 += " 23:59:59";
  311. text2 = text2 + " AND hms.sellTime <= {" + num + "}";
  312. list.Add(str2);
  313. num++;
  314. }
  315. DataTable dataTable = (DataTable)DataBaseUtilities.DBOperation(Program.ConnectionString, text2, list.ToArray(), CommandOperationType.ExecuteReaderReturnDataTable);
  316. switchForm(new frmSearchSellResult(dataTable, "frmSearchSell_Return"));
  317. }
  318.  
  319. private void btn_view_Click(object sender, EventArgs e)
  320. {
  321. DateTime dateTime = DateTime.Now.AddMonths(-2);
  322. DateTime now = DateTime.Now;
  323. string text = new DateTime(dateTime.Year, dateTime.Month, 1, 0, 0, 0).ToString("yyyy-MM-dd HH:mm:ss");
  324. string text2 = new DateTime(now.Year, now.Month, DateTime.DaysInMonth(now.Year, now.Month), 23, 59, 59).ToString("yyyy-MM-dd HH:mm:ss");
  325. string sql = "SELECT hms.sellNo,hms.sellTime,hms.memberId,hms.items,hcr.Name,hcr.Mobile FROM hypos_main_sell as hms left outer join hypos_CUST_RTL as hcr on hms.memberId= hcr.VipNo WHERE sellTime >='" + text + "' and sellTime <='" + text2 + "'";
  326. DataTable dataTable = (DataTable)DataBaseUtilities.DBOperation(Program.ConnectionString, sql, null, CommandOperationType.ExecuteReaderReturnDataTable);
  327. if (dataTable.Rows.Count > 0)
  328. {
  329. switchForm(new frmSearchSellResult_View(dataTable));
  330. }
  331. else
  332. {
  333. AutoClosingMessageBox.Show("無近期銷售單");
  334. }
  335. }
  336.  
  337. private void tb_phone_Enter(object sender, EventArgs e)
  338. {
  339. if (tb_phone.Text == "請輸入會員電話")
  340. {
  341. tb_phone.Text = "";
  342. }
  343. }
  344.  
  345. private void tb_phone_KeyDown(object sender, KeyEventArgs e)
  346. {
  347. if (e.KeyCode == Keys.Return)
  348. {
  349. btn_enter_Click(sender, e);
  350. }
  351. }
  352.  
  353. private void tb_phone_Leave(object sender, EventArgs e)
  354. {
  355. if (string.IsNullOrEmpty(tb_phone.Text))
  356. {
  357. tb_phone.Text = "請輸入會員電話";
  358. }
  359. }
  360.  
  361. private void tb_barcode_Enter(object sender, EventArgs e)
  362. {
  363. if (tb_barcode.Text == "請輸入商品編號")
  364. {
  365. tb_barcode.Text = "";
  366. }
  367. }
  368.  
  369. private void tb_barcode_KeyDown(object sender, KeyEventArgs e)
  370. {
  371. if (e.KeyCode == Keys.Return)
  372. {
  373. btn_enter_Click(sender, e);
  374. }
  375. }
  376.  
  377. private void tb_barcode_Leave_1(object sender, EventArgs e)
  378. {
  379. if (string.IsNullOrEmpty(tb_barcode.Text))
  380. {
  381. tb_barcode.Text = "請輸入商品編號";
  382. }
  383. }
  384.  
  385. protected override void Dispose(bool disposing)
  386. {
  387. if (disposing && components != null)
  388. {
  389. components.Dispose();
  390. }
  391. base.Dispose(disposing);
  392. }
  393.  
  394. private void InitializeComponent()
  395. {
  396. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(POS_Client.frmSearchSell_Return));
  397. btn_cancel = new System.Windows.Forms.Button();
  398. btn_enter = new System.Windows.Forms.Button();
  399. btn_reset = new System.Windows.Forms.Button();
  400. panel5 = new System.Windows.Forms.Panel();
  401. label10 = new System.Windows.Forms.Label();
  402. panel3 = new System.Windows.Forms.Panel();
  403. label6 = new System.Windows.Forms.Label();
  404. sellNo = new System.Windows.Forms.TextBox();
  405. tb_MemberName = new System.Windows.Forms.TextBox();
  406. tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
  407. tb_barcode = new System.Windows.Forms.TextBox();
  408. panel14 = new System.Windows.Forms.Panel();
  409. label1 = new System.Windows.Forms.Label();
  410. panel4 = new System.Windows.Forms.Panel();
  411. label3 = new System.Windows.Forms.Label();
  412. panel2 = new System.Windows.Forms.Panel();
  413. eDate = new System.Windows.Forms.DateTimePicker();
  414. sDate = new System.Windows.Forms.DateTimePicker();
  415. label2 = new System.Windows.Forms.Label();
  416. panel13 = new System.Windows.Forms.Panel();
  417. tb_phone = new System.Windows.Forms.TextBox();
  418. panel6 = new System.Windows.Forms.Panel();
  419. label12 = new System.Windows.Forms.Label();
  420. panel1 = new System.Windows.Forms.Panel();
  421. ucSellInfo_Return3 = new POS_Client.ucSellInfo_Return();
  422. ucSellInfo_Return2 = new POS_Client.ucSellInfo_Return();
  423. ucSellInfo_Return1 = new POS_Client.ucSellInfo_Return();
  424. btn_view = new System.Windows.Forms.Button();
  425. tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
  426. panel7 = new System.Windows.Forms.Panel();
  427. label4 = new System.Windows.Forms.Label();
  428. panel8 = new System.Windows.Forms.Panel();
  429. label5 = new System.Windows.Forms.Label();
  430. panel9 = new System.Windows.Forms.Panel();
  431. label7 = new System.Windows.Forms.Label();
  432. panel10 = new System.Windows.Forms.Panel();
  433. label8 = new System.Windows.Forms.Label();
  434. panel11 = new System.Windows.Forms.Panel();
  435. dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
  436. dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
  437. label9 = new System.Windows.Forms.Label();
  438. label11 = new System.Windows.Forms.Label();
  439. panel12 = new System.Windows.Forms.Panel();
  440. button1 = new System.Windows.Forms.Button();
  441. ((System.ComponentModel.ISupportInitialize)pb_virtualKeyBoard).BeginInit();
  442. panel5.SuspendLayout();
  443. panel3.SuspendLayout();
  444. tableLayoutPanel1.SuspendLayout();
  445. panel14.SuspendLayout();
  446. panel4.SuspendLayout();
  447. panel2.SuspendLayout();
  448. panel13.SuspendLayout();
  449. panel6.SuspendLayout();
  450. panel1.SuspendLayout();
  451. tableLayoutPanel2.SuspendLayout();
  452. panel7.SuspendLayout();
  453. panel8.SuspendLayout();
  454. panel9.SuspendLayout();
  455. panel10.SuspendLayout();
  456. panel11.SuspendLayout();
  457. SuspendLayout();
  458. btn_cancel.BackColor = System.Drawing.Color.FromArgb(175, 175, 175);
  459. btn_cancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  460. btn_cancel.Font = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  461. btn_cancel.ForeColor = System.Drawing.Color.White;
  462. btn_cancel.Location = new System.Drawing.Point(568, 294);
  463. btn_cancel.Name = "btn_cancel";
  464. btn_cancel.Size = new System.Drawing.Size(75, 35);
  465. btn_cancel.TabIndex = 43;
  466. btn_cancel.TabStop = false;
  467. btn_cancel.Text = "取消";
  468. btn_cancel.UseVisualStyleBackColor = false;
  469. btn_cancel.Click += new System.EventHandler(btn_cancel_Click);
  470. btn_enter.BackColor = System.Drawing.Color.FromArgb(157, 189, 59);
  471. btn_enter.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  472. btn_enter.Font = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  473. btn_enter.ForeColor = System.Drawing.Color.White;
  474. btn_enter.Location = new System.Drawing.Point(366, 294);
  475. btn_enter.Name = "btn_enter";
  476. btn_enter.Size = new System.Drawing.Size(75, 35);
  477. btn_enter.TabIndex = 1;
  478. btn_enter.TabStop = false;
  479. btn_enter.Text = "查詢";
  480. btn_enter.UseVisualStyleBackColor = false;
  481. btn_enter.Click += new System.EventHandler(btn_enter_Click);
  482. btn_reset.BackColor = System.Drawing.Color.FromArgb(175, 175, 175);
  483. btn_reset.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  484. btn_reset.Font = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  485. btn_reset.ForeColor = System.Drawing.Color.White;
  486. btn_reset.Location = new System.Drawing.Point(467, 294);
  487. btn_reset.Name = "btn_reset";
  488. btn_reset.Size = new System.Drawing.Size(75, 35);
  489. btn_reset.TabIndex = 42;
  490. btn_reset.TabStop = false;
  491. btn_reset.Text = "重設";
  492. btn_reset.UseVisualStyleBackColor = false;
  493. btn_reset.Click += new System.EventHandler(btn_reset_Click);
  494. panel5.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  495. panel5.Controls.Add(label10);
  496. panel5.Location = new System.Drawing.Point(1, 119);
  497. panel5.Margin = new System.Windows.Forms.Padding(0);
  498. panel5.Name = "panel5";
  499. panel5.Size = new System.Drawing.Size(194, 58);
  500. panel5.TabIndex = 23;
  501. label10.AutoSize = true;
  502. label10.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  503. label10.ForeColor = System.Drawing.Color.White;
  504. label10.Location = new System.Drawing.Point(65, 15);
  505. label10.Name = "label10";
  506. label10.Size = new System.Drawing.Size(74, 21);
  507. label10.TabIndex = 0;
  508. label10.Text = "會員姓名";
  509. panel3.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  510. panel3.Controls.Add(label6);
  511. panel3.Dock = System.Windows.Forms.DockStyle.Fill;
  512. panel3.Location = new System.Drawing.Point(1, 1);
  513. panel3.Margin = new System.Windows.Forms.Padding(0);
  514. panel3.Name = "panel3";
  515. panel3.Size = new System.Drawing.Size(194, 58);
  516. panel3.TabIndex = 21;
  517. label6.AutoSize = true;
  518. label6.BackColor = System.Drawing.Color.Transparent;
  519. label6.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  520. label6.ForeColor = System.Drawing.Color.White;
  521. label6.Location = new System.Drawing.Point(65, 15);
  522. label6.Name = "label6";
  523. label6.Size = new System.Drawing.Size(74, 21);
  524. label6.TabIndex = 0;
  525. label6.Text = "銷售編號";
  526. sellNo.BackColor = System.Drawing.Color.White;
  527. sellNo.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  528. sellNo.ForeColor = System.Drawing.Color.DarkGray;
  529. sellNo.ImeMode = System.Windows.Forms.ImeMode.Disable;
  530. sellNo.Location = new System.Drawing.Point(211, 16);
  531. sellNo.Margin = new System.Windows.Forms.Padding(15);
  532. sellNo.MaxLength = 0;
  533. sellNo.Name = "sellNo";
  534. sellNo.Size = new System.Drawing.Size(674, 29);
  535. sellNo.TabIndex = 1;
  536. sellNo.Text = "請輸入銷售單號";
  537. sellNo.Enter += new System.EventHandler(tb_sellNo_Enter);
  538. sellNo.KeyDown += new System.Windows.Forms.KeyEventHandler(tb_SellNo_KeyDown);
  539. sellNo.Leave += new System.EventHandler(tb_sellNo_Leave);
  540. tb_MemberName.BackColor = System.Drawing.Color.White;
  541. tb_MemberName.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  542. tb_MemberName.ForeColor = System.Drawing.Color.DarkGray;
  543. tb_MemberName.Location = new System.Drawing.Point(9, 13);
  544. tb_MemberName.Margin = new System.Windows.Forms.Padding(15);
  545. tb_MemberName.Name = "tb_MemberName";
  546. tb_MemberName.Size = new System.Drawing.Size(255, 29);
  547. tb_MemberName.TabIndex = 2;
  548. tb_MemberName.Text = "請輸入會員姓名";
  549. tb_MemberName.Enter += new System.EventHandler(tb_MemberName_Enter);
  550. tb_MemberName.KeyDown += new System.Windows.Forms.KeyEventHandler(tb_MemberName_KeyDown);
  551. tb_MemberName.Leave += new System.EventHandler(tb_MemberName_Leave);
  552. tableLayoutPanel1.BackColor = System.Drawing.Color.White;
  553. tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
  554. tableLayoutPanel1.ColumnCount = 2;
  555. tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 21.63662f));
  556. tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 78.36338f));
  557. tableLayoutPanel1.Controls.Add(tb_barcode, 1, 1);
  558. tableLayoutPanel1.Controls.Add(panel14, 0, 1);
  559. tableLayoutPanel1.Controls.Add(panel4, 0, 3);
  560. tableLayoutPanel1.Controls.Add(panel3, 0, 0);
  561. tableLayoutPanel1.Controls.Add(sellNo, 1, 0);
  562. tableLayoutPanel1.Controls.Add(panel2, 1, 3);
  563. tableLayoutPanel1.Controls.Add(panel13, 1, 2);
  564. tableLayoutPanel1.Controls.Add(panel5, 0, 2);
  565. tableLayoutPanel1.Location = new System.Drawing.Point(44, 43);
  566. tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 10, 3, 3);
  567. tableLayoutPanel1.Name = "tableLayoutPanel1";
  568. tableLayoutPanel1.RowCount = 4;
  569. tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25f));
  570. tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25f));
  571. tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25f));
  572. tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25f));
  573. tableLayoutPanel1.Size = new System.Drawing.Size(901, 240);
  574. tableLayoutPanel1.TabIndex = 40;
  575. tb_barcode.BackColor = System.Drawing.Color.White;
  576. tb_barcode.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  577. tb_barcode.ForeColor = System.Drawing.Color.DarkGray;
  578. tb_barcode.ImeMode = System.Windows.Forms.ImeMode.Disable;
  579. tb_barcode.Location = new System.Drawing.Point(211, 75);
  580. tb_barcode.Margin = new System.Windows.Forms.Padding(15);
  581. tb_barcode.MaxLength = 0;
  582. tb_barcode.Name = "tb_barcode";
  583. tb_barcode.Size = new System.Drawing.Size(674, 29);
  584. tb_barcode.TabIndex = 55;
  585. tb_barcode.Text = "請輸入商品編號";
  586. tb_barcode.Enter += new System.EventHandler(tb_barcode_Enter);
  587. tb_barcode.KeyDown += new System.Windows.Forms.KeyEventHandler(tb_barcode_KeyDown);
  588. tb_barcode.Leave += new System.EventHandler(tb_barcode_Leave_1);
  589. panel14.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  590. panel14.Controls.Add(label1);
  591. panel14.Location = new System.Drawing.Point(1, 60);
  592. panel14.Margin = new System.Windows.Forms.Padding(0);
  593. panel14.Name = "panel14";
  594. panel14.Size = new System.Drawing.Size(194, 58);
  595. panel14.TabIndex = 27;
  596. label1.AutoSize = true;
  597. label1.BackColor = System.Drawing.Color.Transparent;
  598. label1.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  599. label1.ForeColor = System.Drawing.Color.White;
  600. label1.Location = new System.Drawing.Point(62, 18);
  601. label1.Name = "label1";
  602. label1.Size = new System.Drawing.Size(74, 21);
  603. label1.TabIndex = 0;
  604. label1.Text = "商品編號";
  605. panel4.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  606. panel4.Controls.Add(label3);
  607. panel4.Dock = System.Windows.Forms.DockStyle.Fill;
  608. panel4.Location = new System.Drawing.Point(1, 178);
  609. panel4.Margin = new System.Windows.Forms.Padding(0);
  610. panel4.Name = "panel4";
  611. panel4.Size = new System.Drawing.Size(194, 61);
  612. panel4.TabIndex = 25;
  613. label3.AutoSize = true;
  614. label3.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  615. label3.ForeColor = System.Drawing.Color.White;
  616. label3.Location = new System.Drawing.Point(33, 16);
  617. label3.Name = "label3";
  618. label3.Size = new System.Drawing.Size(106, 21);
  619. label3.TabIndex = 0;
  620. label3.Text = "銷售日期區間";
  621. panel2.Controls.Add(eDate);
  622. panel2.Controls.Add(sDate);
  623. panel2.Controls.Add(label2);
  624. panel2.Location = new System.Drawing.Point(199, 181);
  625. panel2.Name = "panel2";
  626. panel2.Size = new System.Drawing.Size(539, 47);
  627. panel2.TabIndex = 24;
  628. eDate.Anchor = System.Windows.Forms.AnchorStyles.Left;
  629. eDate.CustomFormat = "yyyy-MM-dd";
  630. eDate.Font = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  631. eDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
  632. eDate.Location = new System.Drawing.Point(289, 6);
  633. eDate.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
  634. eDate.Name = "eDate";
  635. eDate.ShowCheckBox = true;
  636. eDate.Size = new System.Drawing.Size(221, 34);
  637. eDate.TabIndex = 33;
  638. sDate.Anchor = System.Windows.Forms.AnchorStyles.Left;
  639. sDate.CustomFormat = "yyyy-MM-dd";
  640. sDate.Font = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  641. sDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
  642. sDate.Location = new System.Drawing.Point(14, 7);
  643. sDate.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
  644. sDate.Name = "sDate";
  645. sDate.ShowCheckBox = true;
  646. sDate.Size = new System.Drawing.Size(226, 34);
  647. sDate.TabIndex = 32;
  648. label2.AutoSize = true;
  649. label2.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  650. label2.Location = new System.Drawing.Point(255, 14);
  651. label2.Name = "label2";
  652. label2.Size = new System.Drawing.Size(21, 20);
  653. label2.TabIndex = 1;
  654. label2.Text = "~";
  655. panel13.Controls.Add(tb_phone);
  656. panel13.Controls.Add(tb_MemberName);
  657. panel13.Controls.Add(panel6);
  658. panel13.Location = new System.Drawing.Point(199, 122);
  659. panel13.Name = "panel13";
  660. panel13.Size = new System.Drawing.Size(698, 52);
  661. panel13.TabIndex = 26;
  662. tb_phone.BackColor = System.Drawing.Color.White;
  663. tb_phone.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  664. tb_phone.ForeColor = System.Drawing.Color.DarkGray;
  665. tb_phone.ImeMode = System.Windows.Forms.ImeMode.Disable;
  666. tb_phone.Location = new System.Drawing.Point(427, 15);
  667. tb_phone.Margin = new System.Windows.Forms.Padding(15);
  668. tb_phone.MaxLength = 0;
  669. tb_phone.Name = "tb_phone";
  670. tb_phone.Size = new System.Drawing.Size(259, 29);
  671. tb_phone.TabIndex = 53;
  672. tb_phone.Text = "請輸入會員電話";
  673. tb_phone.Enter += new System.EventHandler(tb_phone_Enter);
  674. tb_phone.KeyDown += new System.Windows.Forms.KeyEventHandler(tb_phone_KeyDown);
  675. tb_phone.Leave += new System.EventHandler(tb_phone_Leave);
  676. panel6.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  677. panel6.Controls.Add(label12);
  678. panel6.Location = new System.Drawing.Point(270, 0);
  679. panel6.Margin = new System.Windows.Forms.Padding(0);
  680. panel6.Name = "panel6";
  681. panel6.Size = new System.Drawing.Size(150, 58);
  682. panel6.TabIndex = 20;
  683. label12.AutoSize = true;
  684. label12.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  685. label12.ForeColor = System.Drawing.Color.White;
  686. label12.Location = new System.Drawing.Point(73, 17);
  687. label12.Name = "label12";
  688. label12.Size = new System.Drawing.Size(74, 21);
  689. label12.TabIndex = 0;
  690. label12.Text = "會員電話";
  691. panel1.Controls.Add(ucSellInfo_Return3);
  692. panel1.Controls.Add(ucSellInfo_Return2);
  693. panel1.Controls.Add(ucSellInfo_Return1);
  694. panel1.Location = new System.Drawing.Point(90, 347);
  695. panel1.Name = "panel1";
  696. panel1.Size = new System.Drawing.Size(801, 312);
  697. panel1.TabIndex = 45;
  698. ucSellInfo_Return3.BackColor = System.Drawing.Color.White;
  699. ucSellInfo_Return3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  700. ucSellInfo_Return3.Cursor = System.Windows.Forms.Cursors.Hand;
  701. ucSellInfo_Return3.Location = new System.Drawing.Point(0, 204);
  702. ucSellInfo_Return3.Margin = new System.Windows.Forms.Padding(0);
  703. ucSellInfo_Return3.MaximumSize = new System.Drawing.Size(801, 102);
  704. ucSellInfo_Return3.MinimumSize = new System.Drawing.Size(398, 102);
  705. ucSellInfo_Return3.Name = "ucSellInfo_Return3";
  706. ucSellInfo_Return3.Size = new System.Drawing.Size(801, 102);
  707. ucSellInfo_Return3.TabIndex = 3;
  708. ucSellInfo_Return2.BackColor = System.Drawing.Color.White;
  709. ucSellInfo_Return2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  710. ucSellInfo_Return2.Cursor = System.Windows.Forms.Cursors.Hand;
  711. ucSellInfo_Return2.Location = new System.Drawing.Point(0, 102);
  712. ucSellInfo_Return2.Margin = new System.Windows.Forms.Padding(0);
  713. ucSellInfo_Return2.MaximumSize = new System.Drawing.Size(801, 102);
  714. ucSellInfo_Return2.MinimumSize = new System.Drawing.Size(398, 102);
  715. ucSellInfo_Return2.Name = "ucSellInfo_Return2";
  716. ucSellInfo_Return2.Size = new System.Drawing.Size(801, 102);
  717. ucSellInfo_Return2.TabIndex = 2;
  718. ucSellInfo_Return1.BackColor = System.Drawing.Color.White;
  719. ucSellInfo_Return1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  720. ucSellInfo_Return1.Cursor = System.Windows.Forms.Cursors.Hand;
  721. ucSellInfo_Return1.Location = new System.Drawing.Point(0, 0);
  722. ucSellInfo_Return1.Margin = new System.Windows.Forms.Padding(0);
  723. ucSellInfo_Return1.MaximumSize = new System.Drawing.Size(801, 102);
  724. ucSellInfo_Return1.MinimumSize = new System.Drawing.Size(398, 102);
  725. ucSellInfo_Return1.Name = "ucSellInfo_Return1";
  726. ucSellInfo_Return1.Size = new System.Drawing.Size(801, 102);
  727. ucSellInfo_Return1.TabIndex = 1;
  728. btn_view.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  729. btn_view.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  730. btn_view.Font = new System.Drawing.Font("微軟正黑體", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  731. btn_view.ForeColor = System.Drawing.Color.White;
  732. btn_view.Location = new System.Drawing.Point(782, 312);
  733. btn_view.Name = "btn_view";
  734. btn_view.Size = new System.Drawing.Size(109, 29);
  735. btn_view.TabIndex = 52;
  736. btn_view.TabStop = false;
  737. btn_view.Text = "檢視近期銷售單";
  738. btn_view.UseVisualStyleBackColor = false;
  739. btn_view.Click += new System.EventHandler(btn_view_Click);
  740. tableLayoutPanel2.BackColor = System.Drawing.Color.White;
  741. tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
  742. tableLayoutPanel2.ColumnCount = 2;
  743. tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 21.63662f));
  744. tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 78.36338f));
  745. tableLayoutPanel2.Controls.Add(panel7, 0, 3);
  746. tableLayoutPanel2.Controls.Add(panel8, 0, 2);
  747. tableLayoutPanel2.Controls.Add(panel9, 0, 0);
  748. tableLayoutPanel2.Controls.Add(panel10, 0, 1);
  749. tableLayoutPanel2.Controls.Add(panel11, 1, 3);
  750. tableLayoutPanel2.Location = new System.Drawing.Point(141, 43);
  751. tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(3, 10, 3, 3);
  752. tableLayoutPanel2.Name = "tableLayoutPanel2";
  753. tableLayoutPanel2.RowCount = 4;
  754. tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25f));
  755. tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25f));
  756. tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25f));
  757. tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25f));
  758. tableLayoutPanel2.Size = new System.Drawing.Size(699, 240);
  759. tableLayoutPanel2.TabIndex = 40;
  760. panel7.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  761. panel7.Controls.Add(label4);
  762. panel7.Dock = System.Windows.Forms.DockStyle.Fill;
  763. panel7.Location = new System.Drawing.Point(1, 178);
  764. panel7.Margin = new System.Windows.Forms.Padding(0);
  765. panel7.Name = "panel7";
  766. panel7.Size = new System.Drawing.Size(150, 61);
  767. panel7.TabIndex = 25;
  768. label4.AutoSize = true;
  769. label4.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  770. label4.ForeColor = System.Drawing.Color.White;
  771. label4.Location = new System.Drawing.Point(33, 16);
  772. label4.Name = "label4";
  773. label4.Size = new System.Drawing.Size(106, 21);
  774. label4.TabIndex = 0;
  775. label4.Text = "銷售日期區間";
  776. panel8.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  777. panel8.Controls.Add(label5);
  778. panel8.Dock = System.Windows.Forms.DockStyle.Fill;
  779. panel8.Location = new System.Drawing.Point(1, 119);
  780. panel8.Margin = new System.Windows.Forms.Padding(0);
  781. panel8.Name = "panel8";
  782. panel8.Size = new System.Drawing.Size(150, 58);
  783. panel8.TabIndex = 20;
  784. label5.AutoSize = true;
  785. label5.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  786. label5.ForeColor = System.Drawing.Color.White;
  787. label5.Location = new System.Drawing.Point(97, 23);
  788. label5.Name = "label5";
  789. label5.Size = new System.Drawing.Size(42, 21);
  790. label5.TabIndex = 0;
  791. label5.Text = "電話";
  792. panel9.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  793. panel9.Controls.Add(label7);
  794. panel9.Dock = System.Windows.Forms.DockStyle.Fill;
  795. panel9.Location = new System.Drawing.Point(1, 1);
  796. panel9.Margin = new System.Windows.Forms.Padding(0);
  797. panel9.Name = "panel9";
  798. panel9.Size = new System.Drawing.Size(150, 58);
  799. panel9.TabIndex = 21;
  800. label7.AutoSize = true;
  801. label7.BackColor = System.Drawing.Color.Transparent;
  802. label7.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  803. label7.ForeColor = System.Drawing.Color.White;
  804. label7.Location = new System.Drawing.Point(65, 15);
  805. label7.Name = "label7";
  806. label7.Size = new System.Drawing.Size(74, 21);
  807. label7.TabIndex = 0;
  808. label7.Text = "銷售編號";
  809. panel10.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  810. panel10.Controls.Add(label8);
  811. panel10.Dock = System.Windows.Forms.DockStyle.Fill;
  812. panel10.Location = new System.Drawing.Point(1, 60);
  813. panel10.Margin = new System.Windows.Forms.Padding(0);
  814. panel10.Name = "panel10";
  815. panel10.Size = new System.Drawing.Size(150, 58);
  816. panel10.TabIndex = 23;
  817. label8.AutoSize = true;
  818. label8.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  819. label8.ForeColor = System.Drawing.Color.White;
  820. label8.Location = new System.Drawing.Point(65, 15);
  821. label8.Name = "label8";
  822. label8.Size = new System.Drawing.Size(74, 21);
  823. label8.TabIndex = 0;
  824. label8.Text = "會員姓名";
  825. panel11.Controls.Add(dateTimePicker1);
  826. panel11.Controls.Add(dateTimePicker2);
  827. panel11.Controls.Add(label9);
  828. panel11.Location = new System.Drawing.Point(155, 181);
  829. panel11.Name = "panel11";
  830. panel11.Size = new System.Drawing.Size(539, 47);
  831. panel11.TabIndex = 24;
  832. dateTimePicker1.Anchor = System.Windows.Forms.AnchorStyles.Left;
  833. dateTimePicker1.CustomFormat = "yyyy-MM-dd";
  834. dateTimePicker1.Font = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  835. dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
  836. dateTimePicker1.Location = new System.Drawing.Point(236, 6);
  837. dateTimePicker1.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
  838. dateTimePicker1.Name = "dateTimePicker1";
  839. dateTimePicker1.ShowCheckBox = true;
  840. dateTimePicker1.Size = new System.Drawing.Size(186, 34);
  841. dateTimePicker1.TabIndex = 33;
  842. dateTimePicker2.Anchor = System.Windows.Forms.AnchorStyles.Left;
  843. dateTimePicker2.CustomFormat = "yyyy-MM-dd";
  844. dateTimePicker2.Font = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  845. dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
  846. dateTimePicker2.Location = new System.Drawing.Point(14, 7);
  847. dateTimePicker2.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
  848. dateTimePicker2.Name = "dateTimePicker2";
  849. dateTimePicker2.ShowCheckBox = true;
  850. dateTimePicker2.Size = new System.Drawing.Size(181, 34);
  851. dateTimePicker2.TabIndex = 32;
  852. label9.AutoSize = true;
  853. label9.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
  854. label9.Location = new System.Drawing.Point(202, 14);
  855. label9.Name = "label9";
  856. label9.Size = new System.Drawing.Size(21, 20);
  857. label9.TabIndex = 1;
  858. label9.Text = "~";
  859. label11.Font = new System.Drawing.Font("微軟正黑體", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
  860. label11.Image = POS_Client.Properties.Resources.oblique;
  861. label11.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  862. label11.Location = new System.Drawing.Point(88, 314);
  863. label11.Name = "label11";
  864. label11.Size = new System.Drawing.Size(127, 23);
  865. label11.TabIndex = 46;
  866. label11.Text = "最近銷售單";
  867. label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  868. panel12.Location = new System.Drawing.Point(90, 347);
  869. panel12.Name = "panel12";
  870. panel12.Size = new System.Drawing.Size(801, 312);
  871. panel12.TabIndex = 45;
  872. button1.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
  873. button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  874. button1.Font = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold);
  875. button1.ForeColor = System.Drawing.Color.White;
  876. button1.Location = new System.Drawing.Point(747, 308);
  877. button1.Name = "button1";
  878. button1.Size = new System.Drawing.Size(144, 35);
  879. button1.TabIndex = 52;
  880. button1.TabStop = false;
  881. button1.Text = "檢視近期銷售單";
  882. button1.UseVisualStyleBackColor = false;
  883. button1.Click += new System.EventHandler(btn_view_Click);
  884. base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
  885. base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  886. BackColor = System.Drawing.SystemColors.Control;
  887. base.ClientSize = new System.Drawing.Size(981, 661);
  888. base.Controls.Add(button1);
  889. base.Controls.Add(btn_view);
  890. base.Controls.Add(panel1);
  891. base.Controls.Add(label11);
  892. base.Controls.Add(btn_cancel);
  893. base.Controls.Add(btn_reset);
  894. base.Controls.Add(btn_enter);
  895. base.Controls.Add(tableLayoutPanel1);
  896. base.Controls.Add(tableLayoutPanel2);
  897. base.Controls.Add(panel12);
  898. base.Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
  899. base.Name = "frmSearchSell_Return";
  900. base.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
  901. Text = "會員選擇";
  902. base.Controls.SetChildIndex(panel12, 0);
  903. base.Controls.SetChildIndex(tableLayoutPanel2, 0);
  904. base.Controls.SetChildIndex(tableLayoutPanel1, 0);
  905. base.Controls.SetChildIndex(btn_enter, 0);
  906. base.Controls.SetChildIndex(btn_reset, 0);
  907. base.Controls.SetChildIndex(btn_cancel, 0);
  908. base.Controls.SetChildIndex(label11, 0);
  909. base.Controls.SetChildIndex(panel1, 0);
  910. base.Controls.SetChildIndex(btn_view, 0);
  911. base.Controls.SetChildIndex(button1, 0);
  912. base.Controls.SetChildIndex(pb_virtualKeyBoard, 0);
  913. ((System.ComponentModel.ISupportInitialize)pb_virtualKeyBoard).EndInit();
  914. panel5.ResumeLayout(false);
  915. panel5.PerformLayout();
  916. panel3.ResumeLayout(false);
  917. panel3.PerformLayout();
  918. tableLayoutPanel1.ResumeLayout(false);
  919. tableLayoutPanel1.PerformLayout();
  920. panel14.ResumeLayout(false);
  921. panel14.PerformLayout();
  922. panel4.ResumeLayout(false);
  923. panel4.PerformLayout();
  924. panel2.ResumeLayout(false);
  925. panel2.PerformLayout();
  926. panel13.ResumeLayout(false);
  927. panel13.PerformLayout();
  928. panel6.ResumeLayout(false);
  929. panel6.PerformLayout();
  930. panel1.ResumeLayout(false);
  931. tableLayoutPanel2.ResumeLayout(false);
  932. panel7.ResumeLayout(false);
  933. panel7.PerformLayout();
  934. panel8.ResumeLayout(false);
  935. panel8.PerformLayout();
  936. panel9.ResumeLayout(false);
  937. panel9.PerformLayout();
  938. panel10.ResumeLayout(false);
  939. panel10.PerformLayout();
  940. panel11.ResumeLayout(false);
  941. panel11.PerformLayout();
  942. ResumeLayout(false);
  943. }
  944. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement