Click here to Skip to main content
15,941,444 members
Home / Discussions / C#
   

C#

 
GeneralRe: differential comparison algo Pin
mitchelle24-Oct-04 5:22
mitchelle24-Oct-04 5:22 
GeneralRe: differential comparison algo Pin
Christian Graus24-Oct-04 9:46
protectorChristian Graus24-Oct-04 9:46 
QuestionURL Changes when using Server Transfer, why? Pin
Meera Nair5-Sep-04 6:50
Meera Nair5-Sep-04 6:50 
Questionhow to enable asp.net to set active directory user password Pin
Anonymous5-Sep-04 6:28
Anonymous5-Sep-04 6:28 
AnswerRe: how to enable asp.net to set active directory user password Pin
Mazdak5-Sep-04 18:57
Mazdak5-Sep-04 18:57 
GeneralListBox right click Pin
eggie55-Sep-04 4:57
eggie55-Sep-04 4:57 
GeneralEvent Handler Wizard Pin
Cliff Hatch5-Sep-04 4:44
Cliff Hatch5-Sep-04 4:44 
GeneralRe: Event Handler Wizard Pin
mav.northwind5-Sep-04 8:09
mav.northwind5-Sep-04 8:09 
Cliff, .NET is a bit different than MFC.
By doubleclicking a control in the visual designer you'll get an event handler created for the control's default event.
If you want to add any other eventhandler visually, then you'll have to use the Control Events button to show the events a selected control supplies (and which are marked designer-visible).

Nevertheless, adding event handlers manually is just as easy.
For example, adding a click event handler to a button in VS.NET can be achieved by typing
myButton.Click += and then TAB twice.
VS.NET finishes the statement and adds a new myButton_Click() event handler with the correct signature.

If the Control Events button doesn't appear for a certain control then this control doesn't have any public visible events.

Regarding the click on a ToolButton, this event is fired by the ToolBar containing the button.

And for menus, there's the Popup event that's fired just when a menu is about to appear, so you can use this event to enable/disable your menu items.

Regards,
mav
GeneralRe: Event Handler Wizard Pin
Cliff Hatch6-Sep-04 8:48
Cliff Hatch6-Sep-04 8:48 
GeneralUPDATE_COMMAND_UI Pin
Cliff Hatch8-Sep-04 10:02
Cliff Hatch8-Sep-04 10:02 
QuestionDouble scrollbar in datagrid? Pin
obby5-Sep-04 4:16
obby5-Sep-04 4:16 
Generalsoftware update project Pin
karanba5-Sep-04 3:29
karanba5-Sep-04 3:29 
GeneralRe: software update project Pin
Baris Kurtlutepe6-Sep-04 11:26
Baris Kurtlutepe6-Sep-04 11:26 
GeneralLabel Height Pin
sreejith ss nair5-Sep-04 2:25
sreejith ss nair5-Sep-04 2:25 
GeneralRe: Label Height Pin
Stefan Troschuetz5-Sep-04 2:41
Stefan Troschuetz5-Sep-04 2:41 
GeneralRe: Label Height Pin
EssOEss5-Sep-04 9:25
EssOEss5-Sep-04 9:25 
GeneralRe: Label Height Pin
sreejith ss nair5-Sep-04 17:40
sreejith ss nair5-Sep-04 17:40 
QuestionYahoo Mail client api? Pin
Amberite005-Sep-04 1:38
Amberite005-Sep-04 1:38 
AnswerRe: Yahoo Mail client api? Pin
Colin Angus Mackay5-Sep-04 1:57
Colin Angus Mackay5-Sep-04 1:57 
GeneralRe: Yahoo Mail client api? Pin
Amberite005-Sep-04 2:09
Amberite005-Sep-04 2:09 
GeneralRe: Yahoo Mail client api? Pin
Colin Angus Mackay5-Sep-04 4:47
Colin Angus Mackay5-Sep-04 4:47 
AnswerRe: Yahoo Mail client api? Pin
eggie55-Sep-04 4:41
eggie55-Sep-04 4:41 
GeneralTrapping Close Window in C# Pin
YiannisF5-Sep-04 0:56
YiannisF5-Sep-04 0:56 
GeneralRe: Trapping Close Window in C# Pin
Colin Angus Mackay5-Sep-04 1:58
Colin Angus Mackay5-Sep-04 1:58 
QuestionCan i add self explained description to a Method or Function? Pin
cindy0235-Sep-04 0:07
cindy0235-Sep-04 0:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.