Esempio n. 1
0
 // handle the click of this button
 private void _button_Click(object sender, EventArgs e)
 {
     if (ExpectSlotSave)
     {
         SaveCamera( );
         SlotSaved?.Invoke(this, new EventArgs( ));
     }
     else
     {
         SwitchCamera( );
     }
 }
Esempio n. 2
0
 // Handle slot is saved by one
 private void slot_SlotSaved(object sender, EventArgs e)
 {
     CancelSlotSave( );
     SlotSaved?.Invoke(this, new EventArgs( )); // let the user know
 }