Esempio n. 1
0
        private void BT_MG_SELECT_Click(object sender, EventArgs e)
        {
            if (sender.Equals(BT_MG1_SELECT))
            {
                unitCodeBoatMGSelect = UnitCodeBoatMGSelect.MG1;
            }
            if (sender.Equals(BT_MG2_SELECT))
            {
                unitCodeBoatMGSelect = UnitCodeBoatMGSelect.MG2;
            }
            if (sender.Equals(BT_MG3_SELECT))
            {
                unitCodeBoatMGSelect = UnitCodeBoatMGSelect.MG3;
            }

            if (sender.Equals(BT_Slot_Start))
            {
                unitCodeSlotSelect = UnitCodeSlotSelect.START;
            }
            if (sender.Equals(BT_Slot_End))
            {
                unitCodeSlotSelect = UnitCodeSlotSelect.END;
            }

            refresh();
        }
Esempio n. 2
0
        private void CenterRight_Unloader_Load(object sender, EventArgs e)
        {
            unitCodeSlotSelect = UnitCodeSlotSelect.START;

            refresh();
        }