コード例 #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;
        }
コード例 #4
0
        public ContactInfo()
        {
            InitializeComponent();
            GlobalClass.AppText(this.GetType().Name);

            //Datenbank initialisieren
            dbcv = new DBStorageCV();
            CheckLang();
            BindingContext = this;
            LoadData();
        }
コード例 #5
0
        public MainPageModel()
        {
            var mydb = new DBStorageCV();

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


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

            LoadData();
            CheckLang();
            BindingContext = this;
        }
コード例 #7
0
        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();
        }
コード例 #9
0
        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();
        }