private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         Controller.barcode.BarcodeReadType.BarcodeType = Controller.barcode.BarcodeType.READ_SUBSCRIBER;
         Controller.barcode.BarcodeReader r = new Controller.barcode.BarcodeReader();
         r.Open();
         r.ToggleTriger();
     }
     catch (Exception ex)
     {
         Logger.Logger.Log(ex);
         MessageBox.Show(ex.Message);
     }
 }
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         if (!Controller.Shared.TestMode)
         {
             Controller.barcode.BarcodeReadType.BarcodeType = Controller.barcode.BarcodeType.READ_REGULAR_USER_TICKET;
             Controller.barcode.BarcodeReader r = new Controller.barcode.BarcodeReader();
             r.Open();
             r.ToggleTriger();
         }
         else
         {
             Controller.ChargeRegularUserController.StartCheckOut("ZG-1235-ST");
         }
     }
     catch (Exception ex)
     {
         Logger.Logger.Log(ex);
         MessageBox.Show(ex.Message);
     }
 }
 private void button3_Click(object sender, EventArgs e)
 {
     try
     {
         if (!Controller.Shared.TestMode)
         {
             Controller.barcode.BarcodeReadType.BarcodeType = Controller.barcode.BarcodeType.READ_SUBSCRIBER_TICKET;
             Controller.barcode.BarcodeReader r = new Controller.barcode.BarcodeReader();
             r.Open();
             r.ToggleTriger();
         }
         else
         {
             Controller.ChargeSubscriberController.CheckOut("ZG-1234-ET");
         }
     }
     catch (Exception ex)
     {
         Logger.Logger.Log(ex);
         MessageBox.Show(ex.Message);
     }
 }