private void OnNetworkUIChanged(Notification.ParameterChanged param) { ToggleApplyChanges(Const.Toggle.On); CtlMenuStart.IsEnabled = false; if (param == Notification.ParameterChanged.NeuronsCount) { if (NetworksManager != null) { if (NetworksManager.IsValid()) { NetworksManager.ResetLayersTabsNames(); } else { ToggleApplyChanges(Const.Toggle.Off); } } if (CtlInputDataPresenter.Task != null && !CtlInputDataPresenter.Task.IsValid()) { ToggleApplyChanges(Const.Toggle.Off); } } }
private void OnNetworkUIChanged(Notification.ParameterChanged param, object newValue = null) { ToggleApplyChanges(Const.Toggle.On); CtlMenuStart.Enabled = false; if (param == Notification.ParameterChanged.NeuronsCount) { if (NetworksManager != null) { NetworksManager.ResetLayersTabsNames(); } } }