internal void ShowBeamsUpdateUI() { if (beamsUpdateWindow == null || beamsUpdateWindow.isShowned == false) { if (uiApp != null) { uiApp.ViewActivated += BeamsUpdate_ViewActivated; } requestBeamsUpdateHandler = new RequestBeamsUpdateHandler(); externalBeamsUpdateEvent = ExternalEvent.Create(requestBeamsUpdateHandler); beamsUpdateWindow = new BeamsUpdateUI(externalBeamsUpdateEvent, requestBeamsUpdateHandler); beamsUpdateWindow.Show(); } }
internal BeamsUpdateUI(ExternalEvent targetEvent, RequestBeamsUpdateHandler targetHandler) { InitializeComponent(); localExternalEvent = targetEvent; localExternalEventHandler = targetHandler; }