Exemplo n.º 1
0
 public void BindTo(EditorLogOutput logOutput)
 {
     this.Clear();
     this.lastLogItemCount         = 0;
     this.boundToLogOutput         = logOutput;
     this.timerLogSchedule.Enabled = (this.boundToLogOutput != null);
 }
Exemplo n.º 2
0
        protected override void OnHandleCreated(EventArgs e)
        {
            base.OnHandleCreated(e);

            this.logEntryList.BindTo(DualityEditorApp.GlobalLogData);
            this.logEntryList.ScrollToEnd();

            EditorLogOutput logHistory = DualityEditorApp.GlobalLogData;

            this.unseenErrors   = logHistory.ErrorCount;
            this.unseenWarnings = logHistory.WarningCount;
            this.UpdateTabText();
        }