/// <summary>
        /// Handles the Click event of the grabCookiesButton control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
        private void GrabCookiesButtonClick(object sender, RoutedEventArgs e)
        {
            var ccw = new CookieCatcherWindow(Parser);

            if (ccw.ShowDialog() == true) // Nullable<bool> == true
            {
                cookiesTextBox.Text = ccw.Cookies;
            }
        }
Beispiel #2
0
        /// <summary>
        /// Handles the Click event of the grabCookiesButton control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
        private void GrabCookiesButtonClick(object sender, RoutedEventArgs e)
        {
            var ccw = new CookieCatcherWindow(Parser);

            if (ccw.ShowDialog() == true) // Nullable<bool> == true
            {
                cookiesTextBox.Text = ccw.Cookies;
            }
        }