internal static void ShowSession(int ID) { Session IrSe = null; if (RedGroupSessions.ContainsKey(ID)) { lock (RedGroupSessions) { IrSe = RedGroupSessions[ID]; IrSe.Flags["Group"] = "Red"; } } else if (BlueGroupSessions.ContainsKey(ID)) { lock (BlueGroupSessions) { IrSe = BlueGroupSessions[ID]; IrSe.Flags["Group"] = "Blue"; } } else if (GreenGroupSessions.ContainsKey(ID)) { lock (GreenGroupSessions) { IrSe = GreenGroupSessions[ID]; IrSe.Flags["Group"] = "Green"; } } else if (GrayGroupSessions.ContainsKey(ID)) { lock (GrayGroupSessions) { IrSe = GrayGroupSessions[ID]; IrSe.Flags["Group"] = "Gray"; } } else if (BrownGroupSessions.ContainsKey(ID)) { lock (BrownGroupSessions) { IrSe = BrownGroupSessions[ID]; IrSe.Flags["Group"] = "Brown"; } } if (IrSe != null) { IronUI.FillMTFields(IrSe); if (IrSe.Flags.ContainsKey("Reflecton")) { IronUI.FillTestReflection(IrSe.Flags["Reflecton"].ToString()); } else { IronUI.FillTestReflection(""); } } }