Beispiel #1
0
        public Form1()
        {
            Form1._me = this;
            _debuggerLogDelegate = new DebuggerLog(DebuggerLogMethod);

            InitializeComponent();
            m_debugger = new ktDebug();
            m_debugger.Enable();
            m_debugger.OnDebug += m_debugger_OnDebug;

            ktModule mainLib = new ktMainLib.ktMain();
            new ktIDEContext(mainLib.GetContext("Main"));

            m_Talker = new ktMainLib.ktTalker("URI=localhost/kacTalk_PHP;PROTO=HTTP;KEY=658B8C89-BA37-42D6-8D02-7119A5FA613A");
            m_Talker.Initiate();

            m_Talker.AddExtraParameter("ID", "u1234455");

            m_Talker.GetObject("kto");
            m_Talker.RunMethod("kto");

            m_KT = new kacTalk(false);
            m_KT.AllowMissingEOL = true;
            m_KT.MathMode = true;
            m_KT.AddModule( mainLib );
            //m_KT.AddModule( new ktIDEModule() );
            m_KT.AddDefaultValues();

            LoadExample(2);
        }
Beispiel #2
0
 public ktDebug()
 {
     m_Debugger = this;
 }