private void bntCadClassificacao_Click(object sender, EventArgs e) { using (FrmStatus frm = new FrmStatus()) { frm.ShowDialog(); } }
private void btnStatus_Click(object sender, EventArgs e) { using (FrmStatus frm = new FrmStatus()) { frm.ShowDialog(); int CodSelec = Convert.ToInt32(cbStatus.SelectedValue); GetDropStatus(); GetDropStatus2(); cbStatus.SelectedValue = CodSelec; } }