Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cbDateTime = ((INV.Elearning.Controls.CheckBox)(target));
                return;

            case 2:
                this.cbSlideNumber = ((INV.Elearning.Controls.CheckBox)(target));
                return;

            case 3:
                this.cbFooter = ((INV.Elearning.Controls.CheckBox)(target));
                return;

            case 4:
                this.txtFooter = ((INV.Elearning.Controls.TextBox)(target));
                return;

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

            #line 23 "..\..\..\Views\HeaderAndFootersWindow.xaml"
                this.applyBtn.Click += new System.Windows.RoutedEventHandler(this.applyBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\Views\HeaderAndFootersWindow.xaml"
                this.applyAllbtn.Click += new System.Windows.RoutedEventHandler(this.applyAllbtn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.cancelBtn = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\Views\HeaderAndFootersWindow.xaml"
                this.cancelBtn.Click += new System.Windows.RoutedEventHandler(this.cancelBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cbTitle = ((INV.Elearning.Controls.CheckBox)(target));
                return;

            case 2:
                this.cbText = ((INV.Elearning.Controls.CheckBox)(target));
                return;

            case 3:
                this.cbDate = ((INV.Elearning.Controls.CheckBox)(target));
                return;

            case 4:
                this.cbSlideNumber = ((INV.Elearning.Controls.CheckBox)(target));
                return;

            case 5:
                this.cbFooters = ((INV.Elearning.Controls.CheckBox)(target));
                return;

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

            #line 19 "..\..\..\Views\MasterLayoutConfig.xaml"
                this.OK.Click += new System.Windows.RoutedEventHandler(this.OK_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Cancel = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\..\Views\MasterLayoutConfig.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

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