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

            loadConnection (conncetion);
        }