Remove duplicate .Click event from ButtonBase
This commit is contained in:
parent
ca7130fa96
commit
8510ca5b3d
31 changed files with 64 additions and 78 deletions
|
|
@ -92,7 +92,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage
|
|||
linkButtonFactory.fontSize = 10;
|
||||
Button cloudSyncGoLink = linkButtonFactory.Generate("Go to Dashboard".Localize().ToUpper());
|
||||
cloudSyncGoLink.ToolTipText = "Open cloud sync dashboard in web browser".Localize();
|
||||
cloudSyncGoLink.Click += new EventHandler(cloudSyncGoButton_Click);
|
||||
cloudSyncGoLink.Click += cloudSyncGoButton_Click;
|
||||
cloudSyncGoLink.VAnchor = VAnchor.ParentCenter;
|
||||
|
||||
|
||||
|
|
@ -135,7 +135,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage
|
|||
configureNotificationSettingsButton.Name = "Configure Notification Settings Button";
|
||||
configureNotificationSettingsButton.Margin = new BorderDouble(left: 6);
|
||||
configureNotificationSettingsButton.VAnchor = VAnchor.ParentCenter;
|
||||
configureNotificationSettingsButton.Click += new EventHandler(configureNotificationSettingsButton_Click);
|
||||
configureNotificationSettingsButton.Click += configureNotificationSettingsButton_Click;
|
||||
|
||||
notificationSettingsLabel = new TextWidget("Notifications".Localize());
|
||||
notificationSettingsLabel.AutoExpandBoundsToText = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue