Re-wrote toggle switch to be a view for checkbox.

This commit is contained in:
Lars Brubaker 2015-04-22 08:43:09 -07:00
parent 1298163600
commit f3f921ab4f
11 changed files with 29 additions and 125 deletions

View file

@ -962,8 +962,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private void AddHandlers()
{
expandModelOptions.CheckedStateChanged += new CheckBox.CheckedStateChangedEventHandler(expandModelOptions_CheckedStateChanged);
expandDisplayOptions.CheckedStateChanged += new CheckBox.CheckedStateChangedEventHandler(expandDisplayOptions_CheckedStateChanged);
expandModelOptions.CheckedStateChanged += expandModelOptions_CheckedStateChanged;
expandDisplayOptions.CheckedStateChanged += expandDisplayOptions_CheckedStateChanged;
}
private void expandModelOptions_CheckedStateChanged(object sender, EventArgs e)