protected void OnNewSqliteDb(object sende, EventArgs e) { SqliteConnectionLoader loader = new SqliteConnectionLoader (true); IDbServerConnection connection = loader.getConnection (this); if (connection != null) loadConnection (connection); }
protected void OnNewConnection(object sender, EventArgs e) { var conncetion = new SqliteConnectionLoader (false).getConnection (this); if (conncetion == null) return; loadConnection (conncetion); }