示例#1
0
文件: Engine.cs 项目: gcmcom/Eddie
        public override void OnShowText(string title, string data)
        {
            base.OnShowText(title, data);

            if (FormMain != null)
            {
                FormMain.OnShowText(title, data);
            }
        }
示例#2
0
文件: UiClient.cs 项目: nir94/Eddie
        public override Json Command(Json data)
        {
            string cmd = data["command"].Value as string;

            if (cmd == "ui.show.manifest")
            {
                MainWindow.OnShowText("Json Data", Data.ToJsonPretty());
                return(null);
            }
            else
            {
                return(Engine.UiManager.SendCommand(data, this));
            }
        }