public ElementJoinSelectUI(ExternalEvent targetEvent, RequestElementsSelectHandler targetHandler)
        {
            InitializeComponent();

            currentExternalEvent       = targetEvent;
            currentElemenSelectHandler = targetHandler;
        }
예제 #2
0
        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;
            }
        }