public BorrowLoanStasticsPage()
        {
            InitializeComponent();
            TiltEffect.SetIsTiltEnabled(this, true);

            peopleProfileViewModel = ViewModelLocator.PeopleViewModel;

            _loaningTpyeToSearch = LeanType.BorrowIn;
            this.Loaded += BorrowLoanStasticsPage_Loaded;
        }
        public PeopleInfoEditor(PhoneApplicationPage page)
        {
            InitializeComponent();

            aph = new ApplicationBarHelper(page);

            aph.AddTextBox(PeopleName, DescriptionTextBox, EmailBox);

            ControlActionTitle = AppResources.AddPerson;
            peopleProfileManagerViewModel = ViewModelLocator.PeopleViewModel;

            this.CurrencyType.ItemsSource = CurrencyHelper.CurrencyTable;

            this.DataContext = this;
        }