Пример #1
0
        partial void OnInitialize()
        {
        	moduleLoader = this.GetDependency<IModuleLoader>();

            Widgets = new ObservableCollection<Widget>();
            ErrorInfo = new ErrorInfo();

            LoadTraybarWidgets();
        }
Пример #2
0
        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();
            }
        }
Пример #3
0
		partial void OnSetErrorInfo(ref ErrorInfo value);