Example #1
0
		private void btnEdit_Click(object sender, EventArgs e)
		{
			if (slvTasks.SelectedItems.Count < 1) return;
			Task t = (Task) slvTasks.SelectedItems[0].Tag;
			TaskEditor editor = new TaskEditor(t);
			editor.ShowDialog();
		}
Example #2
0
		private void btnNew_Click(object sender, EventArgs e)
		{
			TaskEditor editor = new TaskEditor();
			editor.ShowDialog();
		}