Example #1
0
 private void Startup()
 {
     try
     {
         FrTagMain form = new FrTagMain();
         if (rb1.Checked)
         {
             RfidConfig._rfidModel = RFIDModule.F6C;
         }
         else if (rb2.Checked)
         {
             RfidConfig._rfidModel = RFIDModule.F6B;
         }
         else if (rb3.Checked)
         {
             RfidConfig._rfidModel = RFIDModule.F6C_F6B;
         }
         
         if (form != null)
         {
             Hide();
             form.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
     this.Close();
 }
Example #2
0
        private void btok_Click(object sender, EventArgs e)
        {
            RFIDModule();
            FrTagMain frtag = new FrTagMain();

            frtag.ShowDialog();
            Close();
        }
Example #3
0
        private void button2_Click_1(object sender, EventArgs e)
        {
            FrTagMain frtag = new FrTagMain(1);

            frtag.ShowDialog();
        }