Inheritance: System.EventArgs
示例#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;
        }
示例#2
0
 private void MixedCodeDataControl_SpanLeave(object sender, SpanEventArgs e)
 {
     if (!insidePreview)
         DestroyPreviewWindow();
 }