Win Form that is a part of a OakLeaf.MM.Main.Windows.Forms.mmMaintenanceForm.
I have both a mmDataGrid and a dataGrid on a form, I can't seem to capture an event _Click, _Navigate,....
this code fails to show in the debugger in this form but does in a plain form out of this project:
private void dataGrid1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
System.Drawing.Point pt = new Point(e.X, e.Y);
DataGrid.HitTestInfo hti = dataGrid1.HitTest(pt);
if(hti.Type == DataGrid.HitTestType.Cell)
{
dataGrid1.CurrentCell = new DataGridCell(hti.Row, hti.Column);
dataGrid1.Select(hti.Row);
}
}
I give up. why can't you grab what is happening in the mmMaintenanceForm?