Click here to Skip to main content
15,891,409 members
Articles / Desktop Programming / WPF

ScanX - A Registry Cleaner

Rate me:
Please Sign up or sign in to vote.
4.95/5 (92 votes)
29 Jan 2012CPOL11 min read 173.7K   12.5K   208  
C#/WPF - ScanX: Creating a commercial quality Registry cleaner.
#pragma checksum "..\..\wndMain.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F9CDF79713F205782762F0AAE9C06FF3"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.3074
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using CircularProgressBar;
using ScanX;
using ScanX.Panels;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;


namespace ScanX {
    
    
    /// <summary>
    /// wndMain
    /// </summary>
    public partial class wndMain : System.Windows.Window, System.Windows.Markup.IComponentConnector {
        
        
        #line 20 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Grid grdWindowGrid;
        
        #line default
        #line hidden
        
        
        #line 27 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Grid grdNonClient;
        
        #line default
        #line hidden
        
        
        #line 28 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Image imgAbout;
        
        #line default
        #line hidden
        
        
        #line 31 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Border brdWindowBorder;
        
        #line default
        #line hidden
        
        
        #line 34 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Grid grdToolbar;
        
        #line default
        #line hidden
        
        
        #line 42 "..\..\wndMain.xaml"
        internal System.Windows.Controls.StackPanel stkToolBarPanel;
        
        #line default
        #line hidden
        
        
        #line 43 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Primitives.ToggleButton btnRegscan;
        
        #line default
        #line hidden
        
        
        #line 46 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Primitives.ToggleButton btnOptions;
        
        #line default
        #line hidden
        
        
        #line 49 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Primitives.ToggleButton btnHelp;
        
        #line default
        #line hidden
        
        
        #line 55 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Grid grdContainer;
        
        #line default
        #line hidden
        
        
        #line 61 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Image imgStatusBar;
        
        #line default
        #line hidden
        
        
        #line 62 "..\..\wndMain.xaml"
        internal System.Windows.Controls.TextBlock txtStatusBar;
        
        #line default
        #line hidden
        
        
        #line 70 "..\..\wndMain.xaml"
        internal System.Windows.Controls.Grid grdRestore;
        
        #line default
        #line hidden
        
        
        #line 79 "..\..\wndMain.xaml"
        internal CircularProgressBar.CircularProgressBar prgRestore;
        
        #line default
        #line hidden
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Uri resourceLocater = new System.Uri("/ScanX;component/wndmain.xaml", System.UriKind.Relative);
            
            #line 1 "..\..\wndMain.xaml"
            System.Windows.Application.LoadComponent(this, resourceLocater);
            
            #line default
            #line hidden
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            this.grdWindowGrid = ((System.Windows.Controls.Grid)(target));
            return;
            case 2:
            this.grdNonClient = ((System.Windows.Controls.Grid)(target));
            return;
            case 3:
            this.imgAbout = ((System.Windows.Controls.Image)(target));
            
            #line 28 "..\..\wndMain.xaml"
            this.imgAbout.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Link_Click);
            
            #line default
            #line hidden
            return;
            case 4:
            this.brdWindowBorder = ((System.Windows.Controls.Border)(target));
            return;
            case 5:
            this.grdToolbar = ((System.Windows.Controls.Grid)(target));
            return;
            case 6:
            this.stkToolBarPanel = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 7:
            this.btnRegscan = ((System.Windows.Controls.Primitives.ToggleButton)(target));
            
            #line 43 "..\..\wndMain.xaml"
            this.btnRegscan.Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);
            
            #line default
            #line hidden
            return;
            case 8:
            this.btnOptions = ((System.Windows.Controls.Primitives.ToggleButton)(target));
            
            #line 46 "..\..\wndMain.xaml"
            this.btnOptions.Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);
            
            #line default
            #line hidden
            return;
            case 9:
            this.btnHelp = ((System.Windows.Controls.Primitives.ToggleButton)(target));
            
            #line 49 "..\..\wndMain.xaml"
            this.btnHelp.Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);
            
            #line default
            #line hidden
            return;
            case 10:
            this.grdContainer = ((System.Windows.Controls.Grid)(target));
            
            #line 55 "..\..\wndMain.xaml"
            this.grdContainer.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.Button_Clicked));
            
            #line default
            #line hidden
            return;
            case 11:
            this.imgStatusBar = ((System.Windows.Controls.Image)(target));
            return;
            case 12:
            this.txtStatusBar = ((System.Windows.Controls.TextBlock)(target));
            return;
            case 13:
            this.grdRestore = ((System.Windows.Controls.Grid)(target));
            return;
            case 14:
            this.prgRestore = ((CircularProgressBar.CircularProgressBar)(target));
            return;
            }
            this._contentLoaded = true;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Network Administrator vtdev.com
Canada Canada
Network and programming specialist. Started in C, and have learned about 14 languages since then. Cisco programmer, and lately writing a lot of C# and WPF code, (learning Java too). If I can dream it up, I can probably put it to code. My software company, (VTDev), is on the verge of releasing a couple of very cool things.. keep you posted.

Comments and Discussions