public JournalEntry(JournalEntry e, string text) { TimeStamp = e.TimeStamp; Serial = e.Serial; Name = e.Name; Text = text; Color = e.Color; Type = e.Type; Font = e.Font; Source = e.Source; }
public JournalEntryAddedEventArgs(JournalEntry entry) { this.entry = entry; }
public static bool SetLine(int line, JournalEntry e) { Instance instance = CurrentInstance; lock (instance.SyncRoot) { int histLine = line - instance.LineOffset; if (histLine >= 0 && histLine < instance.History.Count) { instance.History[histLine] = e; return true; } else return false; } }