using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Inet.Viewer.WinForms.Prompt { /// /// A dialog which is shown when there are validation errors for a parameter. The user /// can choose whether he wants to correct or to discards his changes. /// public partial class ValidationFailureDialog : Form { /// /// Create the dialog. /// public ValidationFailureDialog(string errMsg) { InitializeComponent(); if (errMsg != null) { label1.Text = errMsg; } } } }