Search:

Type: Posts; User: gargamel

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,456

    @nvoigt: Well, button1.Click(null) gives "The...

    @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...
  2. Replies
    5
    Views
    1,456

    "button1_Click" is not an event, it'a an event...

    "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...
  3. Replies
    5
    Views
    1,456

    Simulating an event

    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...
  4. Replies
    1
    Views
    1,737

    OK, I got it working now.

    OK, I got it working now.
  5. Replies
    1
    Views
    1,737

    Date/Time in a DataGrid

    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...
  6. Replies
    3
    Views
    1,180

    Ok, that works fine for functions. But, how do I...

    Ok, that works fine for functions. But, how do I declare/define classes so they have proper names?
  7. Replies
    3
    Views
    1,180

    Wierd dll function 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;
    }
  8. Replies
    1
    Views
    1,883

    Serial port reading

    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...
  9. Replies
    2
    Views
    4,621

    OK, thanks. It's working now.

    OK, thanks. It's working now.
  10. Replies
    2
    Views
    4,621

    Combobox problem

    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...
  11. Replies
    6
    Views
    5,103

    OK, I'm doing the same thing as PJYelton, no data...

    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....
Results 1 to 11 of 11