Пример #1
0
        void showlogin()
        {
            logOn log = new logOn();

            if (DialogResult.OK == log.ShowDialog(this))
            {
                this.Show();
                LogOnC loc = new LogOnC();
                _user = loc.GetOneUser(log.username);
            }
            else
            {
                this.Close();
            }
        }
Пример #2
0
        void showlogin()
        {
            logOn log = new logOn();

            if(DialogResult.OK ==log.ShowDialog(this))
            {
                this.Show();

            }
            else{
                this.Close();
            }
        }