Esempio n. 1
0
        private TaskHandler()
        {
            activeTask = null;

            //Connect to DB
            try
            {
                db = new SQLiteConnection(taskDBPath);
                //create table if not exists
                db.CreateTable <Task>();
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }

            //Connect to Google API?
            calendar = new GoogleCalendarHandler();
        }
Esempio n. 2
0
        private TaskHandler()
        {
            activeTask = null;

            //Connect to DB
            try
            {
                db = new SQLiteConnection(taskDBPath);
                //create table if not exists
                db.CreateTable<Task>();
            }
            catch(Exception e)
            {
                Console.WriteLine(e.Message);
            }
            
            //Connect to Google API?
            calendar = new GoogleCalendarHandler();
        }