private void ShowInformationWindow(object obj) { if (_infoWindow == null) { _infoWindow = new InformationWindow(); } _infoWindow.NavigateWebControlToInfoPage(); _infoWindow.Show(); }
public static void ShowInformation(string title, string body) { Event e = new Event(); e.SetOnEventTriggerMethod(delegate() { InformationWindow window = ObjectPool.Get <InformationWindow>(); window.Show(title, body); window.isEvent = true; window.GetComponent <Canvas>().sortingOrder = 100; }); }
public static void ShowInformation(string title, string body, bool isEvent, string tag) { if (isEvent) { ShowInformation(title, body); } else { if (activeWindows.Contains(tag)) { return; } InformationWindow window = ObjectPool.Get <InformationWindow>(); window.Show(title, body); window.isEvent = false; window.wtag = tag; window.GetComponent <Canvas>().sortingOrder = 101; activeWindows.Add(tag); } }