protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            IncomeExpenseController controller = new IncomeExpenseController();
            SeperateDetails         details    = controller.incomeExpenseTotal();

            mainview_inflow_field.Text  = "Rs. " + details.Income.ToString() + ".00";
            mainview_outflow_field.Text = "Rs. " + details.Expense.ToString() + ".00";
            mainview_balance_field.Text = "Rs. " + details.Balance.ToString() + ".00";
        }
        public MainView()
        {
            this.InitializeComponent();

            IncomeExpenseController controller = new IncomeExpenseController();
            SeperateDetails         details    = controller.incomeExpenseTotal();

            mainview_inflow_field.Text  = "Rs. " + details.Income.ToString() + ".00";
            mainview_outflow_field.Text = "Rs. " + details.Expense.ToString() + ".00";
            mainview_balance_field.Text = "Rs. " + details.Balance.ToString() + ".00";
        }