@nvoigt:
Well, button1.Click(null) gives "The event 'event' can only appear on the left hand side of += or -=" error :(
@stovellp:
Ok, but those are both events that have methods that raise...
Type: Posts; User: gargamel
@nvoigt:
Well, button1.Click(null) gives "The event 'event' can only appear on the left hand side of += or -=" error :(
@stovellp:
Ok, but those are both events that have methods that raise...
"button1_Click" is not an event, it'a an event handler, i. e. a function or method. But "button1.Click" is. What if I don't know what function is event handler for a specific event. How do I raise...
Is there any way that I can raise an already defined event, e.g. button1_Click event? I've looked in MSDN but it only shows how to define your own events but doesn't show how to call a already...
OK, I got it working now.
I have a DataGrid control in my form, and I'm trying to make it show date and time. It is bind(ed?) to a dataset which contains a date/time column (which is filled with data from SQL database, by the...
Ok, that works fine for functions. But, how do I declare/define classes so they have proper names?
I'm trying to make a WIN32 dll but I doesn't compile right somehow. For example:
__declspec(dllexport) int testfun(int x)
{
return x+1;
}
I'm trying to make a program in C# that reads some characters from an external device attached to serial port. I've looked in MSDN but I couldn't figure out anything. It seems to be complicated...
OK, thanks. It's working now.
I'm trying to make a combo box in a dialog window. I create a dialog in VC++ editor, empty combo box in it and then add data to it with SendMessage(hwndcombo, CB_ADDSTRING, o, "Data1") during...
OK, I'm doing the same thing as PJYelton, no data in combo box when I enter it via properties dialog. So, I make an empty combobox and the add data to it with SendMessage, but i doesn't work either....