public static string ShowBox(string txtMessage) { newMB = new MyCMB(); newMB.lblMessage.Text = txtMessage; newMB.ShowDialog(); return(Button_id); }
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); }