public static void ShowMessage(string msgHeader, string msgContext, Public_MessageBox msgBox, MessageBoxButtons msgButtons) { frmMessage f = new frmMessage(); f.ShowMessage(msgHeader, msgContext, msgBox, msgButtons); f.ShowDialog(); }
public static DialogResult ShowQuestion(string msgHeader, string msgContext, Public_MessageBox msgBox, MessageBoxButtons msgButtons) { frmMessage f = new frmMessage(); f.ShowMessage(msgHeader, msgContext, msgBox, msgButtons); f.ShowDialog(); return f.ReturnDialogResult; }
public static void ShowInformation(string message,string title) { frmMessage f = new frmMessage(); f.ShowInformation(message, title); f.ShowDialog(); }
public static void ShowError(string message, string title) { frmMessage f = new frmMessage(); f.ShowError(message, title); f.ShowDialog(); }