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