コード例 #1
0
        // Reload objects in database
        private void Async_ReloadObjectsFromDatabase(Object arg)
        {
            var cmd = (ServerDatabaseCommand)arg;

            SetStatus("Reloading " + cmd.DatabaseName + "...", true);

            StudioController.RefreshDatabase(cmd.Server, cmd.DatabaseName);

            InvokeInUI(() =>
            {
                DoSearch(true);
            });

            SetStatus("Completed reloading " + cmd.DatabaseName);
        }