public void removeTaskAction(id sender)
        {
            NSInteger row = this.tableViewOutlet.selectedRow();

            if (row < 0)
            {
                return;
            }
            NSAlert a = NSAlert.alertWithMessageText("Remove task?") defaultButton("Remove") alternateButton("Cancel") otherButton(null) informativeTextWithFormat("Do you really want to delete task?");

            a.beginSheetModalForWindow(this.window) modalDelegate(this) didEndSelector(__selector(deleteAlert: result: context:)) contextInfo(null);
        }