Esempio n. 1
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            string reason = inputReason.Text;
            string osn    = inputOsn.Text;



            Documents.CreateLeaveOrder(
                DateTime.Now, DateTime.Now, DateTime.Now,
                personalNumber, fullName, department, position, reason, osn
                );

            panelMenu.OpenChildForm(new FormStaff(panelMenu, database));
            database.removeUser(personalNumber, fullName);
        }