public GestionEtiqueta() { InitializeComponent(); setup(); bllIdioma = new BLLIdioma(); bllLeyenda = new BLLLeyenda(); }
private void Lenguaje_Load(object sender, EventArgs e) { BLLIdioma bllIdioma = new BLLIdioma(); listBox1.DataSource = bllIdioma.conseguirIdiomas(); listBox1.SelectedIndex = -1; flagCargando = false; }
private void conseguirLeyendas() { BLLIdioma bllIdioma = new BLLIdioma(); foreach (Control control in this.Controls) { bllIdioma.conseguirLeyenda(control); } }
public Lenguaje() { InitializeComponent(); bllIdioma = new BLLIdioma(); this.FormBorderStyle = FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.StartPosition = FormStartPosition.CenterScreen; }
public void setup() { bllIdioma = new BLLIdioma(); bllIdioma.Attach(this); this.conseguirLeyendas(); this.FormBorderStyle = FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.StartPosition = FormStartPosition.CenterScreen; }
private void GestionIdioma_Load(object sender, EventArgs e) { try { idiomaBLL = new BLLIdioma(); dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; dataGridView1.MultiSelect = false; dataGridView1.ReadOnly = true; actualizarGrilla(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }