private void startLectures()
        {
            mForm m = new mForm();

            m.Show();
            this.Close();
        }
示例#2
0
 public CommandManager(mForm f)
 {
     if ((sensor = CommandLib.CreateSensorInstance(
              CommandLib.ME_SENSOR.SENSOR_ILD1302)) == 0)
     {
         MessageBox.Show("No se puede crear la instancia del objeto",
                         "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         Application.Exit();
     }
     this.f = f;
 }