You must Sign In to post a response.
  • Category: Visual Studio

    Variable meaning on mouse over in VS/c#

    In visual studio, I need to get the meaning of a variable on mouse over or on right click.
    I will be storing the mapping or meaning for those variables in SQL DB.
    Ex. Variable name= cNum
    On mouse over/click, I want to get "contract number"
    (Where Mapping stored in DB is, cNum=contract number).

    Kindly suggest the approach to achieve this in VS/c#.
  • #765438
    If you have a windows forms application then I will suggest to use Tooltip, it is the good way to show anything on mouse over.
    If you want to use Right click then you need to design context menu for that, but it may be the different case. I think tool tip would be better option to accomplish your task

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #765447
    But how to implement tool tip so as to show description stored in database in visual studio in mouse over?

Sign In to post your comments