private void Edit_Click(object sender, RoutedEventArgs e) { var id = ((Button)sender).Tag.ToString(); PayrollEmployee payroll = new PayrollEmployee(); payroll.Show(); payroll.LoadPayroll(id); Close(); }
private void PayrollEmployeeButton_Click(object sender, RoutedEventArgs e) { view.PayrollEmployee payrollEmployee = new view.PayrollEmployee(); payrollEmployee.Show(); }