示例#1
0
        public ClockDisplay(String ts)
        {
            InitializeComponent();



            clock            = new ClockVM(ts);
            this.DataContext = clock;
        }
示例#2
0
 public ClockDisplay(ClockVM clock)
 {
     this.clock       = new ClockVM(clock.getDateTime());
     this.DataContext = clock;
 }