public ScheduleManagerViewModel()
 {
     this.Current = new TallySchedule();
     this.Current.ProfileRecordType = ScheduleRecordType.ScheduledRecord;
     this.SearchingCondition = new AssociatedItemsSelectorOption();
     this.SearchingCondition.SearchingScope = SearchingScope.CurrentMonth;
     this.Tasks = new ObservableCollection<TallySchedule>();
     this.manager = new SecondSchedulePlanningManager(this.AccountBookDataContext);
     this.HasLoadAssociatedItemsForCurrentViewAccount = false;
 }
 public EditExpenseOrIncomeSchedule()
 {
     this.InitializeComponent();
     this.manager = new SecondSchedulePlanningManager(ViewModelLocator.AccountBookDataContext);
     TiltEffect.SetIsTiltEnabled(this, true);
     base.ApplicationBar.GetIconButtonFrom(0).Text = AppResources.Save;
     base.ApplicationBar.GetIconButtonFrom(1).Text = AppResources.Cancel;
     this.SetExampleName();
     this.scheduleManagerViewModel = ViewModelLocator.ScheduleManagerViewModel;
     this.scheduleDataInfo = new TallySchedule();
     this.manager = this.scheduleManagerViewModel.ScheduleManager;
     this.InitializedFrequencySelector();
     base.DataContext = this.scheduleManagerViewModel;
 }