public void alarm(object sender, RunEventArgs arg) { }
public void tick(object sender, RunEventArgs arg) { System.DateTime dateTime = new DateTime(); dateTime = System.DateTime.Now; Console.WriteLine($"时间为{dateTime}"); }