Beispiel #1
0
 void client_ExceptionThrown(object sender, SCommon.ExceptionEventArgs e)
 {
     error        = new SError(e.Exception.Message);
     error.Width  = cw.getCanvas().Width * 0.44;
     error.Height = cw.getCanvas().Height * 0.3;
     error.Show();
 }
Beispiel #2
0
 void client_ExceptionThrown(object sender, SCommon.ExceptionEventArgs e)
 {
     cw.getPanel().Content = new D2Error(e.Exception.Message);
 }