private void BtnCancel_Click(object sender, EventArgs e) { frmMessageBoxCancel frm = new frmMessageBoxCancel(); if (frm.ShowDialog() == DialogResult.OK) { reiniciar(); } }
private void BtnCancel_Click(object sender, EventArgs e) { frmMessageBoxCancel frm = new frmMessageBoxCancel(); if (frm.ShowDialog() == DialogResult.OK) { if (flag == 1) { reiniciar(); btnDataG.Enabled = false; } } }
private void BtnCancel_Click(object sender, EventArgs e) { frmMessageBoxCancel frm = new frmMessageBoxCancel(); if (frm.ShowDialog() == DialogResult.OK) { if (flag == true) { reiniciar(); if (operation == true) { btnModify.Enabled = true; } } else { reiniciar2(); } } }