private void timer1_Tick(object sender, EventArgs e) { string info = PathUtils.GetFileSizeInfo(_logFile); if (!String.IsNullOrEmpty(info)) { lblLogSize.Text = info; } }
private void timer1_Tick(object sender, EventArgs e) { lblLogSize.Text = PathUtils.GetFileSizeInfo(_logFile); if (profiledProcess == null || profiledProcess.HasExited) { ProfilerStopped(); } }