예제 #1
0
        private void PrintPayroll(object sender, RoutedEventArgs e)
        {
            int payrollPK = (int)((Button)sender).Tag;
            PayrollPrintView payrollPrintView = new PayrollPrintView(payrollPK);

            payrollPrintView.Show();
        }
예제 #2
0
        private void Row_DoubleClick(object sender, MouseButtonEventArgs e)
        {
            var xx = (Payroll)PayrollGrid.SelectedItem;
            //MessageBox.Show(xx.StartPayroll + " ");
            PayrollPrintView payrollPrintView = new PayrollPrintView(xx.PayrollPK);

            payrollPrintView.Show();
        }