Example #1
0
        /// <summary>
        /// Event Handler for the Subversion Error Event. This is
        /// called when there is a problem with the transfer of
        /// data to the remote repository
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void client_SvnError(object sender, SvnErrorEventArgs e)
        {
            e.Cancel = true;

            // Use the e.Exception parameter to show error message.

            this.cleanup_event_handlers();

            // Change color of the progress bar
            this.commit_progress_bar.Foreground = new LinearGradientBrush(Colors.Red, Colors.DarkRed, 45.0);

            // Launch Error Dialog
            SvnErrorDialog error = new SvnErrorDialog();

            error.Show();
        }
        /// <summary>
        /// Event Handler for the Subversion Error Event. This is 
        /// called when there is a problem with the transfer of 
        /// data to the remote repository 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void client_SvnError(object sender, SvnErrorEventArgs e)
        {
            e.Cancel = true;

            // Use the e.Exception parameter to show error message.
            
            this.cleanup_event_handlers();

            // Change color of the progress bar 
            this.commit_progress_bar.Foreground = new LinearGradientBrush(Colors.Red, Colors.DarkRed, 45.0); 

            // Launch Error Dialog 
            SvnErrorDialog error = new SvnErrorDialog();
            error.Show();

        }