Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginWindow = ((DesktopApp.MainWindow)(target));

            #line 10 "..\..\..\Views\MainWindow.xaml"
                this.LoginWindow.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LoginWindow_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.imgRadnik = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.lblUserName = ((Telerik.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lblPassword = ((Telerik.Windows.Controls.Label)(target));
                return;

            case 5:
                this.passboxPassword = ((Telerik.Windows.Controls.RadPasswordBox)(target));
                return;

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

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

            #line 57 "..\..\..\Views\MainWindow.xaml"
                this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.btnMinimze_Click);

            #line default
            #line hidden

            #line 57 "..\..\..\Views\MainWindow.xaml"
                this.btnMinimize.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseEnter);

            #line default
            #line hidden

            #line 57 "..\..\..\Views\MainWindow.xaml"
                this.btnMinimize.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseLeave);

            #line default
            #line hidden
                return;

            case 8:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\Views\MainWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);

            #line default
            #line hidden

            #line 68 "..\..\..\Views\MainWindow.xaml"
                this.btnClose.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseEnter);

            #line default
            #line hidden

            #line 68 "..\..\..\Views\MainWindow.xaml"
                this.btnClose.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseLeave);

            #line default
            #line hidden
                return;

            case 9:
                this.btnLogin = ((Telerik.Windows.Controls.RadButton)(target));

            #line 77 "..\..\..\Views\MainWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnPrijaviSe_Click);

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