Пример #1
0
 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();
 }
Пример #2
0
 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();
 }
Пример #3
0
 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();
 }
Пример #4
0
 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();
 }