private void newTaskToolStripMenuItem_Click(object sender, EventArgs e) { var taskForm = new TaskForm(); taskForm.ShowDialog(this); }
private void qRibbonItemNewTask_ItemActivated(object sender, QCompositeEventArgs e) { TaskForm taskForm = new TaskForm(); taskForm.ShowDialog(this); }