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:

enter image description here

or through code in form's load event:

listbox1.mousedoubleclick += mydoubleclickeventhandler; 

visual studio can auto-generate method stub proper signature when type out.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -