public void TargetsClearCommandMethod() { ManageDatabase manageDatabase = new ManageDatabase(caller.CurrentUser); manageDatabase.ClearTargets(); manageDatabase.LoadTargets(caller.Target_Stackpanel); }
private void CloseBtn_Click(object sender, RoutedEventArgs e) { ManageDatabase md = new ManageDatabase(User); bool test = md.RemoveTarget(Title, Task); md.LoadTargets(Stackpanel); Console.WriteLine("CloseBtn_Click"); }
public void TargetsAddTargetCommandMethod() { ManageDatabase manageDatabase = new ManageDatabase(caller.CurrentUser); manageDatabase.AddTarget(Target_title_text, Target_content_text); caller.Target_title.Clear(); caller.Target_content.Clear(); manageDatabase.LoadTargets(caller.Target_Stackpanel); }