Hi,
I have a button which when clicked runs some code.
I want to call the 'click' event when i load the form for the first time to run this code.
In vb i just said 'command1_click'.
The Click method in .Net requires arguments (object sender, System.EventArgs e) which i don't have.
Can i do this? or do i just move the code out of the event into another function?
SD
I have a button which when clicked runs some code.
I want to call the 'click' event when i load the form for the first time to run this code.
In vb i just said 'command1_click'.
The Click method in .Net requires arguments (object sender, System.EventArgs e) which i don't have.
Can i do this? or do i just move the code out of the event into another function?
SD