private void Button_Click_Back(object sender, RoutedEventArgs e) { KanbanWindow kanban = new KanbanWindow(email); //opening the kanban window kanban.Show(); Close(); }
private void Button_Click_Create(object sender, RoutedEventArgs e) { bool b = VM.CreateColumn(); if (!b) { MessageBox.Show("There is a problem with the things you entered"); } else { KanbanWindow kanban = new KanbanWindow(email); //opening the kanban window kanban.Show(); Close(); } }