Esempio n. 1
0
        public static ActionUC CreateAndAddActionUC(SceneMgr mgr, ActionBar actionbar, ActionController <ActionUC> controller)
        {
            ActionUC wnd = null;

            mgr.Invoke(new Action(() =>
            {
                wnd = ActionUC.CreateWindow(controller);
                actionbar.AddItem(wnd);
            }));

            return(wnd);
        }