private void btnOverallEvalutaion_Click(object sender, RoutedEventArgs e)
        {
            sisFacultyEvaluationPerFaculty y = new sisFacultyEvaluationPerFaculty();

            y.PerID = PerID;
            y.FacID = FacID;
            y.ShowDialog();
        }
Example #2
0
        private void viewEvalOver_Click(object sender, RoutedEventArgs e)
        {
            var x = ((SisFacultyList)dgSisFaculty.SelectedItem);

            using (var db = new LetranIntegratedSystemEntities())
            {
                sisFacultyEvaluationPerFaculty y = new sisFacultyEvaluationPerFaculty();
                y.PerID = Convert.ToInt32(cbPeriod.SelectedValue);
                y.FacID = db.Faculties.Single(m => m.EmpNo == x.EmployeeNo).FacultyID;
                y.ShowDialog();
            }
        }