private void BtnCrear1_Click(object sender, EventArgs e) { FrmCrear = new FrmCrearLaCuenta(1, Convert.ToInt32(CbNivel1.SelectedValue), Convert.ToInt32(CbNivel2.SelectedValue), Convert.ToInt32(CbNivel1.SelectedValue)); FrmCrear.ShowDialog(); RefreshCb(1); }
private void BtnCrear2_Click(object sender, EventArgs e) { if (Convert.ToInt32(CbNivel1.SelectedValue) == 0) { return; } FrmCrear = new FrmCrearLaCuenta(2, Convert.ToInt32(CbNivel1.SelectedValue), Convert.ToInt32(CbNivel2.SelectedValue), Convert.ToInt32(CbNivel2.SelectedValue)); FrmCrear.ShowDialog(); RefreshCb(2); }