DesktopHelper.UI.Adapter.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:
            
            #line 5 "..\..\..\..\UI\Adapter.xaml"
            ((DesktopHelper.UI.Adapter)(target)).LocationChanged += new System.EventHandler(this.Window_LocationChanged);
            
            #line default
            #line hidden
            return;
            case 2:
            this.imgBackground = ((System.Windows.Controls.Image)(target));
            
            #line 7 "..\..\..\..\UI\Adapter.xaml"
            this.imgBackground.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_MouseEnter);
            
            #line default
            #line hidden
            
            #line 7 "..\..\..\..\UI\Adapter.xaml"
            this.imgBackground.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_MouseLeave);
            
            #line default
            #line hidden
            
            #line 7 "..\..\..\..\UI\Adapter.xaml"
            this.imgBackground.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);
            
            #line default
            #line hidden
            
            #line 7 "..\..\..\..\UI\Adapter.xaml"
            this.imgBackground.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imgBackground_MouseRightButtonDown);
            
            #line default
            #line hidden
            return;
            case 3:
            
            #line 10 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfigMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 4:
            
            #line 11 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearMemoryMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 5:
            
            #line 13 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AndwhoMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 6:
            
            #line 14 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AboutMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 7:
            
            #line 16 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 8:
            
            #line 17 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExitMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 9:
            this.textBlock = ((System.Windows.Controls.TextBlock)(target));
            
            #line 21 "..\..\..\..\UI\Adapter.xaml"
            this.textBlock.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);
            
            #line default
            #line hidden
            
            #line 21 "..\..\..\..\UI\Adapter.xaml"
            this.textBlock.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imgBackground_MouseRightButtonDown);
            
            #line default
            #line hidden
            return;
            case 10:
            
            #line 24 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfigMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 11:
            
            #line 25 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearMemoryMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 12:
            
            #line 27 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AndwhoMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 13:
            
            #line 28 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AboutMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 14:
            
            #line 30 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateMenuItem_Click);
            
            #line default
            #line hidden
            return;
            case 15:
            
            #line 31 "..\..\..\..\UI\Adapter.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExitMenuItem_Click);
            
            #line default
            #line hidden
            return;
            }
            this._contentLoaded = true;
        }
    }