Esempio n. 1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            GestionarSector gs             = new GestionarSector();
            Sector          selectedSector = SectorManager.obtener(int.Parse((cmbSectores.SelectedItem as ComboboxItem).Value.ToString()));

            if (selectedSector == null)
            {
                return;
            }

            gs.selectedSector = selectedSector;
            gs.Show();
        }
Esempio n. 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            GestionarSector gs = new GestionarSector();

            gs.Show();
        }