private void button_Info_Click(object sender, RoutedEventArgs e) { InfoAndNotificationsWindow infoAndNotificationsWindow = new InfoAndNotificationsWindow(patron, this); infoAndNotificationsWindow.Owner = this; infoAndNotificationsWindow.Show(); }
public ProveNotificationWindow(Patron patron, InfoAndNotificationsWindow infoAndNotificationsWindow, Notification notification) { InitializeComponent(); this.patron = patron; this.notification = notification; this.InfoAndNotificationsWindow = infoAndNotificationsWindow; }