Esempio n. 1
0
 void TriggerQuitEvent(object sender, ButtonEventArgs e)
 {
     if (QuitEvent != null)
     {
         QuitEvent.Invoke(this, EventArgs.Empty);
     }
 }
Esempio n. 2
0
 internal void OnQuit()
 {
     QuitEvent?.Invoke();
     Dispose();
 }
Esempio n. 3
0
 protected virtual void OnQuit(RemoteServer server)
 {
     QuitEvent?.Invoke(server, EventArgs.Empty);
 }
Esempio n. 4
0
 public static void PublishQuitEvent()
 {
     QuitEvent?.Invoke();
     Instance.EmitSignal(nameof(Quit));
 }
Esempio n. 5
0
 public void OnQuit(EventArgs e)
 {
     QuitEvent?.Invoke(this, e);
 }
Esempio n. 6
0
 protected virtual void RaiseQuitEvent(TokenEventArgs e)
 {
     QuitEvent?.Invoke(this, e);
 }
 public static void FireQuitEvent()
 {
     QuitEvent?.Invoke(null, null);
 }
Esempio n. 8
0
 private void OnApplicationQuit()
 {
     QuitEvent.Invoke();
 }