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; }
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"); }; }
partial void OnSetSettingsProgressbar(ref Progressbar value);
partial void OnSetViewProgressbar(ref Progressbar value);