예제 #1
0
        //ADD NEW TASK
        private void btnAddTask_Click(object sender, RoutedEventArgs e)
        {
            NewTask w = new NewTask();

            w.idUserLogged = userId;
            w.Show();
        }
예제 #2
0
        //EDIT TASK
        private void btnEditTask_Click(object sender, RoutedEventArgs e)
        {
            NewTask w = new NewTask();

            w.idUserLogged = userId;
            w.Title        = "Edit Task";
            w.getData_Task(selectedTask);
            w.Show();
        }