private void Button6_Click(object sender, EventArgs e) { setButtonsColors(button6); SQL_tramites tra = new SQL_tramites(); tra.ActualizarProgreso(nom, "100%"); progreso = tra.ConsultarProgreso(nom); label4.Text = progreso; ConsultarPasos(progreso); tabControl1.SelectedIndex = 5; entregaPasaporte1.getCUI(noCui, noTramite); }
private void Button3_Click(object sender, EventArgs e) { setButtonsColors(button3); SQL_tramites tra = new SQL_tramites(); tra.ActualizarProgreso(nom, "40%"); progreso = tra.ConsultarProgreso(nom); label4.Text = progreso; ConsultarPasos(progreso); tabControl1.SelectedIndex = 2; button4.Enabled = true; }
private void Button2_Click(object sender, EventArgs e) { setButtonsColors(button2); tabControl1.SelectedIndex = 1; SQL_tramites tra = new SQL_tramites(); tra.ActualizarProgreso(nom, "20%"); progreso = tra.ConsultarProgreso(nom); label4.Text = progreso; ConsultarPasos(progreso); recepcion1.ObtenerCui(noCui); recepcion1.ObtenerTramite(noTramite); button3.Enabled = true; }
private void Button4_Click(object sender, EventArgs e) { SQL_Citas cita = new SQL_Citas(); if (cita.ConsultarCita(noCui) != "0") { button7.Enabled = false; lblCita.Text = cita.ConsultarCita(noCui); } button8.Enabled = true; setButtonsColors(button4); SQL_tramites tra = new SQL_tramites(); tra.ActualizarProgreso(nom, "60%"); progreso = tra.ConsultarProgreso(nom); label4.Text = progreso; ConsultarPasos(progreso); tabControl1.SelectedIndex = 3; button5.Enabled = true; }
private void Button5_Click(object sender, EventArgs e) { SQL_Requisitos requisitos = new SQL_Requisitos(); // ENTREVISTA if (requisitos.ConsultarEntrevista(nom) == "SI") { pictureBox12.BackgroundImage = global::migracion_2020.Properties.Resources.correct; } else { pictureBox12.BackgroundImage = global::migracion_2020.Properties.Resources.no_completo; } // FOTO if (requisitos.ConsultarPasaporte(noCui) == "SI") { pictureBox13.BackgroundImage = global::migracion_2020.Properties.Resources.correct; } else { pictureBox13.BackgroundImage = global::migracion_2020.Properties.Resources.no_completo; } //ORDEN if (requisitos.ConsultarOrdendeImpresion(noCui) == "SI") { pictureBox14.BackgroundImage = global::migracion_2020.Properties.Resources.correct; } else { pictureBox14.BackgroundImage = global::migracion_2020.Properties.Resources.no_completo; } setButtonsColors(button5); SQL_tramites tra = new SQL_tramites(); tra.ActualizarProgreso(nom, "80%"); progreso = tra.ConsultarProgreso(nom); label4.Text = progreso; ConsultarPasos(progreso); tabControl1.SelectedIndex = 4; button6.Enabled = true; }