Esempio n. 1
0
        protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);

            EditorService.Stop();
            EngineService.Stop();
            LogService.Stop();
        }
Esempio n. 2
0
        protected override void OnLoad(EventArgs e)
        {
            LogService.Start(mLogsControl.mEditorLogControl);
            EditorService.Start();

            base.OnLoad(e);

            try
            {
                EngineService.Start(mEnginePanel);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Esempio n. 3
0
 void mSocket_MessageReceived(object sender, WebSocket4Net.MessageReceivedEventArgs e)
 {
     LogService.Log("socket_DataReceived:" + e.Message);
     EditorService.ProcessMessage(e.Message);
 }