Esempio n. 1
0
        public static void IOCallback(GuiControl dlg, string callback)
        {
            GuiPopUpMenuCtrl IODropdownMenu = "IODropdownMenu";
            int    id   = IODropdownMenu.getSelected();
            string text = IODropdownMenu.getTextById(id);

            callback = callback.Replace("#", text);
            omni.console.Eval(callback);
            ((GuiCanvas)"Canvas").popDialog(dlg);
        }