Esempio n. 1
0
 private void unapprovedOpenDrugProfile(object sender, RoutedEventArgs e)
 {
     if (dataGridAlternativeDrug.SelectedItem != null)
     {
         var openPage = new DrugProfilePage((DrugView)dataGridAlternativeDrug.SelectedItem);
         Drugframe.Navigate(openPage);
     }
 }
Esempio n. 2
0
        private void Row_MouseDoubleClick_Drugs(object sender, MouseButtonEventArgs e)
        {
            var data = (DataGrid)sender;

            var openPage = new DrugProfilePage((DrugView)data.SelectedValue);

            Drugframe.Navigate(openPage);
        }
Esempio n. 3
0
        private void graph_Click(object sender, RoutedEventArgs e)
        {
            var openPage = new DrugChartPage();

            Drugframe.Navigate(openPage);
        }
Esempio n. 4
0
        private void addDrug_Click(object sender, RoutedEventArgs e)
        {
            var openPage = new AddDrug();

            Drugframe.Navigate(openPage);
        }