private void LogChanged(object sender, LogFileMonitorLineEventArgs e) { if (this.scrollToolStripMenuItem.Checked) { this.textBoxLog.AppendText(e.Line + Environment.NewLine); } else { this.textBoxLog.Text += e.Line + Environment.NewLine; } if (Settings.Instance.FlashTaskbar && !this.Focused) { FlashWindow.Flash(this, 1); } }
private void LogChanged(object sender, LogFileMonitorLineEventArgs e) { if (this.scrollToolStripMenuItem.Checked) { this.textBoxLog.AppendText(e.Line + Environment.NewLine); } else { this.textBoxLog.Text += e.Line + Environment.NewLine; } if (Settings.Instance.FlashTaskbar && !this.Focused) { FlashWindow.Flash(this, 1); } }