Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginWindow = ((StudentInfoSystem.MainWindow)(target));
                return;

            case 2:
                this.grBoxLogin = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.txtBoxName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.btnLogin = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.BtnLogin_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.MainWindow1 = ((StudentInfoSystem.MainWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }