void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.signUpWindow = ((FUTABus.SignUpWindow)(target)); return; case 2: this.FloatingPasswordBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 3: this.FloatingRePasswordBox = ((System.Windows.Controls.PasswordBox)(target)); return; } this._contentLoaded = true; }
private void BtnDangKy(object sender, RoutedEventArgs e) { SignUpWindow signUp = new SignUpWindow(); signUp.ShowDialog(); }