public ElementJoinSelectUI(ExternalEvent targetEvent, RequestElementsSelectHandler targetHandler) { InitializeComponent(); currentExternalEvent = targetEvent; currentElemenSelectHandler = targetHandler; }
internal void ShowJoinElementsSelectUI() { if (joinElementSelectWindow == null || joinElementSelectWindow.isShowned == false) { if (uiApp != null) { uiApp.ViewActivated += joinElementSelectWindow_ViewActivated; } requestjoinElementSelecHandler = new RequestElementsSelectHandler(); joinElementSelecEvent = ExternalEvent.Create(requestjoinElementSelecHandler); joinElementSelectWindow = new ElementJoinSelectUI(joinElementSelecEvent, requestjoinElementSelecHandler); joinElementSelectWindow.Show(); joinElementSelectWindow.isShowned = true; } }