예제 #1
0
        private void BtnEdit_Click(object sender, EventArgs e)
        {
            buttonsClear();

            //add
            //edit = true;
            loadingList();
            loadingListOfEmployees();
            buttonOff();
            AddEmployee ae = new AddEmployee(true, choosen.file);

            ae.ShowDialog();
            //loadingList();
            //refresh();
            //buttonOff();
            //Employee em = new Employee();
            //em.ID;
            //em.name;
            //em.surename;
            //em.address;
            //em.postCode;
            //em.salary;
            //em.number;
            //em.email;
            //em.manager;
            //em.dateOFBirth;
        }
예제 #2
0
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            buttonsClear();

            AddEmployee add = new AddEmployee(false, "");

            add.ShowDialog();
            loadingList();
            loadingListOfEmployees();
            buttonOff();
        }