using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using ICSharpCode.Core; using Mesnac.Action.Base; using Mesnac.Controls.Base; namespace Mesnac.Action.Default.Test { public class TestAction : DatabaseAction, IAction { private string caption = StringParser.Parse(ResourceService.GetString("Mesnac_Dialog_Caption")); //提示 public void Run(RuntimeParameter runtime) { base.RunIni(runtime); //必须调用 base.LogDebug("业务测试..."); string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_Default_Test_Text")); //您现在正在进行业务测试... ShowMsg(msg, caption, MessageBoxButtons.OK, MessageBoxIcon.Information); } } }