Inheritance: System.EventArgs
Beispiel #1
0
        private void MixedCodeDataControl_SpanEnter(object sender, SpanEventArgs e)
        {
            if (previewWindow != null)
            {
                // Preview window already visible.
                return;
            }

            if (e.Span.Style == null || !e.Span.Style.Contains("dasm-addrText"))
                return;
            this.addressPreview = e.Span.Tag as Address;
            if (this.addressPreview == null)
                return;

            // Start the timer; when it ticks, it will pop up the window.
            this.previewTimer.Enabled = true;
            this.previewSpan = e.Span;
        }
Beispiel #2
0
 private void MixedCodeDataControl_SpanLeave(object sender, SpanEventArgs e)
 {
     if (!insidePreview)
         DestroyPreviewWindow();
 }