有什么方法可以获取当前winfrom程序后端的所有的提示信息,然后把它存起来。
if (!File.Exists(System.Windows.Forms.Application.StartupPath.ToString() + @"\tftpd32.exe"))
{
MessageBox.Show("未找到ftpd32.exe,请联系工程部!");
return "Error";
}
int _mini = Utils.executeUpdate(sqlStr, connStr);
if (_mini > 0)
{
labMsg.Text = "处理成功,请继续。";
}
else
{
labMsg.Text = "处理失败,请联系MIS!";
}