Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }