public CloudViewModel(Cloud cloud, CloudNavigationModel navigation) { _cloud = cloud; _navigation = navigation; _depCenterByThought = new Dependent(() => { _centerByThought = CalculateCenterByThought(); UpdateInertialCoordinates(); }); DispatcherTimer timer = new DispatcherTimer(); timer.Interval = TimeSpan.FromSeconds(0.05); timer.Tick += new EventHandler(AnimateThoughts); timer.Start(); }
public CloudTabViewModel(Cloud cloud, CloudNavigationModel navigation) { _cloud = cloud; _navigation = navigation; }