private void BtnCancel_Click(object sender, EventArgs e)
        {
            frmMessageBoxCancel frm = new frmMessageBoxCancel();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                reiniciar();
            }
        }
Esempio n. 2
0
        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();
                }
            }
        }