Пример #1
0
        private Address CodeView_GetAnchorAddress()
        {
            var pt   = codeView.GetAnchorMiddlePoint();
            var tag  = codeView.GetTagFromPoint(pt);
            var addr = tag as Address;
            var proc = tag as Procedure;

            if (proc != null)
            {
                addr = proc.EntryAddress;
            }

            return(addr);
        }