private void ListViewItem_Selected_2(object sender, RoutedEventArgs e)
        {
            var drug_report = new DrugConsumptionReport();

            drug_report.Show();
            this.Close();
        }
Beispiel #2
0
 public DrugReportAddDrug(DrugConsumptionReport drugConsumptionReport)
 {
     InitializeComponent();
     this.DataContext = this;
     drugConsumption  = drugConsumptionReport;
     LoadDrugs();
 }
 public DrugReportPrint(DrugConsumptionReport drugConsumptionReport)
 {
     InitializeComponent();
     drugConsumption = drugConsumptionReport;
     LoadDrugs();
     SetDate();
 }