示例#1
0
文件: Traybar.cs 项目: ArildF/Smeedee
        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);