public static DialogResult Show(string Text, string Caption, string btnOK, string btnCancel) { MsgBox = new Dialogue(); MsgBox.label1.Text = Text; MsgBox.bunifuFlatButton1.Text = btnOK; MsgBox.bunifuFlatButton2.Text = btnCancel; result = DialogResult.No; MsgBox.ShowDialog(); return(result); }