Exemple #1
0
        private void add_Click(object sender, EventArgs e)
        {
            AddEmployes add = new AddEmployes();

            add.ShowDialog();
            sqlQuery sql = new sqlQuery();

            sql.getEmployes(listEmployes);
        }
Exemple #2
0
        private void delete_Click(object sender, EventArgs e)
        {
            DeleteEmployes del = new DeleteEmployes();

            del.ShowDialog();
            sqlQuery sql = new sqlQuery();

            sql.getEmployes(listEmployes);
        }
Exemple #3
0
        public Menu()
        {
            InitializeComponent();
            TimeSpan time = dataFinish.Value - dataStart.Value;

            SumDay.Text = time.Days.ToString();
            sqlQuery sql = new sqlQuery();

            sql.getEmployes(listEmployes);
            average();
        }