コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window_PrijavnoOkno = ((Messenger.okno_Prijava)(target));
                return;

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

            case 3:
                this.lbl_Header = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lbl_username = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.txt_Uporabnisko = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.lbl_geslo = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.txt_Geslo = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 8:
                this.lbl_login = ((System.Windows.Controls.Label)(target));

            #line 29 "..\..\..\Okna\okno_Prijava.xaml"
                this.lbl_login.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.LoginEvent);

            #line default
            #line hidden
                return;

            case 9:
                this.lbl_regster = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lbl_aboutUs = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window_PrijavnoOkno = ((Messenger.okno_Prijava)(target));

            #line 10 "..\..\okno_Prijava.xaml"
                this.Window_PrijavnoOkno.Closing += new System.ComponentModel.CancelEventHandler(this.Window_PrijavnoOkno_Closing);

            #line default
            #line hidden

            #line 10 "..\..\okno_Prijava.xaml"
                this.Window_PrijavnoOkno.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PrijavnoOkno_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\okno_Prijava.xaml"
                this.img_load.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.eventSpremeniPot);

            #line default
            #line hidden
                return;

            case 3:
                this.img_logo = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.lbl_Header = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lbl_username = ((System.Windows.Controls.Label)(target));
                return;

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

            case 7:
                this.lbl_geslo = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.txt_Geslo = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 9:
                this.ComboBoxStatus = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.Combo0 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.Combo1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.lbl_login = ((System.Windows.Controls.Label)(target));

            #line 41 "..\..\okno_Prijava.xaml"
                this.lbl_login.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.LoginEvent);

            #line default
            #line hidden
                return;

            case 13:
                this.lbl_regster = ((System.Windows.Controls.Label)(target));

            #line 44 "..\..\okno_Prijava.xaml"
                this.lbl_regster.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Registracija);

            #line default
            #line hidden
                return;

            case 14:
                this.lbl_aboutUs = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }