Esempio n. 1
0
 public Image GetIconFor(SceneId sceneId) => sceneIcons.TryGetValue(sceneId, out var iconId)
     ? GetIconFor(iconId)
     : SystemIcons.Question.ToBitmap();
Esempio n. 2
0
 public string GetNameFor(SceneId sceneId) => SceneNames.TryGetValue(sceneId, out var name) ? name : "<unknown>";