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(); } }
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; }
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; }