Beispiel #1
0
 public frmTrainer()
 {
     InitializeComponent();
     //tcLBA2Inner.TabPages.Remove(tpLBA2Debug);
     memRoutines = new Mem();
     scan(memRoutines.DetectLBAVersion());
     SetDoubleBuffered(tcLBAVersion);
     tsi = new oTimerSetItems(oTimerSetItems.LBAVersion.One);
     tgi = new oTimerGetItems();
 }
        private void LBA2WizardGPS_Start_Click(object sender, EventArgs e)
        {
            if (null == tgi)
            {
                tgi = new oTimerGetItems();
            }

            //If doesn't exist add else remove
            if (!tgi.Contains(LBA2_WIZARD_POSITION))
            {
                tgi.AddItem(LBA2WizardGPS_updateWizardPos, new Item(LBA2_WIZARD_POSITION, 1));
            }
            else
            {
                tgi.RemoveIfExists(LBA2_WIZARD_POSITION);
            }
        }