private void NewTask_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { NewTaskWindow newTaskWindow = new NewTaskWindow(this); newTaskWindow.Show(); }
private void NewTaskButton_Click(object sender, RoutedEventArgs e) { NewTaskWindow newTaskWindow = new NewTaskWindow(this); newTaskWindow.Show(); }