示例#1
0
        private void AddSubscriptionClick(object sender, RoutedEventArgs e)
        {
            var newSubscriptionWindow = new NewSubscriptionWindow(ViewModel)
            {
                Owner = this
            };

            newSubscriptionWindow.ShowDialog();
        }
示例#2
0
        private void EditSubscription(object sender, RoutedEventArgs e)
        {
            var newSubscriptionWindow = new NewSubscriptionWindow((LogSubscription)lstSubscriptions.SelectedItem)
            {
                Owner = this
            };

            newSubscriptionWindow.ShowDialog();
        }
 private void EditSubscription(object sender, RoutedEventArgs e)
 {
     var newSubscriptionWindow = new NewSubscriptionWindow((LogSubscription)lstSubscriptions.SelectedItem) { Owner = this };
     newSubscriptionWindow.ShowDialog();
 }
 private void AddSubscriptionClick(object sender, RoutedEventArgs e)
 {
     var newSubscriptionWindow = new NewSubscriptionWindow(ViewModel) { Owner = this };
     newSubscriptionWindow.ShowDialog();
 }