Browse files

Handle submit event on the AddSubscription window

  • Loading branch information...
1 parent 7530ca6 commit f9309ca59b234a35368ff752b6aa3d1646f01ad7 @igstan committed Oct 24, 2010
Showing with 13 additions and 0 deletions.
  1. +13 −0 Nemira/AddSubscription.xaml.cs
View
13 Nemira/AddSubscription.xaml.cs
@@ -25,5 +25,18 @@ void OnLoaded(object sender, RoutedEventArgs e)
{
feedUrl.Text = Clipboard.GetText();
}
+
+ private void OnSubmit(object sender, RoutedEventArgs e)
+ {
+ this.DialogResult = true;
+ }
+
+ public string FeedUrl
+ {
+ get
+ {
+ return feedUrl.Text;
+ }
+ }
}
}

0 comments on commit f9309ca

Please sign in to comment.