Пример #1
0
        private void toolStrip_Update_Click(object sender, System.EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            if (SharedClasses.Utility.TryAccessFIS_Function((login, password) =>
            {
                if (_Updater == null)
                {
                    _Updater = new Classes.DictionaryUpdater(_DB_Connection, "http://10.0.3.1:8080", login, password); //TODO address
                }
                UpdateDictionary(_Updater);
            }, new Classes.LoginSetting()))
            {
                UpdateMainTable();
            }

            Cursor.Current = Cursors.Default;
        }
Пример #2
0
 protected override void UpdateDictionary(Classes.DictionaryUpdater updater)
 {
     updater.UpdateDictionaries();
 }
Пример #3
0
 protected virtual void UpdateDictionary(Classes.DictionaryUpdater updater)
 {
 }
Пример #4
0
 protected override void UpdateDictionary(Classes.DictionaryUpdater updater)
 {
     updater.UpdateOlympicsDictionary();
 }