Hi,
I am working on an application that keeps track of the user selection on a chart region. There are two events I am primarily concerned about ChartRegionMouseDown and ChartRegionMouseUp. The user selects a region on the chart element, the events are triggered at the beginning and the end of the user selection. The MouseDown even is triggered successfully, however when the user releases the mouse key, the mouseup event is never triggered. The application seemed to work in the past in Windows XP environment (I tried on a co-workers machine). It is currently running on a Windows 7 machine (where we noticed the issue). I attempted to trigger a Windows MouseUp event, that seems to work:
//Windows MouseUp event
void chartControl_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
}
Below is the signature for the original MouseUp event that is not triggering.
/// <summary>
/// RegionMouseUp event handler for handling the user selection.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void chartControlShmoo_ChartRegionMouseUp(object sender, ChartRegionMouseEventArgs e)
{
}
Please help,
Thanks,
Leo Rakita