Ejemplo n.º 1
0
 private void AddClient_Load(object sender, EventArgs e)
 {
     txtIdProduct.Focus();
     fillCbx(cbxStore, storeLogic.returnIdStore());
     this.Top  = (Screen.PrimaryScreen.WorkingArea.Height - this.Height) / 2;
     this.Left = (Screen.PrimaryScreen.WorkingArea.Width - this.Width) / 2;
 }
Ejemplo n.º 2
0
        private void HomeProduct_Load(object sender, EventArgs e)
        {
            cbxStore.Text        = "Escoge una tienda";
            cbxMunicipality.Text = "Escoge una municipio";
            cbxDepartament.Text  = "Escoge un departamento";

            fillCbx(cbxStore, storeLogic.returnIdStore());
            fillCbx(cbxMunicipality, municipalityLogic.getListMunicipality());
            fillCbx(cbxDepartament, departamentLogic.getListDepartaments());

            this.Top  = (Screen.PrimaryScreen.WorkingArea.Height - this.Height) / 2;
            this.Left = (Screen.PrimaryScreen.WorkingArea.Width - this.Width) / 2;
        }