Exemplo n.º 1
0
 public ErrorDialog(INeedsErrorHandlingMessage message)
 {
     this.InitializeComponent();
     this.Message = message;
     this.ErrorText = message.Exception.Message;
     this.TranslateUiContent();
 }
Exemplo n.º 2
0
 public ErrorView(FrameworkElement parent, INeedsErrorHandlingMessage message)
     : this()
 {
     this.Message = message;
     this.MyParent = parent;
     this.LogError();
     this.ShowMessage();
     base.Focus();
 }
Exemplo n.º 3
0
 private void ShowErrorView(INeedsErrorHandlingMessage nehMessage)
 {
     ErrorView view = new ErrorView(this, nehMessage);
     Grid.SetRowSpan(view, 4);
     this.LayoutRoot.Children.Add(view);
 }