Exemple #1
0
 void InvokeEventOnRequireMenuUpdate(object sender, EventArgs args)
 {
     try
     {
         OnRequireMenuUpdate?.Invoke(this, EventArgs.Empty);
     }
     catch { }
 }
Exemple #2
0
 void InvokeEventOnRequireMenuUpdateIgnoreError()
 {
     try
     {
         OnRequireMenuUpdate?.Invoke(this, EventArgs.Empty);
     }
     catch
     {
         // do not hurt me.
     }
 }
Exemple #3
0
 void InvokeEventOnRequireMenuUpdate()
 {
     OnRequireMenuUpdate?.Invoke(this, EventArgs.Empty);
 }