private void synchronizeAnotherLogMenuItem_Click(object sender, EventArgs e)
        {
            LogViewerInstance instance = ((LogViewerInstanceToolStripItem)sender).LogInstance;

            if (this.synchronizeAnotherLogs.IndexOf(instance.ID) > -1)
            {
                this.synchronizeAnotherLogs.Remove(instance.ID);
            }
            else
            {
                this.synchronizeAnotherLogs.Add(instance.ID);
                this.GoToSameTimeInAnotherLog(instance.ID);
            }
        }
Example #2
0
 public LogViewerInstanceToolStripItem(LogViewerInstance logViewerInstance)
 {
     this.LogInstance = logViewerInstance;
     this.Text        = LogInstance.LogFileName;
 }