private void DeviceConfiguration_Edited(INodeWrapper sender, NodeBase oldNode, NodeBase newNode) { var newDC = newNode as NodeDeviceConfiguration; if (newDC != null) { RuntimeApplication = RuntimeApplication.SetDeviceConfiguration(newDC); } }
void Logic_Edited(INodeWrapper sender, NodeBase oldNode, NodeBase newNode) { var newLogic = newNode as NodePageCollection; if (newLogic != null) { RuntimeApplication = RuntimeApplication.SetLogic(newLogic); } }