Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.EditTB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.EditBtn1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 3:
                this.EditBtn2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.EditBtn3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 5:
                this.EditBtn4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.Editor = ((AutoCapturer.UserControls.ImageEdit)(target));
                return;

            case 7:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 54 "..\..\..\..\UserControls\Windows\ImageEditor.xaml"
                this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.comboBox_Copy = ((System.Windows.Controls.ComboBox)(target));

            #line 59 "..\..\..\..\UserControls\Windows\ImageEditor.xaml"
                this.comboBox_Copy.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_Copy_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\..\..\UserControls\Windows\ImageEditor.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.EditBtn1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 2:
                this.EditBtn2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 3:
                this.EditBtn3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.CropInfoTB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.BtnCopyToClipBoard = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\..\..\Windows\ImageEditor.xaml"
                this.BtnCopyToClipBoard.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.BtnOriginSizeReturn = ((System.Windows.Controls.Button)(target));

            #line 114 "..\..\..\..\Windows\ImageEditor.xaml"
                this.BtnOriginSizeReturn.Click += new System.Windows.RoutedEventHandler(this.BtnOriginSizeReturn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Editor = ((AutoCapturer.UserControls.ImageEdit)(target));
                return;

            case 8:
                this.RatioCB = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.WidthTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.HeightTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:

            #line 187 "..\..\..\..\Windows\ImageEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 12:
                this.SaveBtn = ((System.Windows.Controls.Button)(target));

            #line 192 "..\..\..\..\Windows\ImageEditor.xaml"
                this.SaveBtn.Click += new System.Windows.RoutedEventHandler(this.SaveBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }