void ShowSelectedLog(string Source, int LogId) { LogDisplayTabs.Visible = false; LoadLogProgressBar.Visible = true; RequestView.ClearRequest(); ResponseView.ClearResponse(); if (LogLoadThread != null) { try { LogLoadThread.Abort(); } catch { } } object[] SelectedLogInfo = new object[] { Source, LogId }; LogLoadThread = new Thread(ShowSelectedLog); LogLoadThread.Start(SelectedLogInfo); }
void ShowSelectedLog(int LogId) { LogDisplayTabs.Visible = false; LoadLogProgressBar.Visible = true; RequestView.ClearRequest(); ResponseView.ClearResponse(); RequestDRV.ClearDiffResults(); ResponseDRV.ClearDiffResults(); if (LogLoadThread != null) { try { LogLoadThread.Abort(); } catch { } } LogLoadThread = new Thread(ShowSelectedLog); LogLoadThread.Start(LogId); }