private void Move_Task_Click(PresentationBoard currRow) { if (selectedTask != null) { InfoObject info = SystemInterface.moveTask(userName, currRow.getTaskUID(), currRow.getTasColumn()); if (info.getIsSucceeded()) { this.show(SystemInterface.getBoard(userName)); this.selectedTask = null; } else { MessageBox.Show(info.getMessage()); } } else { MessageBox.Show("Please select task"); } }
private void Move_Task_Click(object sender, RoutedEventArgs e) { if (selectedTask != null) { InfoObject info = SystemInterface.moveTask(userName, selectedTask.getTaskUID(), selectedTask.getTasColumn()); if (info.getIsSucceeded()) { this.show(SystemInterface.getBoard(userName)); this.selectedTask = null; } else { MessageBox.Show(info.getMessage()); } } else { MessageBox.Show("Please select task"); } }