void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((Hywire.ImageProcessing.ImageDisplayer.View.ImageGallery)(target));
                return;

            case 2:
                this.imageGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:

            #line 36 "..\..\..\View\ImageGallery.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.IMG_MouseWheel);

            #line default
            #line hidden
                return;

            case 4:
                this.image = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ribbon = ((Fluent.Ribbon)(target));
                return;

            case 2:
                this.homeTabItem = ((Fluent.RibbonTabItem)(target));
                return;

            case 3:
                this.themesGroupBox = ((Fluent.RibbonGroupBox)(target));
                return;

            case 4:
                this.silverThemeBtn = ((Fluent.Button)(target));

            #line 60 "..\..\MainWindowContent.xaml"
                this.silverThemeBtn.Click += new System.Windows.RoutedEventHandler(this.silverThemeBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.blackThemeBtn = ((Fluent.Button)(target));

            #line 63 "..\..\MainWindowContent.xaml"
                this.blackThemeBtn.Click += new System.Windows.RoutedEventHandler(this.blackThemeBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.blueThemeBtn = ((Fluent.Button)(target));

            #line 66 "..\..\MainWindowContent.xaml"
                this.blueThemeBtn.Click += new System.Windows.RoutedEventHandler(this.blueThemeBtn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.DontUseDwm = ((Fluent.CheckBox)(target));

            #line 67 "..\..\MainWindowContent.xaml"
                this.DontUseDwm.Click += new System.Windows.RoutedEventHandler(this.DontUseDwm_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.memoryGroupBox = ((Fluent.RibbonGroupBox)(target));
                return;

            case 9:
                this.releaseSelfMmryBtn = ((Fluent.Button)(target));
                return;

            case 10:
                this.releaseAllMmryBtn = ((Fluent.Button)(target));
                return;

            case 11:
                this.ViewTabItem = ((Fluent.RibbonTabItem)(target));
                return;

            case 12:
                this.displayRangeGroupBox = ((Fluent.RibbonGroupBox)(target));
                return;

            case 13:
                this.imageGallery = ((Hywire.ImageProcessing.ImageDisplayer.View.ImageGallery)(target));
                return;
            }
            this._contentLoaded = true;
        }