public MainViewModel() { _clockAddViewModel = ViewModelLocator.ClockAddStatic; var aTimer = new Timer() { Interval = 1000.0, Enabled = true, }; aTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent); }
public ClockAdd() { InitializeComponent(); _clockAddViewModel = ViewModelLocator.ClockAddStatic; }