myButton.ToolClick += myButton_ToolClick;
{
throw new NotImplementedException();
}
From: "bwalker@... [vantage]" <vantage@yahoogroups.com>
To: vantage@yahoogroups.com
Sent: Thursday, June 25, 2015 11:03 AM
Subject: [Vantage] E10 Custom Button
I have added a custom button on the "Actions" menu
I am having trouble adding an event handler to handle the button click
This code produces an error:
myButton.Click += new System.EventHandler(myButton_Click);
The error message:
'Infragistics.Win.UltraWinToolbars.ButtonTool' does not contain a definition for 'Click' and no extension method 'Click' accepting a first argument of type 'Infragistics.Win.UltraWinToolbars.ButtonTool' could be found (are you missing a using directive or an assembly reference?)
Any ideas on the 'proper' way to add an event handler to take care of the button click?
Thanks,
bw
On Thu, Jun 25, 2015 at 11:03 AM, bwalker@... [vantage] <vantage@yahoogroups.com> wrote:Â<div> <p></p><p><span>I have added a custom button on the "Actions" menu</span></p><p><span>I am having trouble adding an event handler to handle the button click</span></p><p><span><br></span></p><p><span>This code produces an error:</span></p><p><span>myButton.Click += new System.EventHandler(myButton_Click);</span></p><p><span><br></span></p><p><span>The error message:</span></p><p><span>Â 'Infragistics.Win.UltraWinToolbars.ButtonTool' does not contain a definition for 'Click' and no extension method 'Click' accepting a first argument of type 'Infragistics.Win.UltraWinToolbars.ButtonTool' could be found (are you missing a using directive or an assembly reference?)</span></p><p><span><br></span></p><p><span>Any ideas on the 'proper' way to add an event handler to take care of the button click?</span></p><p><span><br></span></p><p><span>Thanks,</span></p><p><span><br></span></p><p><span>bw</span></p><p></p> </div> <div style="color:#fff;min-height:0;"></div>
I did google – but I googled the error message to no avail L
Thanks!!
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Thursday, June 25, 2015 11:07 AM
To: Vantage
Subject: Re: [Vantage] E10 Custom Button
Google is your friend
Jose C Gomez
Software Engineer
T:
904.469.1524 mobile
Quis custodiet ipsos custodes?
On Thu, Jun 25, 2015 at 11:03 AM, bwalker@... [vantage] <vantage@yahoogroups.com> wrote:
I have added a custom button on the "Actions" menu
I am having trouble adding an event handler to handle the button click
This code produces an error:
myButton.Click += new System.EventHandler(myButton_Click);
The error message:
'Infragistics.Win.UltraWinToolbars.ButtonTool' does not contain a definition for 'Click' and no extension method 'Click' accepting a first argument of type 'Infragistics.Win.UltraWinToolbars.ButtonTool' could be found (are you missing a using directive or an assembly reference?)
Any ideas on the 'proper' way to add an event handler to take care of the button click?
Thanks,
bw