示例#1
0
        public void Press(object sender, Watch.ReachTimeEventArgs args)
        {
            var watch = (Watch)sender;

            Console.WriteLine("Stop");
        }
示例#2
0
        public void Belling(object sender, Watch.ReachTimeEventArgs args)
        {
            var w = (Watch)sender;

            Console.WriteLine($"Time:{w.Time} at {w.Place}");
        }