public CalendarPage_Mobile()
        {
            this.InitializeComponent();

            datenViewModel = new MonatYearDaten();
            uNFI           = new CostsIncomes.UserNumberFormat();
            //optionsBuilder = new DbContextOptionsBuilder<Store.DataBase.DataBaseEF.DataBaseFile>();
            //optionsBuilder.UseSqlite("Filename=Balance.db");
            //dataBase = new Store.DataBase.DataBaseEF.DataBaseFile(optionsBuilder.Options);
            //dataBase = new Store.DataBase.DataBaseEF.DataBaseFile();
        }
Пример #2
0
        public HomePage()
        {
            this.InitializeComponent();

            viewModel   = ServiceLocator.Current.GetInstance <HomeViewModel>();
            DataContext = viewModel;

            datum = new MonatYearDaten();
            uNFI  = new Mobile.CostsIncomes.UserNumberFormat();

            this.Loaded += HomePage_Loaded;
        }
Пример #3
0
        /// <summary>
        /// Default Construktor
        /// </summary>
        public SaveResult()
        {
            this.InitializeComponent();
            uNFI = new UserNumberFormat();
            var loader = new Windows.ApplicationModel.Resources.ResourceLoader();

            btnSpeichern.Content = loader.GetString("BtnSave");

            comboBox.SelectedIndex = IndexComboBox;
            txtBoxWert.Text        = 0.ToString("C", uNFI.GetNFI());
            //optionsBuilder = new DbContextOptionsBuilder<Store.DataBase.DataBaseEF.DataBaseFile>();
            //optionsBuilder.UseSqlite("Filename=Balance.db");
            //dataBase = new Store.DataBase.DataBaseEF.DataBaseFile(optionsBuilder.Options);
            dataBase     = new Store.DataBase.DataBaseEF.DataBaseFile();
            this.Loaded += SaveResult_Loaded;
        }