Exemplo n.º 1
0
        public void lua_run(string script, IBaseWindow baseWin, ITextBoxHandler debugOutput)
        {
            fDebugOutput = debugOutput;
            fBase        = baseWin;

            using (Lua lvm = new Lua())
            {
                try {
                    lua_init(lvm);
                    lvm.DoString(script);
                } catch (Exception ex) {
                    lua_print("> " + LangMan.LS(LSID.LSID_Error) + ": " + ex.Message);
                }
            }
        }
Exemplo n.º 2
0
        public TextBoxLogicTest()
        {
            textBoxPersistence = new TextBoxPersistanceHandler();

            textBoxHandler = new TextBoxHandler();
        }