Exemplo n.º 1
0
        public void OnDisable()
        {
            TimelineControl expr_06 = this.timelineControl;

            expr_06.TimelineClicked    = (TimelineControl.TimelineClickedHandler)Delegate.Remove(expr_06.TimelineClicked, new TimelineControl.TimelineClickedHandler(this.TimelineClicked));
            DebugFlow.LogEntrySelected = (DebugFlow.LogEntrySelectedHandler)Delegate.Remove(DebugFlow.LogEntrySelected, new DebugFlow.LogEntrySelectedHandler(this.LogEntrySelected));
            this.fsmList.Clear();
            this.SaveSettings();
        }
Exemplo n.º 2
0
        protected override void OnEnable()
        {
            base.OnEnable();
            this.timelineControl = new TimelineControl();
            this.line            = new LineDrawer();
            TimelineControl expr_22 = this.timelineControl;

            expr_22.TimelineClicked    = (TimelineControl.TimelineClickedHandler)Delegate.Combine(expr_22.TimelineClicked, new TimelineControl.TimelineClickedHandler(this.TimelineClicked));
            DebugFlow.LogEntrySelected = (DebugFlow.LogEntrySelectedHandler)Delegate.Combine(DebugFlow.LogEntrySelected, new DebugFlow.LogEntrySelectedHandler(this.LogEntrySelected));
            this.fsmList.Clear();
            base.Repaint();
        }