private void BtnOAuthTest_OnClick(object sender, RoutedEventArgs e) { var oAuthWindow = new OAuthTestWindow { Owner = this }; oAuthWindow.Show(); }