winforms - VS2010 C# cant see non overridden methods of controls -
i new c# , wrote simple winform list box manually added items. want add code listbox
mouse double click method cannot locate anywhere - not sure called mousedoubleclick
. during edit if double click on list box puts me selectedindexchanged
method other default methods not show in drop down box on top right. how other methods? manually coded not run @ runtime.
in other visual studio , vb used/unused methods visible control/object.
there mousedoubleclick
event listbox
. mousedoubleclick
event on control
, controls must inherit event.
you can either locate list of possible events in designer add event handler:
or through code in form's load event:
listbox1.mousedoubleclick += mydoubleclickeventhandler;
visual studio can auto-generate method stub proper signature when type out.