Example #1
0
 // Wrap event invocations inside a protected virtual method
 // to allow derived classes to override the event invocation behavior
 protected virtual void RaiseOnNRICFailedEvent(NRICEventArgs e)
 {
     OnNRICFailed?.Invoke(this, e);
 }
Example #2
0
File: Main.cs Project: tuga1975/SSK
 private void JSCallCS_OnNRICFailed(object sender, NRICEventArgs e)
 {
     //MessageBox.Show(e.Message, "Authentication failed", MessageBoxButtons.OK, MessageBoxIcon.Error);
     //LayerWeb.ShowMessage("Authentication failed", e.Message);
     CSCallJS.ShowMessage(LayerWeb, "Authentication Failed", e.Message);
 }