public void ExecuteCancelCommand(object parameter)
        {
            FeedEditorWindow window = parameter as FeedEditorWindow;

            CurrentFeedInApplication = null;
            window.Close();
        }
        public void ExecuteSaveCommand(object parameter)
        {
            FeedEditorWindow window = parameter as FeedEditorWindow;

            if (CurrentFeedInApplication.Type == FeedEditType.Edit)
            {
                int index = Application.Feeds.IndexOf(CurrentFeedInApplication.Feed);
                Application.Feeds[index] = Feed;
            }
            if (CurrentFeedInApplication.Type == FeedEditType.New)
            {
                Application.Feeds.Add(Feed);
            }

            CurrentFeedInApplication = null;
            window.Close();
        }