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

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

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

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\Views\RenameWindow.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_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.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;
        }