示例#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);
 }
示例#2
0
文件: Main.cs 项目: 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);
 }