partial void OnInitialize() { moduleLoader = this.GetDependency<IModuleLoader>(); Widgets = new ObservableCollection<Widget>(); ErrorInfo = new ErrorInfo(); LoadTraybarWidgets(); }
partial void OnInitialize() { SelectWidgetsDialog = new SelectWidgetsDialog(); moduleLoader = this.GetDependency<IModuleLoader>(); log = this.GetDependency<ILog>(); ErrorInfo = new ErrorInfo(); Slides = new ObservableCollection<Slide>(); Slides.CollectionChanged += Slides_CollectionChanged; TryLoadSlides(); SetSlideshowInfo(); timer = this.GetDependency<ITimer>(); timer.Elapsed += timer_Elapsed; modalDialogService = this.GetDependency<IModalDialogService>(); if (Slides.Count > 0) { cursor = 0; ChangeSlide(); } }
partial void OnSetErrorInfo(ref ErrorInfo value);