private void DecodeButton_Click(object sender, RoutedEventArgs e) { VSCodeInAppNotification.Dismiss(); Grid pa = ((StackPanel)((Button)sender).Parent).Parent as Grid; var BdUriTB = pa.FindName("BdUriTB") as TextBox; var BdPass = pa.FindName("BdPassTB") as TextBox; if (BdUriTB == null || BdUriTB.Text == String.Empty) { return; } if (BdPass == null || BdPass.Text == String.Empty) { return; } WebView NoUI = new WebView(WebViewExecutionMode.SeparateThread); NoUI.NavigationCompleted += NoUI_NavigationFirstPageCompleted; NoUI.Navigate(new Uri(String.Format("{0}?pwd={1}", BdUriTB.Text.Replace("pan.baidu.com", "pan.baiduwp.com"), BdPass.Text))); }
private void DismissButton_Click(object sender, RoutedEventArgs e) { VSCodeInAppNotification.Dismiss(); }
private void BDButton_Click(object sender, RoutedEventArgs e) { VSCodeInAppNotification.Show(); }