Click here to Skip to main content
15,893,668 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 175.1K   12.5K   208  
C#/WPF - ScanX: Creating a commercial quality Registry cleaner.
#pragma checksum "..\..\Window1.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "703F80A07C8C41407782729F35FE7A2D"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.4963
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using RegScanHarness;
using RegScanHarness.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;
using vhRCMW;


namespace RegScanHarness {
    
    
    /// <summary>
    /// Window1
    /// </summary>
    public partial class Window1 : vhRCMW.RCMW, System.Windows.Markup.IComponentConnector {
        
        
        #line 21 "..\..\Window1.xaml"
        internal System.Windows.Controls.Grid grdWindowGrid;
        
        #line default
        #line hidden
        
        
        #line 28 "..\..\Window1.xaml"
        internal System.Windows.Controls.Border brdWindowBorder;
        
        #line default
        #line hidden
        
        
        #line 31 "..\..\Window1.xaml"
        internal System.Windows.Controls.Grid grdToolbar;
        
        #line default
        #line hidden
        
        
        #line 39 "..\..\Window1.xaml"
        internal System.Windows.Controls.StackPanel stkToolBarPanel;
        
        #line default
        #line hidden
        
        
        #line 40 "..\..\Window1.xaml"
        internal System.Windows.Controls.Primitives.ToggleButton btnRegscan;
        
        #line default
        #line hidden
        
        
        #line 46 "..\..\Window1.xaml"
        internal System.Windows.Controls.Primitives.ToggleButton btnOptions;
        
        #line default
        #line hidden
        
        
        #line 49 "..\..\Window1.xaml"
        internal System.Windows.Controls.Primitives.ToggleButton btnHelp;
        
        #line default
        #line hidden
        
        
        #line 55 "..\..\Window1.xaml"
        internal System.Windows.Controls.Grid grdContainer;
        
        #line default
        #line hidden
        
        
        #line 61 "..\..\Window1.xaml"
        internal System.Windows.Controls.Image imgStatusBar;
        
        #line default
        #line hidden
        
        
        #line 63 "..\..\Window1.xaml"
        internal System.Windows.Controls.TextBlock txtStatusBar;
        
        #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("/RegScanHarness;component/window1.xaml", System.UriKind.Relative);
            
            #line 1 "..\..\Window1.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.brdWindowBorder = ((System.Windows.Controls.Border)(target));
            return;
            case 3:
            this.grdToolbar = ((System.Windows.Controls.Grid)(target));
            return;
            case 4:
            this.stkToolBarPanel = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 5:
            this.btnRegscan = ((System.Windows.Controls.Primitives.ToggleButton)(target));
            
            #line 40 "..\..\Window1.xaml"
            this.btnRegscan.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);
            
            #line default
            #line hidden
            return;
            case 6:
            this.btnOptions = ((System.Windows.Controls.Primitives.ToggleButton)(target));
            
            #line 46 "..\..\Window1.xaml"
            this.btnOptions.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);
            
            #line default
            #line hidden
            return;
            case 7:
            this.btnHelp = ((System.Windows.Controls.Primitives.ToggleButton)(target));
            
            #line 49 "..\..\Window1.xaml"
            this.btnHelp.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);
            
            #line default
            #line hidden
            return;
            case 8:
            this.grdContainer = ((System.Windows.Controls.Grid)(target));
            
            #line 55 "..\..\Window1.xaml"
            this.grdContainer.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.Button_Clicked));
            
            #line default
            #line hidden
            return;
            case 9:
            this.imgStatusBar = ((System.Windows.Controls.Image)(target));
            return;
            case 10:
            this.txtStatusBar = ((System.Windows.Controls.TextBlock)(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