Пример #1
0
 public loginForm()
 {
     InitializeComponent();
     AuthControl.GetInstance().loadXml();
     InitUser(AuthControl.GetInstance().UserNameList);
     comboBox_user.SelectedIndex = 0;
 }
Пример #2
0
        public static AuthControl GetInstance()
        {
            if (_instance == null)
            {
                _instance = new AuthControl();
            }

            return(_instance);
        }