Click here to Skip to main content
15,920,030 members
Home / Discussions / C#
   

C#

 
GeneralRe: PictureBox Problem Pin
exhaulted15-Jun-04 22:08
exhaulted15-Jun-04 22:08 
GeneralRe: PictureBox Problem Pin
The_Soul_Of_Rock15-Jun-04 23:07
The_Soul_Of_Rock15-Jun-04 23:07 
GeneralRe: PictureBox Problem Pin
exhaulted15-Jun-04 23:26
exhaulted15-Jun-04 23:26 
GeneralRe: PictureBox Problem Pin
The_Soul_Of_Rock15-Jun-04 23:39
The_Soul_Of_Rock15-Jun-04 23:39 
GeneralRe: PictureBox Problem Pin
Heath Stewart16-Jun-04 4:10
protectorHeath Stewart16-Jun-04 4:10 
GeneralNaming Conventions Pin
Ganjah78615-Jun-04 20:49
Ganjah78615-Jun-04 20:49 
GeneralRe: Naming Conventions Pin
eggie515-Jun-04 21:00
eggie515-Jun-04 21:00 
GeneralRe: Naming Conventions Pin
Colin Angus Mackay15-Jun-04 23:42
Colin Angus Mackay15-Jun-04 23:42 
GeneralRe: Naming Conventions Pin
eggie516-Jun-04 6:25
eggie516-Jun-04 6:25 
GeneralRe: Naming Conventions Pin
Colin Angus Mackay16-Jun-04 8:56
Colin Angus Mackay16-Jun-04 8:56 
GeneralRe: Naming Conventions Pin
Ganjah78616-Jun-04 11:45
Ganjah78616-Jun-04 11:45 
GeneralRe: Naming Conventions Pin
eggie516-Jun-04 11:47
eggie516-Jun-04 11:47 
GeneralRe: Naming Conventions Pin
Ganjah78616-Jun-04 11:50
Ganjah78616-Jun-04 11:50 
GeneralRe: Naming Conventions Pin
Stefan Troschuetz15-Jun-04 21:24
Stefan Troschuetz15-Jun-04 21:24 
GeneralManaged HTML - GPL Pin
Roger Alsing15-Jun-04 20:28
Roger Alsing15-Jun-04 20:28 
GeneralRe: Managed HTML - GPL Pin
CWIZO15-Jun-04 21:19
CWIZO15-Jun-04 21:19 
GeneralRe: Managed HTML - GPL Pin
Roger Alsing15-Jun-04 21:25
Roger Alsing15-Jun-04 21:25 
GeneralRe: Running Event Methods Pin
myNameIsRon15-Jun-04 20:20
myNameIsRon15-Jun-04 20:20 
GeneralRe: Running Event Methods Pin
Stefan Troschuetz15-Jun-04 21:39
Stefan Troschuetz15-Jun-04 21:39 
myNameIsRon wrote:
How do you run an Event Method (onclick Button) from a void Method?

You can call an event handler, i assume you mean this by Event Method, from everywhere you want as long as you can access it.

myNameIsRon wrote:
The Event Method requires the object and System.EventArgs variables?
How would you supply them from a none Event Method?


As sender object you generally pass this and the EventArgs object has to be constructed.
btn_ClearTill_Click(this, new System.EventArgs());


myNameIsRon wrote:
Also, I've noticed that I can run an Event Method from another Event Method my using:
btn_ClearTill_Click(sender, e);
Is this not a good idea?


You can call an event handler from within another event handler, but it would be better to subscribe them both to the occuring event. This way both event handlers get automatically called when the event occurs.

www.troschuetz.de
GeneralRe: Running Event Methods Pin
myNameIsRon16-Jun-04 6:27
myNameIsRon16-Jun-04 6:27 
GeneralCompile Time Unmanaged DLL Checking Pin
MKlucher15-Jun-04 19:21
MKlucher15-Jun-04 19:21 
GeneralRe: Compile Time Unmanaged DLL Checking Pin
Heath Stewart16-Jun-04 4:06
protectorHeath Stewart16-Jun-04 4:06 
GeneralRe: Compile Time Unmanaged DLL Checking Pin
MKlucher16-Jun-04 6:40
MKlucher16-Jun-04 6:40 
GeneralRe: Compile Time Unmanaged DLL Checking Pin
Heath Stewart16-Jun-04 8:36
protectorHeath Stewart16-Jun-04 8:36 
GeneralRe: Compile Time Unmanaged DLL Checking Pin
MKlucher16-Jun-04 10:13
MKlucher16-Jun-04 10:13 

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.