Esempio n. 1
0
        private void ButtonPayroll_Click(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrEmpty(selectedEmployeeId))
            {
                MessageBox.Show("Please select employee");
            }
            else
            {
                PayrollSelectDateDialog psdd = new PayrollSelectDateDialog(selectedEmployeeId);
                psdd.ShowDialog();

                //PayrollUI payrollui = new PayrollUI(selectedEmployeeId);
                //EmployeeManagement.mEmpTransitioner.Items.Add(payrollui);
                //EmployeeManagement.mEmpTransitioner.SelectedIndex = 1;

                GetAllEmployees();
            }
        }
Esempio n. 2
0
        private void ButtonTK_Click(object sender, RoutedEventArgs e)
        {
            PayrollSelectDateDialog tkDialog = new PayrollSelectDateDialog();

            tkDialog.ShowDialog();
        }