private void Button_Click(object sender, RoutedEventArgs e) { MedicineDetailsInfoWindow cd2 = new MedicineDetailsInfoWindow(medName); cd2.ShowDialog(); }
private void lblMedicine_MouseDown(object sender, MouseButtonEventArgs e) { MedicineDetailsInfoWindow medicineDetailsInfoWind = new MedicineDetailsInfoWindow(medName); medicineDetailsInfoWind.ShowDialog(); }