public static string showInputDlg(string infomessage, IWin32Window owner) { inputForm dlg = new inputForm(infomessage); dlg.ShowDialog(owner); if (dlg.accepted) { return dlg.message; } else { return null; } }
public static string showInputDlg(string infomessage, IWin32Window owner) { inputForm dlg = new inputForm(infomessage); dlg.ShowDialog(owner); if (dlg.accepted) { return(dlg.message); } else { return(null); } }