public void OnStateChanged(Object pSource, AllEnums.State pState) { if (this.StateChange != null) { StateChange(pSource, pState); } }
public void SetNewState(Object pSource, AllEnums.State pState) { m_CurrentState = pState; if (StateChange != null) { StateChange(pSource, pState); } }
private void StateChange(object pSource, AllEnums.State pState) { if (pState == HciLab.motionEAP.InterfacesAndDataModel.AllEnums.State.IDLE) { //checkBoxProjectVisualFeedback.IsChecked = SettingsManager.Instance.Settings.BoxesVisualFeedbackProject; } else if (pState == HciLab.motionEAP.InterfacesAndDataModel.AllEnums.State.EDIT) { SceneManager.Instance.TemporaryBoxScene.Clear(); } }