Hi Steema Support,
How can get the double click on Rectangle tool as shown in fig.
When we double click on Rectangle Tool it Should raise a Message showing that Mouse double clicked on Rectangle Tool.
It will so helpful for us if you please provide any alternative solution.
Thanks in advance.
Thanks and Regards
Planoresearch
get the double click on Rectangle tool
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: get the double click on Rectangle tool
Hello Amol,
You could try something similar to:Amol wrote:When we double click on Rectangle Tool it Should raise a Message showing that Mouse double clicked on Rectangle Tool.
It will so helpful for us if you please provide any alternative solution.
Code: Select all
RectangleTool tool;
private void InitializeChart()
{
tool = new RectangleTool(tChart1.Chart);
tool.Text = "Hello!";
tool.Shape.Transparency = 0;
tChart1.MouseDoubleClick += tChart1_MouseDoubleClick;
}
void tChart1_MouseDoubleClick(object sender, MouseEventArgs e)
{
MessageBox.Show(tool.Bounds.Contains(e.Location).ToString());
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |