public static RemoteLayout GetRemoteLayout(VLSYS_Mplay.RemoteControl RCSettings) { RemoteLayout layout = new RemoteLayout(); layout.DisableRemote = false; layout.DisableRepeat = false; layout.RepeatDelay = false; layout.RemoteMapping = false; layout.Label1 = false; string type = Settings.Instance.Type; if (type != null) { if (!(type == "VLSYS_Mplay")) { if (((type == "MatrixMX") || (type == "MatrixGX")) || (type == "iMONLCDg")) { } } else { layout.DisableRemote = true; if (!RCSettings.DisableRemote) { layout.DisableRepeat = true; if (!RCSettings.DisableRepeat) { layout.RepeatDelay = true; } layout.RemoteMapping = true; } return(layout); } } layout.Label1 = true; return(layout); }
public static RemoteLayout GetRemoteLayout(VLSYS_Mplay.RemoteControl RCSettings) { RemoteLayout layout = new RemoteLayout(); layout.DisableRemote = false; layout.DisableRepeat = false; layout.RepeatDelay = false; layout.RemoteMapping = false; layout.Label1 = false; string type = Settings.Instance.Type; if (type != null) { if (!(type == "VLSYS_Mplay")) { if (((type == "MatrixMX") || (type == "MatrixGX")) || (type == "iMONLCDg")) {} } else { layout.DisableRemote = true; if (!RCSettings.DisableRemote) { layout.DisableRepeat = true; if (!RCSettings.DisableRepeat) { layout.RepeatDelay = true; } layout.RemoteMapping = true; } return layout; } } layout.Label1 = true; return layout; }