Exemple #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);
 }
Exemple #2
0
 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);
 }