MetroDemo.ExampleWindows.DownloadAdvanced.System C# (CSharp) Method

System() private method

private System ( int connectionId, object target ) : void
connectionId int
target object
return void
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            this.AdvancedDownloadSelectionDialog = ((MetroDemo.ExampleWindows.DownloadAdvanced)(target));
            
            #line 26 "..\..\..\..\Windows\DownloadAdvanced.xaml"
            this.AdvancedDownloadSelectionDialog.Loaded += new System.Windows.RoutedEventHandler(this.DownloadAdvanced_OnLoaded);
            
            #line default
            #line hidden
            return;
            case 2:
            this.AllowMultipleDownloads = ((System.Windows.Controls.CheckBox)(target));
            
            #line 77 "..\..\..\..\Windows\DownloadAdvanced.xaml"
            this.AllowMultipleDownloads.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);
            
            #line default
            #line hidden
            
            #line 77 "..\..\..\..\Windows\DownloadAdvanced.xaml"
            this.AllowMultipleDownloads.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);
            
            #line default
            #line hidden
            return;
            case 3:
            this.UseFolderShortNames = ((System.Windows.Controls.CheckBox)(target));
            
            #line 80 "..\..\..\..\Windows\DownloadAdvanced.xaml"
            this.UseFolderShortNames.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);
            
            #line default
            #line hidden
            
            #line 80 "..\..\..\..\Windows\DownloadAdvanced.xaml"
            this.UseFolderShortNames.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);
            
            #line default
            #line hidden
            return;
            case 4:
            this.OkButton = ((System.Windows.Controls.Button)(target));
            
            #line 84 "..\..\..\..\Windows\DownloadAdvanced.xaml"
            this.OkButton.Click += new System.Windows.RoutedEventHandler(this.OkButton_Click);
            
            #line default
            #line hidden
            return;
            case 5:
            this.CancelButton = ((System.Windows.Controls.Button)(target));
            
            #line 85 "..\..\..\..\Windows\DownloadAdvanced.xaml"
            this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_OnClick);
            
            #line default
            #line hidden
            return;
            }
            this._contentLoaded = true;
        }
    }