c# - Wpf Tooltip Object reference error -
i trying set tooltip textbox progamatically,but keep getting error:
an exception of type 'system.nullreferenceexception' occurred in e-learning.exe not handled in user code error :object reference not set instance of object.
the code:
tooltip tt = new tooltip(); tt.content="introduceti adresa url videocipului"; loca.tooltip = tt;
any ideas how can set tooltip ? sorry if wasn't enough. p.s "loca" name of textbox
Comments
Post a Comment