예제 #1
0
        private void Row_MouseDoubleClick_Lekari(object sender, MouseButtonEventArgs e)
        {
            var data = (DataGrid)sender;

            var openPage = new DoctorProfilePage((DoctorView)data.SelectedValue);

            Doctorframe.Navigate(openPage);
        }
예제 #2
0
        private void Row_MouseDoubleClick_Sekretari(object sender, MouseButtonEventArgs e)
        {
            var data = (DataGrid)sender;

            var openPage = new SecretaryProfilePage((EmployeeView)data.SelectedValue);

            Doctorframe.Navigate(openPage);
        }
예제 #3
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     if (dataGrid.SelectedItem != null)
     {
         var openPage = new DoctorProfilePage((DoctorView)dataGrid.SelectedItem);
         Doctorframe.Navigate(openPage);
     }
 }
예제 #4
0
 private void button2_Click(object sender, RoutedEventArgs e)
 {
     if (dataGrid2.SelectedItem != null)
     {
         var openPage = new SecretaryProfilePage((EmployeeView)dataGrid2.SelectedItem);
         Doctorframe.Navigate(openPage);
     }
 }
예제 #5
0
 public void NavigateEmptyPage()
 {
     var  openPage = new Page();
     bool v        = Doctorframe.Navigate(openPage);
 }
예제 #6
0
 private void reportButton_Click(object sender, RoutedEventArgs e)
 {
     Doctorframe.Navigate(new DoctorReportPage());
 }
예제 #7
0
        private void addDoctor_Click(object sender, RoutedEventArgs e)
        {
            var openPage = new AddDoctorPage((int)EmployeeView.countId);

            Doctorframe.Navigate(openPage);
        }