Example #1
0
        private void ButtonPrint(object sender, RoutedEventArgs e)
        {
            int buttonId = (int)((Button)sender).Tag;
            //MessageBox.Show(xx.StartPayroll + " ");
            EmployeePrintView employeePrint = new EmployeePrintView(buttonId);

            employeePrint.Show();
        }
Example #2
0
        private void Row_DoubleClick(object sender, MouseButtonEventArgs e)
        {
            var xx = (Employee)EmployeeGrid.SelectedItem;
            //MessageBox.Show(xx.StartPayroll + " ");
            EmployeePrintView employeePrint = new EmployeePrintView(xx.EmployeePK);

            employeePrint.Show();
        }