private void newTaskToolStripMenuItem_Click(object sender, EventArgs e) { frmNewTask frm = new frmNewTask(_boardID, 0); frm.ShowDialog(); FillList(); }
private void updateToolStripMenuItem_Click(object sender, EventArgs e) { frmNewTask frm = new frmNewTask(task1.ID, task1.ID); frm.ShowDialog(); FillList(); }
private void newTaskToolStripMenuItem_Click(object sender, EventArgs e) { if (lstBoards.SelectedIndex < 0) { MessageBox.Show("Board seçiniz."); return; } int boardID = Convert.ToInt32(lstBoards.SelectedValue); frmNewTask frm = new frmNewTask(boardID, 0); frm.Owner = this; frm.ShowDialog(); }