private void login_button_Click(object sender, RoutedEventArgs e) { Window1 loginWindow = new Window1(); loginWindow.ShowInTaskbar = false; loginWindow.Show(); }
private void button_Click(object sender, RoutedEventArgs e) { string reqStr = String.Format("https://api.vkontakte.ru/method/status.get?owner_id={0}&access_token={1}", user_id, access_token); Window1 REqWeb = new Window1(); REqWeb.WebBrowser1.Navigate(reqStr); }