Exemple #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.LoginWindow1 = ((BakalariDesktop.LoginWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginWindow1 = ((BakalariDesktop.LoginWindow)(target));
                return;

            case 2:
                this.loadingDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 3:
                this.errorDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 4:

            #line 31 "..\..\LoginWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.closeErrorDialog);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\LoginWindow.xaml"
                this.usernameBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.usernameBox_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 7:
                this.urlBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 47 "..\..\LoginWindow.xaml"
                this.loginButton.Click += new System.Windows.RoutedEventHandler(this.loginButton_Click);

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