예제 #1
0
		public WidgetProgressbar(IUIInvoker uiInvoker, Progressbar viewProgressbar, Progressbar settingsProgressbar)
		{
			Guard.Requires<ArgumentException>(uiInvoker != null);
			Guard.Requires<ArgumentException>(viewProgressbar != null);
			Guard.Requires<ArgumentException>(settingsProgressbar != null);

			this.uiInvoker = uiInvoker;
			this.viewProgressbar = viewProgressbar;
			this.settingsProgressbar = settingsProgressbar;
		}
예제 #2
0
        public void OnInitialize()
        {
            Title = "Select Widgets";

            AvailableWidgets = new ObservableCollection<WidgetMetadata>();
            Progressbar = new Progressbar();

#if SILVERLIGHT
            View = new SelectWidgetsDialogView();
#endif

            PropertyChanged +=
                (o, e) => { if (e.PropertyName == "SearchTerm") TriggerPropertyChanged("FilteredWidgets"); }; 

        }
예제 #3
0
		partial void OnSetSettingsProgressbar(ref Progressbar value);
예제 #4
0
		partial void OnSetViewProgressbar(ref Progressbar value);