Ejemplo n.º 1
0
 //------------
 //---------------
 public Form1()
 {
     InitializeComponent();
     _myVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString();
     _manager = new SettingController();
     _myLimit = -1;
 }
 private void StatisticForm_Load(object sender, EventArgs e)
 {
     manager = new SettingController();
     settings = manager.Load();
     if (!connected)
         show_in_grid(sqLiteDatabase.GetStatistic());
     else
         show_in_grid(new PostgresController(settings).get_statistic(title) );
 }
 private void SettingsForm_Load(object sender, EventArgs e)
 {
     _manager = new SettingController();
     _settings = _manager.Load();
     InitiateDatabases();
 }