Пример #1
0
        private void buttonApply_Click(object sender, EventArgs e)
        {
            Properties.Settings.Default.DBType = comboBackendSelector.SelectedIndex;
            Properties.Settings.Default.Save();

            DBiFace.ReloadDB(_log);

            if (DBiFace.AccDB == null)
            {
                return;
            }
            DBiFace.AccDB.Queue.SetThreshold((int)numericUpDown3.Value);
            DBiFace.AccDB.Queue.SetTimeout((int)numericUpDown4.Value);
        }
Пример #2
0
        private void buttonSQOpen_Click(object sender, EventArgs e)
        {
            DBiFace.ReloadDB(_log);

            if (DBiFace.IsDBAvailable())
            {
                return;
            }
            var myToolTip = new ToolTip {
                IsBalloon = true
            };

            myToolTip.Show("Please select the Freelancer DB path then open SQL DB again!", buttonSQOpen);
        }