Exemplo n.º 1
0
 /// <summary>
 /// Adds inserted by user text to database
 /// Every Add button works the same with slight diffrence of proper tabels for each button
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AddInProgress_Click(object sender, RoutedEventArgs e)
 {
     SQLiteDA.Add(userSub + "ip", "InProgress", chosendate.Content.ToString(), TextBoxInProgress.Text.ToString(), InProgressNo.Text.ToString());
     Inprogress.ItemsSource = SQLiteDA.GetData(userSub + "ip", "InProgress", chosendate.Content.ToString()).DefaultView;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds inserted by user text to database
 /// Every Add button works the same with slight diffrence of proper tabels for each button
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AddDone_Click(object sender, RoutedEventArgs e)
 {
     SQLiteDA.Add(userSub + "d", "Done", chosendate.Content.ToString(), TextBoxDone.Text.ToString(), DoneNo.Text.ToString());
     Done.ItemsSource = SQLiteDA.GetData(userSub + "d", "Done", chosendate.Content.ToString()).DefaultView;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Adds inserted by user text to database
 /// Every Add button works the same with slight diffrence of proper tabels for each button
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AddToDo_Click(object sender, RoutedEventArgs e)
 {
     SQLiteDA.Add(userSub + "td", "ToDo", chosendate.Content.ToString(), TexBoxToDo.Text.ToString(), ToDoNo.Text.ToString());
     Todo.ItemsSource = SQLiteDA.GetData(userSub + "td", "ToDo", chosendate.Content.ToString()).DefaultView;
 }