private void btnSair_Click(object sender, EventArgs e) { if (grCampos.ConfirmaSair()) { Close(); } }
private void btnSair_Click(object sender, EventArgs e) { GerenciarCampos grCampos = new GerenciarCampos(); if (grCampos.ConfirmaSair()) { Close(); } }
private void sairToolStripMenuItem_Click(object sender, EventArgs e) { GerenciarCampos grCampos = new GerenciarCampos(); if (grCampos.ConfirmaSair()) { Close(); } }