public SetSecretForm(HiddenMain frm) { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); // // TODO: Add constructor code after the InitializeComponent() call. // this._mainForm = frm; this._mainForm.SetDialogRs(DialogResult.Cancel); }