Пример #1
0
        public LoginForm()
        {
            InitializeComponent();
            txtUserName.Focus();

            try
            {
                SQLiteCommon.InitDB();
            }
            catch (Exception e)
            {
                log.Error(e);
                ShowMsg(MessageBoxIcon.Error, e.Message);
            }
        }