Example #1
0
        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);
            }
        }
Example #2
0
        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);
            }
        }