【发布时间】:2010-05-07 06:22:07
【问题描述】:
您能否显示来自 Windows 服务的消息框(或任何形式的通知)?无法让它工作。我用过:
global::System.Windows.Forms.MessageBox.Show("A fatal error occurred. " +
ServiceName + " is now terminating.");
但它不起作用,只是产生了一个错误。
【问题讨论】:
标签: windows-services messagebox