R
René Meinecke
hi there,
i want to raise an event, for example a DoubleClick-Event of a DataGrid, but
i do not want to call a function
which is event handler.
Right now i do it like this:
void this_KeyDown(object sender, KeyEventArgs ke)
{
if (ke.KeyCode == Keys.Space)
this_DoubleClick(sender, null);
} // this_KeyDown
But in my form window, which holds the DataGrid, i did not get any calls
depending on the DoubleClick,
so i can´t do anything on that moment.
Plz help!
René
i want to raise an event, for example a DoubleClick-Event of a DataGrid, but
i do not want to call a function
which is event handler.
Right now i do it like this:
void this_KeyDown(object sender, KeyEventArgs ke)
{
if (ke.KeyCode == Keys.Space)
this_DoubleClick(sender, null);
} // this_KeyDown
But in my form window, which holds the DataGrid, i did not get any calls
depending on the DoubleClick,
so i can´t do anything on that moment.
Plz help!
René