详细代码

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace POS机C井例子代码
{
 /// <summary>
 /// Form1 的摘要说明。
 /// </summary>
 public class Form1 : System.Windows.Forms.Form
 {
  private System.Windows.Forms.Button button1;
  private System.Windows.Forms.Button button2;
  private System.Windows.Forms.GroupBox groupBox1;
  private System.Windows.Forms.Label label1;
  private System.Windows.Forms.Label label2;
  private System.Windows.Forms.Label label3;
  private System.Windows.Forms.Label label4;
  private System.Windows.Forms.Label label5;
  private System.Windows.Forms.Label label6;
  private System.Windows.Forms.Label label7;
  private System.Windows.Forms.Label label8;
  private System.Windows.Forms.TextBox textBox1;
  private System.Windows.Forms.TextBox textBox2;
  private System.Windows.Forms.TextBox textBox3;
  private System.Windows.Forms.TextBox textBox4;
  private System.Windows.Forms.TextBox textBox5;
  private System.Windows.Forms.TextBox textBox6;
  private System.Windows.Forms.Label label9;
  private System.Windows.Forms.Label label10;
  private System.Windows.Forms.Label label11;
  private System.Windows.Forms.TextBox textBox7;
  private System.Windows.Forms.TextBox textBox8;
  private System.Windows.Forms.TextBox textBox9;
  private System.Windows.Forms.TextBox textBox10;
  private System.Windows.Forms.TextBox textBox11;
  private System.Windows.Forms.TextBox textBox12;
  private System.Windows.Forms.TextBox textBox13;
  private System.Windows.Forms.Label label12;
  private System.Windows.Forms.Label label13;
  private System.Windows.Forms.Label label14;
  private System.Windows.Forms.Label label15;
  private System.Windows.Forms.Label label16;
  private System.Windows.Forms.Label label17;
  private System.Windows.Forms.Label label18;
  private System.Windows.Forms.Label label19;
  private System.Windows.Forms.Label label20;
  private System.Windows.Forms.Label label21;
  private System.Windows.Forms.Label label22;
  private System.Windows.Forms.TextBox textBox14;
  private System.Windows.Forms.TextBox textBox15;
  private System.Windows.Forms.TextBox textBox17;
  private System.Windows.Forms.TextBox textBox18;
  private System.Windows.Forms.Button button3;
  private System.Windows.Forms.Button button4;
  private System.Windows.Forms.Button button5;
  private System.Windows.Forms.Button button6;
  private System.Windows.Forms.Button button7;
  private System.Windows.Forms.Button button8;
  private System.Windows.Forms.Button button9;
  private System.Windows.Forms.GroupBox groupBox2;
  private System.Windows.Forms.Label label23;
  private System.Windows.Forms.Label label24;
  private System.Windows.Forms.Label label25;
  private System.Windows.Forms.Label label26;
  private System.Windows.Forms.Button button10;
  public  System.Windows.Forms.TextBox textBox16;
  private System.Windows.Forms.TextBox textBox19;
  private System.Windows.Forms.ComboBox comboBox1;
  private System.Windows.Forms.Button button11;
  private System.Windows.Forms.Button button12;
  private System.Windows.Forms.CheckBox checkBox1;
  private System.Windows.Forms.CheckBox checkBox2;
  private System.Windows.Forms.CheckBox checkBox3;
  private System.Windows.Forms.CheckBox checkBox4;
  private System.Windows.Forms.TextBox textBox20;
  private System.Windows.Forms.Label label27;
  private System.Windows.Forms.TextBox textBox21;
  private System.Windows.Forms.Label label28;
  private System.Windows.Forms.TextBox textBox22;
  private System.Windows.Forms.Label label29;
  private System.Windows.Forms.TextBox textBox23;
  private System.Windows.Forms.TextBox textBox24;
  private System.Windows.Forms.Label label30;
  private System.Windows.Forms.Button button13;
  private System.Windows.Forms.Button button14;
  private System.Windows.Forms.Label label31;
  private System.Windows.Forms.TextBox textBox25;
  private System.Windows.Forms.Button button15;
  private System.Windows.Forms.Button button16;
  private System.Windows.Forms.Button button17;
  private System.Windows.Forms.Label label32;
  private System.Windows.Forms.ComboBox comboBox2;
  private System.Windows.Forms.Label label33;
  private System.Windows.Forms.TextBox textBox26;
  private System.Windows.Forms.Button button18;
  private System.Windows.Forms.Button button19;
  private System.Windows.Forms.TextBox textBox27;
  private System.Windows.Forms.TextBox textBox28;
  private System.Windows.Forms.Button button20;
  private System.Windows.Forms.Label label34;
  private System.Windows.Forms.Button button21;
  private System.Windows.Forms.ListView listView1;
  private System.Windows.Forms.Label label35;
  private System.Windows.Forms.Label label36;
  private System.Windows.Forms.Label label37;
  private System.Windows.Forms.Label label38;
  private System.Windows.Forms.Label label39;
  private System.Windows.Forms.Label label40;
  private System.Windows.Forms.TextBox textBox29;
  private System.Windows.Forms.TextBox textBox30;
  private System.Windows.Forms.TextBox textBox31;
  private System.Windows.Forms.TextBox textBox32;
  private System.Windows.Forms.TextBox textBox33;
  private System.Windows.Forms.TextBox textBox34;
  private System.Windows.Forms.TextBox textBox35;
  private System.Windows.Forms.TextBox textBox36;
  private System.Windows.Forms.TextBox textBox37;
  private System.Windows.Forms.TextBox textBox38;
  private System.Windows.Forms.Button button22;
  private System.Windows.Forms.Button button23;
  private System.Windows.Forms.CheckBox checkBox5;
  private System.Windows.Forms.CheckBox checkBox6;
  private System.Windows.Forms.CheckBox checkBox7;
  private System.Windows.Forms.CheckBox checkBox8;
  private System.Windows.Forms.ColumnHeader columnHeader1;
  private System.Windows.Forms.ColumnHeader columnHeader2;
  private System.Windows.Forms.ColumnHeader columnHeader3;
  private System.Windows.Forms.ColumnHeader columnHeader4;
  private System.Windows.Forms.ColumnHeader columnHeader5;
  private System.Windows.Forms.ColumnHeader columnHeader6;
  private System.Windows.Forms.ColumnHeader columnHeader7;
  public  AxPOS01Lib.AxPOS01 axPOS011;

  /// <summary>
  /// 必需的设计器变量。
  /// </summary>
  private System.ComponentModel.Container components = null;

  public Form1()
  {
   //
   // Windows 窗体设计器支持所必需的
   //
   InitializeComponent();

   //
   // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
   //
  }

  /// <summary>
  /// 清理所有正在使用的资源。
  /// </summary>
  protected override void Dispose( bool disposing )
  {
   if( disposing )
   {
    if (components != null)
    {
     components.Dispose();
    }
   }
   base.Dispose( disposing );
  }

  #region Windows 窗体设计器生成的代码
  /// <summary>
  /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  /// 此方法的内容。
  /// </summary>
  private void InitializeComponent()
  {
   System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
   this.button1 = new System.Windows.Forms.Button();
   this.button2 = new System.Windows.Forms.Button();
   this.groupBox1 = new System.Windows.Forms.GroupBox();
   this.button9 = new System.Windows.Forms.Button();
   this.button8 = new System.Windows.Forms.Button();
   this.button7 = new System.Windows.Forms.Button();
   this.button6 = new System.Windows.Forms.Button();
   this.button5 = new System.Windows.Forms.Button();
   this.button4 = new System.Windows.Forms.Button();
   this.button3 = new System.Windows.Forms.Button();
   this.textBox18 = new System.Windows.Forms.TextBox();
   this.textBox17 = new System.Windows.Forms.TextBox();
   this.textBox15 = new System.Windows.Forms.TextBox();
   this.textBox14 = new System.Windows.Forms.TextBox();
   this.label22 = new System.Windows.Forms.Label();
   this.label21 = new System.Windows.Forms.Label();
   this.label20 = new System.Windows.Forms.Label();
   this.label19 = new System.Windows.Forms.Label();
   this.label18 = new System.Windows.Forms.Label();
   this.label17 = new System.Windows.Forms.Label();
   this.label16 = new System.Windows.Forms.Label();
   this.label15 = new System.Windows.Forms.Label();
   this.label14 = new System.Windows.Forms.Label();
   this.label13 = new System.Windows.Forms.Label();
   this.label12 = new System.Windows.Forms.Label();
   this.textBox13 = new System.Windows.Forms.TextBox();
   this.textBox12 = new System.Windows.Forms.TextBox();
   this.textBox11 = new System.Windows.Forms.TextBox();
   this.textBox10 = new System.Windows.Forms.TextBox();
   this.textBox9 = new System.Windows.Forms.TextBox();
   this.textBox8 = new System.Windows.Forms.TextBox();
   this.textBox7 = new System.Windows.Forms.TextBox();
   this.label11 = new System.Windows.Forms.Label();
   this.label10 = new System.Windows.Forms.Label();
   this.label9 = new System.Windows.Forms.Label();
   this.textBox6 = new System.Windows.Forms.TextBox();
   this.textBox5 = new System.Windows.Forms.TextBox();
   this.textBox4 = new System.Windows.Forms.TextBox();
   this.textBox3 = new System.Windows.Forms.TextBox();
   this.textBox2 = new System.Windows.Forms.TextBox();
   this.textBox1 = new System.Windows.Forms.TextBox();
   this.label8 = new System.Windows.Forms.Label();
   this.label7 = new System.Windows.Forms.Label();
   this.label6 = new System.Windows.Forms.Label();
   this.label5 = new System.Windows.Forms.Label();
   this.label4 = new System.Windows.Forms.Label();
   this.label3 = new System.Windows.Forms.Label();
   this.label2 = new System.Windows.Forms.Label();
   this.label1 = new System.Windows.Forms.Label();
   this.groupBox2 = new System.Windows.Forms.GroupBox();
   this.checkBox8 = new System.Windows.Forms.CheckBox();
   this.checkBox7 = new System.Windows.Forms.CheckBox();
   this.checkBox6 = new System.Windows.Forms.CheckBox();
   this.checkBox5 = new System.Windows.Forms.CheckBox();
   this.button23 = new System.Windows.Forms.Button();
   this.button22 = new System.Windows.Forms.Button();
   this.textBox38 = new System.Windows.Forms.TextBox();
   this.textBox37 = new System.Windows.Forms.TextBox();
   this.textBox36 = new System.Windows.Forms.TextBox();
   this.textBox35 = new System.Windows.Forms.TextBox();
   this.textBox34 = new System.Windows.Forms.TextBox();
   this.textBox33 = new System.Windows.Forms.TextBox();
   this.textBox32 = new System.Windows.Forms.TextBox();
   this.textBox31 = new System.Windows.Forms.TextBox();
   this.textBox30 = new System.Windows.Forms.TextBox();
   this.textBox29 = new System.Windows.Forms.TextBox();
   this.label40 = new System.Windows.Forms.Label();
   this.label39 = new System.Windows.Forms.Label();
   this.label38 = new System.Windows.Forms.Label();
   this.label37 = new System.Windows.Forms.Label();
   this.label36 = new System.Windows.Forms.Label();
   this.label35 = new System.Windows.Forms.Label();
   this.listView1 = new System.Windows.Forms.ListView();
   this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
   this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
   this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
   this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
   this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
   this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
   this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
   this.button21 = new System.Windows.Forms.Button();
   this.label34 = new System.Windows.Forms.Label();
   this.button20 = new System.Windows.Forms.Button();
   this.textBox28 = new System.Windows.Forms.TextBox();
   this.textBox27 = new System.Windows.Forms.TextBox();
   this.button19 = new System.Windows.Forms.Button();
   this.button18 = new System.Windows.Forms.Button();
   this.textBox26 = new System.Windows.Forms.TextBox();
   this.label33 = new System.Windows.Forms.Label();
   this.comboBox2 = new System.Windows.Forms.ComboBox();
   this.label32 = new System.Windows.Forms.Label();
   this.button17 = new System.Windows.Forms.Button();
   this.button16 = new System.Windows.Forms.Button();
   this.button15 = new System.Windows.Forms.Button();
   this.textBox25 = new System.Windows.Forms.TextBox();
   this.label31 = new System.Windows.Forms.Label();
   this.button14 = new System.Windows.Forms.Button();
   this.button13 = new System.Windows.Forms.Button();
   this.label30 = new System.Windows.Forms.Label();
   this.textBox24 = new System.Windows.Forms.TextBox();
   this.textBox23 = new System.Windows.Forms.TextBox();
   this.label29 = new System.Windows.Forms.Label();
   this.textBox22 = new System.Windows.Forms.TextBox();
   this.label28 = new System.Windows.Forms.Label();
   this.textBox21 = new System.Windows.Forms.TextBox();
   this.label27 = new System.Windows.Forms.Label();
   this.textBox20 = new System.Windows.Forms.TextBox();
   this.checkBox4 = new System.Windows.Forms.CheckBox();
   this.checkBox3 = new System.Windows.Forms.CheckBox();
   this.checkBox2 = new System.Windows.Forms.CheckBox();
   this.checkBox1 = new System.Windows.Forms.CheckBox();
   this.button12 = new System.Windows.Forms.Button();
   this.button11 = new System.Windows.Forms.Button();
   this.comboBox1 = new System.Windows.Forms.ComboBox();
   this.textBox19 = new System.Windows.Forms.TextBox();
   this.textBox16 = new System.Windows.Forms.TextBox();
   this.button10 = new System.Windows.Forms.Button();
   this.label26 = new System.Windows.Forms.Label();
   this.label25 = new System.Windows.Forms.Label();
   this.label24 = new System.Windows.Forms.Label();
   this.label23 = new System.Windows.Forms.Label();
   this.axPOS011 = new AxPOS01Lib.AxPOS01();
   this.groupBox1.SuspendLayout();
   this.groupBox2.SuspendLayout();
   ((System.ComponentModel.ISupportInitialize)(this.axPOS011)).BeginInit();
   this.SuspendLayout();
   //
   // button1
   //
   this.button1.Location = new System.Drawing.Point(48, 160);
   this.button1.Name = "button1";
   this.button1.Size = new System.Drawing.Size(104, 32);
   this.button1.TabIndex = 1;
   this.button1.Text = "POSPcbBeep";
   this.button1.Click += new System.EventHandler(this.button1_Click);
   //
   // button2
   //
   this.button2.Location = new System.Drawing.Point(184, 160);
   this.button2.Name = "button2";
   this.button2.Size = new System.Drawing.Size(112, 32);
   this.button2.TabIndex = 2;
   this.button2.Text = "POSCardRead";
   this.button2.Click += new System.EventHandler(this.button2_Click);
   //
   // groupBox1
   //
   this.groupBox1.Controls.Add(this.button9);
   this.groupBox1.Controls.Add(this.button8);
   this.groupBox1.Controls.Add(this.button7);
   this.groupBox1.Controls.Add(this.button6);
   this.groupBox1.Controls.Add(this.button5);
   this.groupBox1.Controls.Add(this.button4);
   this.groupBox1.Controls.Add(this.button3);
   this.groupBox1.Controls.Add(this.textBox18);
   this.groupBox1.Controls.Add(this.textBox17);
   this.groupBox1.Controls.Add(this.textBox15);
   this.groupBox1.Controls.Add(this.textBox14);
   this.groupBox1.Controls.Add(this.label22);
   this.groupBox1.Controls.Add(this.label21);
   this.groupBox1.Controls.Add(this.label20);
   this.groupBox1.Controls.Add(this.label19);
   this.groupBox1.Controls.Add(this.label18);
   this.groupBox1.Controls.Add(this.label17);
   this.groupBox1.Controls.Add(this.label16);
   this.groupBox1.Controls.Add(this.label15);
   this.groupBox1.Controls.Add(this.label14);
   this.groupBox1.Controls.Add(this.label13);
   this.groupBox1.Controls.Add(this.label12);
   this.groupBox1.Controls.Add(this.textBox13);
   this.groupBox1.Controls.Add(this.textBox12);
   this.groupBox1.Controls.Add(this.textBox11);
   this.groupBox1.Controls.Add(this.textBox10);
   this.groupBox1.Controls.Add(this.textBox9);
   this.groupBox1.Controls.Add(this.textBox8);
   this.groupBox1.Controls.Add(this.textBox7);
   this.groupBox1.Controls.Add(this.label11);
   this.groupBox1.Controls.Add(this.label10);
   this.groupBox1.Controls.Add(this.label9);
   this.groupBox1.Controls.Add(this.textBox6);
   this.groupBox1.Controls.Add(this.textBox5);
   this.groupBox1.Controls.Add(this.textBox4);
   this.groupBox1.Controls.Add(this.textBox3);
   this.groupBox1.Controls.Add(this.textBox2);
   this.groupBox1.Controls.Add(this.textBox1);
   this.groupBox1.Controls.Add(this.label8);
   this.groupBox1.Controls.Add(this.label7);
   this.groupBox1.Controls.Add(this.label6);
   this.groupBox1.Controls.Add(this.label5);
   this.groupBox1.Controls.Add(this.label4);
   this.groupBox1.Controls.Add(this.label3);
   this.groupBox1.Controls.Add(this.label2);
   this.groupBox1.Controls.Add(this.label1);
   this.groupBox1.Controls.Add(this.button2);
   this.groupBox1.Controls.Add(this.button1);
   this.groupBox1.Location = new System.Drawing.Point(16, 16);
   this.groupBox1.Name = "groupBox1";
   this.groupBox1.Size = new System.Drawing.Size(1032, 264);
   this.groupBox1.TabIndex = 3;
   this.groupBox1.TabStop = false;
   this.groupBox1.Text = "IC卡操作管理";
   //
   // button9
   //
   this.button9.Location = new System.Drawing.Point(656, 216);
   this.button9.Name = "button9";
   this.button9.Size = new System.Drawing.Size(328, 32);
   this.button9.TabIndex = 49;
   this.button9.Text = "清空消费卡";
   this.button9.Click += new System.EventHandler(this.button9_Click);
   //
   // button8
   //
   this.button8.Location = new System.Drawing.Point(656, 168);
   this.button8.Name = "button8";
   this.button8.Size = new System.Drawing.Size(328, 32);
   this.button8.TabIndex = 48;
   this.button8.Text = "出厂卡初始化成消费卡";
   this.button8.Click += new System.EventHandler(this.button8_Click);
   //
   // button7
   //
   this.button7.Location = new System.Drawing.Point(656, 80);
   this.button7.Name = "button7";
   this.button7.Size = new System.Drawing.Size(328, 32);
   this.button7.TabIndex = 47;
   this.button7.Text = "清空密码卡";
   this.button7.Click += new System.EventHandler(this.button7_Click);
   //
   // button6
   //
   this.button6.Location = new System.Drawing.Point(656, 32);
   this.button6.Name = "button6";
   this.button6.Size = new System.Drawing.Size(328, 32);
   this.button6.TabIndex = 46;
   this.button6.Text = "制作密码卡,用于刷卡更改批定POS机的消费卡区号密码";
   this.button6.Click += new System.EventHandler(this.button6_Click);
   //
   // button5
   //
   this.button5.Location = new System.Drawing.Point(496, 216);
   this.button5.Name = "button5";
   this.button5.Size = new System.Drawing.Size(80, 32);
   this.button5.TabIndex = 45;
   this.button5.Text = "POS退费";
   this.button5.Click += new System.EventHandler(this.button5_Click);
   //
   // button4
   //
   this.button4.Location = new System.Drawing.Point(184, 216);
   this.button4.Name = "button4";
   this.button4.Size = new System.Drawing.Size(80, 32);
   this.button4.TabIndex = 44;
   this.button4.Text = "POS充值";
   this.button4.Click += new System.EventHandler(this.button4_Click);
   //
   // button3
   //
   this.button3.Location = new System.Drawing.Point(328, 160);
   this.button3.Name = "button3";
   this.button3.Size = new System.Drawing.Size(104, 32);
   this.button3.TabIndex = 43;
   this.button3.Text = "POSCardWrite";
   this.button3.Click += new System.EventHandler(this.button3_Click);
   //
   // textBox18
   //
   this.textBox18.Location = new System.Drawing.Point(64, 224);
   this.textBox18.Name = "textBox18";
   this.textBox18.Size = new System.Drawing.Size(64, 21);
   this.textBox18.TabIndex = 42;
   this.textBox18.Text = "0";
   //
   // textBox17
   //
   this.textBox17.Location = new System.Drawing.Point(368, 224);
   this.textBox17.Name = "textBox17";
   this.textBox17.Size = new System.Drawing.Size(64, 21);
   this.textBox17.TabIndex = 41;
   this.textBox17.Text = "0";
   //
   // textBox15
   //
   this.textBox15.Location = new System.Drawing.Point(568, 120);
   this.textBox15.Name = "textBox15";
   this.textBox15.Size = new System.Drawing.Size(64, 21);
   this.textBox15.TabIndex = 39;
   this.textBox15.Text = "0";
   //
   // textBox14
   //
   this.textBox14.Location = new System.Drawing.Point(528, 96);
   this.textBox14.Name = "textBox14";
   this.textBox14.Size = new System.Drawing.Size(80, 21);
   this.textBox14.TabIndex = 38;
   this.textBox14.Text = "0";
   //
   // label22
   //
   this.label22.Location = new System.Drawing.Point(328, 224);
   this.label22.Name = "label22";
   this.label22.Size = new System.Drawing.Size(40, 23);
   this.label22.TabIndex = 37;
   this.label22.Text = "退费";
   //
   // label21
   //
   this.label21.Location = new System.Drawing.Point(448, 224);
   this.label21.Name = "label21";
   this.label21.TabIndex = 36;
   this.label21.Text = "分钱";
   //
   // label20
   //
   this.label20.Location = new System.Drawing.Point(136, 224);
   this.label20.Name = "label20";
   this.label20.Size = new System.Drawing.Size(48, 23);
   this.label20.TabIndex = 35;
   this.label20.Text = "分钱";
   //
   // label19
   //
   this.label19.Location = new System.Drawing.Point(416, 128);
   this.label19.Name = "label19";
   this.label19.Size = new System.Drawing.Size(144, 23);
   this.label19.TabIndex = 34;
   this.label19.Text = "当餐超过需按密码的金额";
   //
   // label18
   //
   this.label18.Location = new System.Drawing.Point(416, 104);
   this.label18.Name = "label18";
   this.label18.Size = new System.Drawing.Size(104, 23);
   this.label18.TabIndex = 33;
   this.label18.Text = "当餐累计消费次数";
   //
   // label17
   //
   this.label17.Location = new System.Drawing.Point(16, 224);
   this.label17.Name = "label17";
   this.label17.Size = new System.Drawing.Size(64, 23);
   this.label17.TabIndex = 32;
   this.label17.Text = "充值";
   //
   // label16
   //
   this.label16.Location = new System.Drawing.Point(376, 128);
   this.label16.Name = "label16";
   this.label16.Size = new System.Drawing.Size(40, 23);
   this.label16.TabIndex = 31;
   this.label16.Text = "分钱";
   //
   // label15
   //
   this.label15.Location = new System.Drawing.Point(448, 72);
   this.label15.Name = "label15";
   this.label15.Size = new System.Drawing.Size(72, 23);
   this.label15.TabIndex = 30;
   this.label15.Text = "日,餐次:";
   //
   // label14
   //
   this.label14.Location = new System.Drawing.Point(376, 104);
   this.label14.Name = "label14";
   this.label14.Size = new System.Drawing.Size(40, 23);
   this.label14.TabIndex = 29;
   this.label14.Text = "分钱";
   //
   // label13
   //
   this.label13.Location = new System.Drawing.Point(328, 72);
   this.label13.Name = "label13";
   this.label13.Size = new System.Drawing.Size(24, 23);
   this.label13.TabIndex = 28;
   this.label13.Text = "年";
   //
   // label12
   //
   this.label12.Location = new System.Drawing.Point(384, 72);
   this.label12.Name = "label12";
   this.label12.Size = new System.Drawing.Size(24, 23);
   this.label12.TabIndex = 27;
   this.label12.Text = "月";
   //
   // textBox13
   //
   this.textBox13.Location = new System.Drawing.Point(288, 120);
   this.textBox13.Name = "textBox13";
   this.textBox13.Size = new System.Drawing.Size(88, 21);
   this.textBox13.TabIndex = 26;
   this.textBox13.Text = "0";
   //
   // textBox12
   //
   this.textBox12.Location = new System.Drawing.Point(288, 96);
   this.textBox12.Name = "textBox12";
   this.textBox12.Size = new System.Drawing.Size(88, 21);
   this.textBox12.TabIndex = 25;
   this.textBox12.Text = "0";
   //
   // textBox11
   //
   this.textBox11.Location = new System.Drawing.Point(528, 72);
   this.textBox11.Name = "textBox11";
   this.textBox11.Size = new System.Drawing.Size(64, 21);
   this.textBox11.TabIndex = 24;
   this.textBox11.Text = "0";
   //
   // textBox10
   //
   this.textBox10.Location = new System.Drawing.Point(408, 72);
   this.textBox10.Name = "textBox10";
   this.textBox10.Size = new System.Drawing.Size(40, 21);
   this.textBox10.TabIndex = 23;
   this.textBox10.Text = "00";
   //
   // textBox9
   //
   this.textBox9.Location = new System.Drawing.Point(352, 72);
   this.textBox9.Name = "textBox9";
   this.textBox9.Size = new System.Drawing.Size(40, 21);
   this.textBox9.TabIndex = 22;
   this.textBox9.Text = "00";
   //
   // textBox8
   //
   this.textBox8.Location = new System.Drawing.Point(288, 72);
   this.textBox8.Name = "textBox8";
   this.textBox8.Size = new System.Drawing.Size(40, 21);
   this.textBox8.TabIndex = 21;
   this.textBox8.Text = "00";
   //
   // textBox7
   //
   this.textBox7.Location = new System.Drawing.Point(288, 48);
   this.textBox7.Name = "textBox7";
   this.textBox7.Size = new System.Drawing.Size(72, 21);
   this.textBox7.TabIndex = 20;
   this.textBox7.Text = "0";
   //
   // label11
   //
   this.label11.Location = new System.Drawing.Point(360, 48);
   this.label11.Name = "label11";
   this.label11.Size = new System.Drawing.Size(56, 23);
   this.label11.TabIndex = 19;
   this.label11.Text = "分钱";
   //
   // label10
   //
   this.label10.Location = new System.Drawing.Point(176, 128);
   this.label10.Name = "label10";
   this.label10.Size = new System.Drawing.Size(112, 23);
   this.label10.TabIndex = 18;
   this.label10.Text = "当天累计消费金额";
   //
   // label9
   //
   this.label9.Location = new System.Drawing.Point(176, 96);
   this.label9.Name = "label9";
   this.label9.Size = new System.Drawing.Size(112, 23);
   this.label9.TabIndex = 17;
   this.label9.Text = "当餐累计消费金额";
   //
   // textBox6
   //
   this.textBox6.Location = new System.Drawing.Point(288, 24);
   this.textBox6.Name = "textBox6";
   this.textBox6.Size = new System.Drawing.Size(72, 21);
   this.textBox6.TabIndex = 16;
   this.textBox6.Text = "张三";
   //
   // textBox5
   //
   this.textBox5.Location = new System.Drawing.Point(88, 120);
   this.textBox5.Name = "textBox5";
   this.textBox5.Size = new System.Drawing.Size(72, 21);
   this.textBox5.TabIndex = 15;
   this.textBox5.Text = "0";
   //
   // textBox4
   //
   this.textBox4.Location = new System.Drawing.Point(88, 96);
   this.textBox4.Name = "textBox4";
   this.textBox4.Size = new System.Drawing.Size(72, 21);
   this.textBox4.TabIndex = 14;
   this.textBox4.Text = "0";
   //
   // textBox3
   //
   this.textBox3.Location = new System.Drawing.Point(88, 72);
   this.textBox3.Name = "textBox3";
   this.textBox3.Size = new System.Drawing.Size(72, 21);
   this.textBox3.TabIndex = 13;
   this.textBox3.Text = "00001";
   //
   // textBox2
   //
   this.textBox2.Location = new System.Drawing.Point(88, 48);
   this.textBox2.Name = "textBox2";
   this.textBox2.Size = new System.Drawing.Size(72, 21);
   this.textBox2.TabIndex = 12;
   this.textBox2.Text = "01";
   //
   // textBox1
   //
   this.textBox1.Location = new System.Drawing.Point(88, 24);
   this.textBox1.Name = "textBox1";
   this.textBox1.Size = new System.Drawing.Size(72, 21);
   this.textBox1.TabIndex = 11;
   this.textBox1.Text = "01";
   //
   // label8
   //
   this.label8.Location = new System.Drawing.Point(184, 72);
   this.label8.Name = "label8";
   this.label8.TabIndex = 10;
   this.label8.Text = "最后消费餐次";
   //
   // label7
   //
   this.label7.Location = new System.Drawing.Point(184, 48);
   this.label7.Name = "label7";
   this.label7.TabIndex = 9;
   this.label7.Text = "卡 金 额";
   //
   // label6
   //
   this.label6.Location = new System.Drawing.Point(184, 24);
   this.label6.Name = "label6";
   this.label6.TabIndex = 8;
   this.label6.Text = "持卡人姓名";
   //
   // label5
   //
   this.label5.Location = new System.Drawing.Point(8, 128);
   this.label5.Name = "label5";
   this.label5.Size = new System.Drawing.Size(72, 23);
   this.label5.TabIndex = 7;
   this.label5.Text = "持卡人密码";
   //
   // label4
   //
   this.label4.Location = new System.Drawing.Point(8, 96);
   this.label4.Name = "label4";
   this.label4.Size = new System.Drawing.Size(56, 23);
   this.label4.TabIndex = 6;
   this.label4.Text = "充值次数";
   //
   // label3
   //
   this.label3.Location = new System.Drawing.Point(8, 72);
   this.label3.Name = "label3";
   this.label3.Size = new System.Drawing.Size(56, 23);
   this.label3.TabIndex = 5;
   this.label3.Text = "自编卡号";
   //
   // label2
   //
   this.label2.Location = new System.Drawing.Point(8, 48);
   this.label2.Name = "label2";
   this.label2.Size = new System.Drawing.Size(56, 23);
   this.label2.TabIndex = 4;
   this.label2.Text = "卡 类 别";
   //
   // label1
   //
   this.label1.Location = new System.Drawing.Point(8, 24);
   this.label1.Name = "label1";
   this.label1.Size = new System.Drawing.Size(56, 23);
   this.label1.TabIndex = 3;
   this.label1.Text = "单位代码";
   //
   // groupBox2
   //
   this.groupBox2.BackColor = System.Drawing.SystemColors.ActiveBorder;
   this.groupBox2.Controls.Add(this.checkBox8);
   this.groupBox2.Controls.Add(this.checkBox7);
   this.groupBox2.Controls.Add(this.checkBox6);
   this.groupBox2.Controls.Add(this.checkBox5);
   this.groupBox2.Controls.Add(this.button23);
   this.groupBox2.Controls.Add(this.button22);
   this.groupBox2.Controls.Add(this.textBox38);
   this.groupBox2.Controls.Add(this.textBox37);
   this.groupBox2.Controls.Add(this.textBox36);
   this.groupBox2.Controls.Add(this.textBox35);
   this.groupBox2.Controls.Add(this.textBox34);
   this.groupBox2.Controls.Add(this.textBox33);
   this.groupBox2.Controls.Add(this.textBox32);
   this.groupBox2.Controls.Add(this.textBox31);
   this.groupBox2.Controls.Add(this.textBox30);
   this.groupBox2.Controls.Add(this.textBox29);
   this.groupBox2.Controls.Add(this.label40);
   this.groupBox2.Controls.Add(this.label39);
   this.groupBox2.Controls.Add(this.label38);
   this.groupBox2.Controls.Add(this.label37);
   this.groupBox2.Controls.Add(this.label36);
   this.groupBox2.Controls.Add(this.label35);
   this.groupBox2.Controls.Add(this.listView1);
   this.groupBox2.Controls.Add(this.button21);
   this.groupBox2.Controls.Add(this.label34);
   this.groupBox2.Controls.Add(this.button20);
   this.groupBox2.Controls.Add(this.textBox28);
   this.groupBox2.Controls.Add(this.textBox27);
   this.groupBox2.Controls.Add(this.button19);
   this.groupBox2.Controls.Add(this.button18);
   this.groupBox2.Controls.Add(this.textBox26);
   this.groupBox2.Controls.Add(this.label33);
   this.groupBox2.Controls.Add(this.comboBox2);
   this.groupBox2.Controls.Add(this.label32);
   this.groupBox2.Controls.Add(this.button17);
   this.groupBox2.Controls.Add(this.button16);
   this.groupBox2.Controls.Add(this.button15);
   this.groupBox2.Controls.Add(this.textBox25);
   this.groupBox2.Controls.Add(this.label31);
   this.groupBox2.Controls.Add(this.button14);
   this.groupBox2.Controls.Add(this.button13);
   this.groupBox2.Controls.Add(this.label30);
   this.groupBox2.Controls.Add(this.textBox24);
   this.groupBox2.Controls.Add(this.textBox23);
   this.groupBox2.Controls.Add(this.label29);
   this.groupBox2.Controls.Add(this.textBox22);
   this.groupBox2.Controls.Add(this.label28);
   this.groupBox2.Controls.Add(this.textBox21);
   this.groupBox2.Controls.Add(this.label27);
   this.groupBox2.Controls.Add(this.textBox20);
   this.groupBox2.Controls.Add(this.checkBox4);
   this.groupBox2.Controls.Add(this.checkBox3);
   this.groupBox2.Controls.Add(this.checkBox2);
   this.groupBox2.Controls.Add(this.checkBox1);
   this.groupBox2.Controls.Add(this.button12);
   this.groupBox2.Controls.Add(this.button11);
   this.groupBox2.Controls.Add(this.comboBox1);
   this.groupBox2.Controls.Add(this.textBox19);
   this.groupBox2.Controls.Add(this.textBox16);
   this.groupBox2.Controls.Add(this.button10);
   this.groupBox2.Controls.Add(this.label26);
   this.groupBox2.Controls.Add(this.label25);
   this.groupBox2.Controls.Add(this.label24);
   this.groupBox2.Controls.Add(this.label23);
   this.groupBox2.Location = new System.Drawing.Point(16, 288);
   this.groupBox2.Name = "groupBox2";
   this.groupBox2.Size = new System.Drawing.Size(1032, 424);
   this.groupBox2.TabIndex = 4;
   this.groupBox2.TabStop = false;
   this.groupBox2.Text = "通讯操作";
   //
   // checkBox8
   //
   this.checkBox8.Location = new System.Drawing.Point(504, 272);
   this.checkBox8.Name = "checkBox8";
   this.checkBox8.Size = new System.Drawing.Size(112, 24);
   this.checkBox8.TabIndex = 65;
   this.checkBox8.Text = "远程电脑IP地址";
   //
   // checkBox7
   //
   this.checkBox7.Location = new System.Drawing.Point(368, 272);
   this.checkBox7.Name = "checkBox7";
   this.checkBox7.Size = new System.Drawing.Size(48, 24);
   this.checkBox7.TabIndex = 64;
   this.checkBox7.Text = "端口";
   //
   // checkBox6
   //
   this.checkBox6.Location = new System.Drawing.Point(216, 272);
   this.checkBox6.Name = "checkBox6";
   this.checkBox6.Size = new System.Drawing.Size(48, 24);
   this.checkBox6.TabIndex = 63;
   this.checkBox6.Text = "网关";
   //
   // checkBox5
   //
   this.checkBox5.Location = new System.Drawing.Point(16, 272);
   this.checkBox5.Name = "checkBox5";
   this.checkBox5.Size = new System.Drawing.Size(80, 24);
   this.checkBox5.TabIndex = 62;
   this.checkBox5.Text = "子网掩码";
   //
   // button23
   //
   this.button23.Location = new System.Drawing.Point(768, 272);
   this.button23.Name = "button23";
   this.button23.Size = new System.Drawing.Size(216, 23);
   this.button23.TabIndex = 61;
   this.button23.Text = "批量更改所有联网模块的部分参数";
   this.button23.Click += new System.EventHandler(this.button23_Click);
   //
   // button22
   //
   this.button22.Location = new System.Drawing.Point(904, 240);
   this.button22.Name = "button22";
   this.button22.Size = new System.Drawing.Size(80, 23);
   this.button22.TabIndex = 60;
   this.button22.Text = "更改模块参数";
   this.button22.Click += new System.EventHandler(this.button22_Click);
   //
   // textBox38
   //
   this.textBox38.Location = new System.Drawing.Point(624, 272);
   this.textBox38.Name = "textBox38";
   this.textBox38.TabIndex = 59;
   this.textBox38.Text = "255.255.255.255";
   //
   // textBox37
   //
   this.textBox37.Location = new System.Drawing.Point(416, 272);
   this.textBox37.Name = "textBox37";
   this.textBox37.Size = new System.Drawing.Size(80, 21);
   this.textBox37.TabIndex = 58;
   this.textBox37.Text = "39190";
   //
   // textBox36
   //
   this.textBox36.Location = new System.Drawing.Point(264, 272);
   this.textBox36.Name = "textBox36";
   this.textBox36.TabIndex = 57;
   this.textBox36.Text = "192.168.1.1";
   //
   // textBox35
   //
   this.textBox35.Location = new System.Drawing.Point(112, 272);
   this.textBox35.Name = "textBox35";
   this.textBox35.TabIndex = 56;
   this.textBox35.Text = "255.255.255.0";
   //
   // textBox34
   //
   this.textBox34.Location = new System.Drawing.Point(600, 240);
   this.textBox34.Name = "textBox34";
   this.textBox34.TabIndex = 55;
   this.textBox34.Text = "255.255.255.255";
   //
   // textBox33
   //
   this.textBox33.Location = new System.Drawing.Point(784, 240);
   this.textBox33.Name = "textBox33";
   this.textBox33.Size = new System.Drawing.Size(80, 21);
   this.textBox33.TabIndex = 54;
   this.textBox33.Text = "0000000000";
   //
   // textBox32