Skip to content

Commit

Permalink
Handle submit event on the AddSubscription window
Browse files Browse the repository at this point in the history
  • Loading branch information
igstan committed Oct 24, 2010
1 parent 7530ca6 commit f9309ca
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Nemira/AddSubscription.xaml.cs
Expand Up @@ -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.