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

            case 2:
                this.FloatingPasswordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        private void BtnDangNhap(object sender, RoutedEventArgs e)
        {
            LogInWindow login = new LogInWindow();

            login.ShowDialog();
        }