示例#1
0
 public static string ShowBox(string txtMessage)
 {
     newMB = new MyCMB();
     newMB.lblMessage.Text = txtMessage;
     newMB.ShowDialog();
     return(Button_id);
 }
示例#2
0
 public static string ShowBox(string txtMessage, string txtTitle, int delay)
 {
     disposeFormTimer      = delay;
     newMB                 = new MyCMB();
     newMB.lblTitle.Text   = txtTitle;
     newMB.lblMessage.Text = txtMessage;
     newMB.ShowDialog();
     return(Button_id);
 }