//private readonly ILog _logger = LogManager.GetLogger(typeof(HelloJob)); //_logger.InfoFormat("HelloJob测试"); public void Execute(IJobExecutionContext context) { //MessageBox.Show("HelloJob"); try { SendMsg.SendLis(); } catch (Exception) { throw; } }
private void button1_Click(object sender, EventArgs e) { SendMsg.SendLis(); //label1.Text = getBirthDay("0012428559"); }