Example #1
0
        private void Lenguaje_Load(object sender, EventArgs e)
        {
            BLLIdioma bllIdioma = new BLLIdioma();

            listBox1.DataSource    = bllIdioma.conseguirIdiomas();
            listBox1.SelectedIndex = -1;
            flagCargando           = false;
        }
Example #2
0
 private void GestionEtiqueta_Load(object sender, EventArgs e)
 {
     try
     {
         comboBox1.DataSource = bllIdioma.conseguirIdiomas();
         dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
         dataGridView1.SelectionMode       = DataGridViewSelectionMode.FullRowSelect;
         dataGridView1.MultiSelect         = false;
         dataGridView1.ReadOnly            = true;
         dataGridView2.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
         dataGridView2.SelectionMode       = DataGridViewSelectionMode.FullRowSelect;
         dataGridView2.MultiSelect         = false;
         recargarEtiquetas();
     }catch (Exception ex)
     {
         MessageBox.Show(NuSmartMessage.formatearMensaje(ex.Message));
     }
 }
Example #3
0
 private void actualizarGrilla()
 {
     dataGridView1.DataSource = idiomaBLL.conseguirIdiomas();
 }