Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((LockScreen.MainWindow)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.window.StateChanged += new System.EventHandler(this.Window_StateChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 38 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 3:

            #line 49 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 50 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Click += new System.Windows.RoutedEventHandler(this.CheckBox_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.stackpanelSetting = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.txtPwd = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.ucScreenUnlock = ((LockScreen.UserControls.ucScreenUnlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc = ((LockScreen.UserControls.ucScreenUnlock)(target));
                return;

            case 2:
                this.canvasRoot = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mw = ((LockScreen.LKLockScreen)(target));
                return;

            case 2:
                this.content = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 3:
                this.screenUnlock = ((LockScreen.UserControls.ucScreenUnlock)(target));
                return;

            case 4:
                this.numUnlock = ((LockScreen.UserControls.ucKeyboard)(target));
                return;
            }
            this._contentLoaded = true;
        }