コード例 #1
0
        public static void RefreshUi(string changed_server_name)
        {
            string db_name = changed_server_name + ".db";

            Path = SSHController.GetDataBase(path_root, db_name);

            if (Sqlite_LogTable.current != null)
            {
                Sqlite_LogTable.current.Refresh();
            }
            if (Sqlite_StatusTable.current != null)
            {
                Sqlite_StatusTable.current.Refresh();
            }
        }
コード例 #2
0
        public static void RefreshUi(string db_name = "")
        {
            db_name = db_name + (Idx_db_name++) + ".db";
            Path    = SSHController.GetDataBase(path_root, db_name);

            if (Sqlite_LogTable.current != null)
            {
                Sqlite_LogTable.current.Refresh();
            }
            if (Sqlite_StatusTable.current != null)
            {
                Sqlite_StatusTable.current.Refresh();
            }
            //FileContoller.FileDelete(path_root + prev_db_name);
            prev_db_name = db_name;
        }
コード例 #3
0
        public static void RefreshUi(string db_name = "")
        {
            FileContoller.DeleteFilesInDirectory(path_root);
            db_name = db_name + (Idx_db_name++) + ".db";
            Path    = SSHController.GetDataBase(path_root, db_name);

            if (Sqlite_LogTable.current != null)
            {
                Sqlite_LogTable.current.Refresh();
            }
            if (Sqlite_StatusTable.current != null)
            {
                Sqlite_StatusTable.current.Refresh();
            }
            //FileContoller.DeleteFile(path_root + prev_db_name);
            prev_db_name = db_name;
            bUpdated     = true;
        }