private void btn_save_Click(object sender, EventArgs e) { if (formHelper.inputCheck(groupBox1)) { SetValue(); ProductLogic pLogic = new ProductLogic(); if (pLogic.FrmPoeductUpdate(Product)) { this.DialogResult = DialogResult.OK; this.Close(); } } }