/// <summary> /// Show the correct GUI for the selected device /// </summary> /// <param name="selectedIndex">The index of the selected item in the dropdown</param> /// <summary> /// Reload all .amlx files in ./modellingwizard/ and update the dropdown. /// </summary> /// <summary> /// Switch the displayed /// </summary> /// <param name="targetGUI">the GUI Type to display</param> public void ChangeGui(MWGUIType targetGUI) { switch (targetGUI) { case MWGUIType.DeviceDescription: modellingWizard.changeGUI(GetDeviceDescriptionForm()); break; } }
/// <summary> /// Switch the displayed /// </summary> /// <param name="targetGUI">the GUI Type to display</param> public void ChangeGui(MWGUIType targetGUI) { switch (targetGUI) { case MWGUIType.CreateDevice: modellingWizard.changeGUI(GetCreateDeviceForm()); break; case MWGUIType.CreateInterface: modellingWizard.changeGUI(GetCreateInterfaceForm()); break; case MWGUIType.Start: modellingWizard.changeGUI(GetStartGUI()); break; } }