NAPS2.WinForms.DialogHelper.ShowErrorWithDetails C# (CSharp) Method

ShowErrorWithDetails() public method

public ShowErrorWithDetails ( string errorMesage, string details ) : void
errorMesage string
details string
return void
        public void ShowErrorWithDetails(string errorMesage, string details)
        {
            var form = formFactory.Create<FError>();
            form.ErrorMessage = errorMesage;
            form.Details = details;
            form.ShowDialog();
        }

Usage Example

示例#1
0
 public void DisplayError(string errorMessage, string details)
 {
     Invoker.Current.SafeInvoke(() => dialogHelper.ShowErrorWithDetails(errorMessage, details));
 }
All Usage Examples Of NAPS2.WinForms.DialogHelper::ShowErrorWithDetails