Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window_Login = ((Orarend_osszerako.MainWindow)(target));
                return;

            case 2:
                this.Button_Register = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.Button_Register.Click += new System.Windows.RoutedEventHandler(this.Button_Register_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.Button_Login = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.TextBox_Username = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.PasswordBox_Password = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window_Login = ((Orarend_osszerako.MainWindow)(target));
                return;

            case 2:
                this.signin = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\..\View\MainWindow.xaml"
                this.signin.Click += new System.Windows.RoutedEventHandler(this.SignIn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.signup = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\..\View\MainWindow.xaml"
                this.signup.Click += new System.Windows.RoutedEventHandler(this.SignUp_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Main = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }