private void buttonTwitter_Click(object sender, RoutedEventArgs e) { TwitterAuthentication window = new TwitterAuthentication(this.socialMediaAction); window.ShowDialog(); InitUI(); }