Beispiel #1
0
        private void signinBtn_Click(object sender, RoutedEventArgs e)
        {
            state = profile;
            CloudDB cloudDBWindow = new CloudDB();

            cloudDBWindow.Show();
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginWindow = ((_1712907_1712912_1712914.CloudDB)(target));

            #line 13 "..\..\CloudDB.xaml"
                this.LoginWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 24 "..\..\CloudDB.xaml"
                this.LoginWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.signinRadioBtn = ((System.Windows.Controls.RadioButton)(target));

            #line 36 "..\..\CloudDB.xaml"
                this.signinRadioBtn.Click += new System.Windows.RoutedEventHandler(this.SigninRadioBtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.signupRadioBtn = ((System.Windows.Controls.RadioButton)(target));

            #line 37 "..\..\CloudDB.xaml"
                this.signupRadioBtn.Click += new System.Windows.RoutedEventHandler(this.SignupRadioBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.title = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 50 "..\..\CloudDB.xaml"
                this.UsernameText_Wpf.GotFocus += new System.Windows.RoutedEventHandler(this.UsernameText_Wpf_GotFocus);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\CloudDB.xaml"
                this.PasswordText_Wpf.GotFocus += new System.Windows.RoutedEventHandler(this.PasswordText_Wpf_GotFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.ico = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 64 "..\..\CloudDB.xaml"
                this.PasswordConfirmText_Wpf.GotFocus += new System.Windows.RoutedEventHandler(this.PasswordConfirmText_Wpf_GotFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.rememberCheckbox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.signinBtn = ((System.Windows.Controls.Button)(target));

            #line 89 "..\..\CloudDB.xaml"
                this.signinBtn.Click += new System.Windows.RoutedEventHandler(this.SigninBtn_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.signupBtn = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\CloudDB.xaml"
                this.signupBtn.Click += new System.Windows.RoutedEventHandler(this.SignupBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.validIco = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 13:
                this.invalidIco = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 14:

            #line 117 "..\..\CloudDB.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseToggleButton_Click);

            #line default
            #line hidden
                return;

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