private void Button5_Click(object sender, EventArgs e) { SQL_Requisitos requisitos = new SQL_Requisitos(); if (requisitos.ConsultarEntrevista(nom) == "SI") { pictureBox12.BackgroundImage = global::migracion_2020.Properties.Resources.correct; } else { pictureBox12.BackgroundImage = global::migracion_2020.Properties.Resources.no_completo; } setButtonsColors(button5); tabControl1.SelectedIndex = 4; }
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; }