private void btPDV_Click(object sender, EventArgs e) { if (pdv == null) { pdv = new formPDV(); pdv.Show(); pdv.FormClosed += new FormClosedEventHandler(fecharPDV); } }
private void fecharPDV(object sender, EventArgs e) { pdv = null; }