Example #1
0
 public GestionEtiqueta()
 {
     InitializeComponent();
     setup();
     bllIdioma  = new BLLIdioma();
     bllLeyenda = new BLLLeyenda();
 }
Example #2
0
        private void Lenguaje_Load(object sender, EventArgs e)
        {
            BLLIdioma bllIdioma = new BLLIdioma();

            listBox1.DataSource    = bllIdioma.conseguirIdiomas();
            listBox1.SelectedIndex = -1;
            flagCargando           = false;
        }
Example #3
0
        private void conseguirLeyendas()
        {
            BLLIdioma bllIdioma = new BLLIdioma();

            foreach (Control control in this.Controls)
            {
                bllIdioma.conseguirLeyenda(control);
            }
        }
Example #4
0
 public Lenguaje()
 {
     InitializeComponent();
     bllIdioma            = new BLLIdioma();
     this.FormBorderStyle = FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.StartPosition   = FormStartPosition.CenterScreen;
 }
Example #5
0
 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;
 }
Example #6
0
 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);
     }
 }