public static DialogResult Show(bool bStartup,IWin32Window owner, ltext xltext, string caption, MessageBoxButtons buttons, object oIcon, MessageBoxDefaultButton defaultButton) { Form_Box dlg = new Form_Box(owner, xltext, caption, buttons, oIcon, defaultButton); if (bStartup) { dlg.TopMost = true; } else { checkTopMost(owner, dlg); } return dlg.ShowDialog(); }
public static DialogResult Show(IWin32Window owner,bool bStartup,ltext xltext) { Form_Box dlg = new Form_Box(owner,xltext); if (bStartup) { dlg.TopMost = true; } else { checkTopMost(owner, dlg); } return dlg.ShowDialog(); }
public static DialogResult ShowTopMost(IWin32Window owner, ltext xltext, string caption, MessageBoxButtons buttons, object oIcon, MessageBoxDefaultButton defaultButton) { Form_Box dlg = new Form_Box(owner, xltext, caption, buttons, oIcon, defaultButton); dlg.TopMost = true; return dlg.ShowDialog(); }
public static DialogResult Show(IWin32Window owner, ltext xltext,string stext, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) { Form_Box dlg = new Form_Box(owner, xltext, stext, caption, buttons, icon, defaultButton); checkTopMost(owner, dlg); return dlg.ShowDialog(); }