示例#1
0
        public Berufs(int MyCount, int MyPages)
        {
            InitializeComponent();
            GlobalClass.AppText(this.GetType().Name);

            //UI Plattformabhängig konfigurieren A.S.
            Device.OnPlatform(iOS: () => SetUIiOS());

            dbcv = new DBStorageCV();
            int curCVID = dbcv.CurrentCVID;
            var query   = dbcv.dbCon.Table <BeruflicheTätigkeitTableItem>().Where(v => v.PersonendatenID == curCVID);

            SumPages  = query.Count();
            MyCounter = MyCount;
            if (MyCount > 1)
            {
                imagePath = "Del2.png";
            }
            else
            {
                imagePath = "del1.png";
            }
            CheckLang();
            BindingContext = this;
            LoadData();
        }
示例#2
0
        public CreateDocFile()
        {
            InitializeComponent();
            GlobalClass.AppText(this.GetType().Name);

            dbcv = new DBStorageCV();
            CheckLang();
            BindingContext = this;
        }
示例#3
0
        public LebenslaufList()
        {
            LebenslaufItem = new ObservableCollection <LebenslaufItems>();
            InitializeComponent();
            GlobalClass.AppText(this.GetType().Name);

            dbcv = new DBStorageCV();
            LoadMyList();
            BindingContext = this;
        }
        public ContactInfo()
        {
            InitializeComponent();
            GlobalClass.AppText(this.GetType().Name);

            //Datenbank initialisieren
            dbcv = new DBStorageCV();
            CheckLang();
            BindingContext = this;
            LoadData();
        }
        public MainPageModel()
        {
            var mydb = new DBStorageCV();

            mydb.PrepareDB();
            // mydb.Testdb();


            Button1Text = "Lebenslauf erstellen";
            Vorname     = "Peter";
        }
        public NameOfCV()
        {
            InitializeComponent();
            GlobalClass.AppText(this.GetType().Name);
            //Datenbank initialisieren
            dbcv = new DBStorageCV();
            //A.S.
            Device.OnPlatform(iOS: () => SetUIiOS());

            LoadData();
            CheckLang();
            BindingContext = this;
        }
        public ContactInfo()
        {
            InitializeComponent();
            GlobalClass.AppText(this.GetType().Name);

            //UI Plattformabhängig konfigurieren A.S.
            Device.OnPlatform(iOS: () => SetUIiOS());

            //Datenbank initialisieren
            dbcv = new DBStorageCV();
            CheckLang();
            BindingContext = this;
            LoadData();
        }
示例#8
0
        public MainPage()
        {
            InitializeComponent();

            masterPage.ListView.ItemSelected += OnItemSelected;

            if (Device.OS == TargetPlatform.Windows)
            {
                Master.Icon = "icon.png";
            }

            var dbcv = new DBStorageCV();

            dbcv.PrepareDB();
            dbcv.InitDB();
        }
        public Language(int MyCount, int MyPages)
        {
            InitializeComponent();
            GlobalClass.AppText(this.GetType().Name);

            dbcv = new DBStorageCV();
            int curCVID = dbcv.CurrentCVID;
            var query   = dbcv.dbCon.Table <SprachkenntnisseTableItem>().Where(v => v.PersonendatenID == curCVID);

            SumPages  = query.Count();
            MyCounter = MyCount;
            if (MyCount > 1)
            {
                imagePath = "Del2.png";
            }
            else
            {
                imagePath = "del1.png";
            }
            CheckLang();
            BindingContext = this;
            LoadData();
        }