コード例 #1
0
        private void button_Info_Click(object sender, RoutedEventArgs e)
        {
            InfoAndNotificationsWindow infoAndNotificationsWindow = new InfoAndNotificationsWindow(patron, this);

            infoAndNotificationsWindow.Owner = this;
            infoAndNotificationsWindow.Show();
        }
コード例 #2
0
 public ProveNotificationWindow(Patron patron, InfoAndNotificationsWindow infoAndNotificationsWindow, Notification notification)
 {
     InitializeComponent();
     this.patron       = patron;
     this.notification = notification;
     this.InfoAndNotificationsWindow = infoAndNotificationsWindow;
 }