In mdimain_MdiChildActivate
the application logic is defined for all child forms
related to GridControl
mouseDoubleClick
event .
It is working fine for all grid containing child forms but in some case where grid mouseDoubleClick
is defined internal for the Child Form.
So, the event is fired twice one from MdiParent
and for internal part.
Is there any way such that MdiParent
Parent Control event does not fire's for this mouseDoubleClick
case comparing/validating the ifexist
case for Child Form without changing the code in MDI form.
sample example :
private void MDIMain_MdiChildActivate(object sender, EventArgs e)
{
// code should not work
}
private void MainGridControl_MouseDoubleClick(object sender, MouseEventArgs e)
{
/// Child Form : code should work
}
GridControl
? some kind ofDataGridView
? – King King