Esempio n. 1
0
 void _HostRunner_PNDataError(object sender, PNDataErrorEventArgs e)
 {
     PNStatic.LogException(e.Exception);
 }
Esempio n. 2
0
 private void WCFClient_PNDataError(object sender, PNDataErrorEventArgs e)
 {
     PNStatic.LogException(e.Exception, false);
     var baloon = new Baloon(BaloonMode.Error)
     {
         BaloonText = PNLang.Instance.GetMessageText("send_error_1",
             "An error occurred during note(s) sending.") + "\n" +
             PNLang.Instance.GetMessageText("send_error_2",
             "Please, refer to log file for details.")
     };
     ntfPN.ShowCustomBalloon(baloon, PopupAnimation.Slide, 10000);
 }