Exemplo n.º 1
0
        private void btnRemoveDM_Click(object sender, RoutedEventArgs e)
        {
            e.Handled = true;

            var settings = ApplicationSettings.GetApplicationSettings();

            settings.EraseType = ApplicationSettings.EraseTypes.DirectMessages;

            FetchTweets page = new FetchTweets();

            this.Hide();
            page.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
            page.ShowDialog();
        }
        private void btnRemoveDM_Click(object sender, RoutedEventArgs e)
        {
            e.Handled = true;

            var settings = ApplicationSettings.GetApplicationSettings();
            settings.EraseType = ApplicationSettings.EraseTypes.DirectMessages;

            FetchTweets page = new FetchTweets();
            this.Hide();
            page.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
            page.ShowDialog();
        }