Beispiel #1
0
        private void LeaveModifyButton_Click(object sender, RoutedEventArgs e)
        {
            EmployeeLeaveRequestPage employeeLeaveRequestPage = new EmployeeLeaveRequestPage();

            employeeLeaveRequestPage.Show();
            employeeLeaveRequestPage.Delete_Leave.Visibility    = Visibility.Hidden;
            employeeLeaveRequestPage.LeaveRequestbtn.Visibility = Visibility.Hidden;
        }
Beispiel #2
0
        private void LeaveRequestButton_Click(object sender, RoutedEventArgs e)
        {
            EmployeeLeaveRequestPage employeeLeaveRequestPage = new EmployeeLeaveRequestPage();

            employeeLeaveRequestPage.Show();
            employeeLeaveRequestPage.txtLeaveId.Visibility        = Visibility.Hidden;
            employeeLeaveRequestPage.lblLeaveId.Visibility        = Visibility.Hidden;
            employeeLeaveRequestPage.LeaveUpdate.Visibility       = Visibility.Hidden;
            employeeLeaveRequestPage.txtLeaveId_Search.Visibility = Visibility.Hidden;
            employeeLeaveRequestPage.Search_Leave.Visibility      = Visibility.Hidden;
            employeeLeaveRequestPage.Delete_Leave.Visibility      = Visibility.Hidden;
        }