예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyWindow = ((EnvCleanerUI.MainWindow)(target));
     return;
     case 2:
     this.Panel1 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 3:
     
     #line 130 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HelpOnClick);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 141 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportOnClick);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 152 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ImportOnClick);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 163 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CleanOnClick);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 174 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveOnClick);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 185 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.EditOnClick);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 196 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddOnClick);
     
     #line default
     #line hidden
     return;
     case 10:
     this.UseShortPathsBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 11:
     this.DeleteUnconfirmedEntriesBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 12:
     this.OptionComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 13:
     this.Viewer1 = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 14:
     this.Dg1 = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyWindow = ((EnvCleanerUI.MainWindow)(target));
                return;

            case 2:
                this.Panel1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:

            #line 130 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HelpOnClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 141 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportOnClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 152 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ImportOnClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 163 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CleanOnClick);

            #line default
            #line hidden
                return;

            case 7:

            #line 174 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveOnClick);

            #line default
            #line hidden
                return;

            case 8:

            #line 185 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.EditOnClick);

            #line default
            #line hidden
                return;

            case 9:

            #line 196 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddOnClick);

            #line default
            #line hidden
                return;

            case 10:
                this.UseShortPathsBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.DeleteUnconfirmedEntriesBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.OptionComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.Viewer1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 14:
                this.Dg1 = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }