public int Run() { DBUtils.OpenConection(); if (selectedStats != "del_rep") { mistList = DBUtils.ReadMistakes(query + where); } if (selectedStats != "words") { wordsList = DBUtils.ReadWords(query + where); } DBUtils.CloseConnection(); return(1); }
public MainForm() { InitializeComponent(); try { this.Icon = Properties.Resources.appicon; InitNotifyIcon(); } catch (Exception) { } DBUtils.ReadWords("SELECT * FROM MISTAKES WHERE datetime BETWEEN '2018-05-15 00:00:00' AND '2018-06-21 23:59:59'"); // Begginig(); /////////////// this.MaximizeBox = false; UserLevelCheck(); CheckForAutoCalibration(autContrl.isOn); }