Exemplo n.º 1
0
        private void dataGridViewProjects_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            try
            {
                ProjectId = (int)dataGridViewProjects.SelectedRows[0].Cells["ProjectID"].Value;

                object query = _taskBLL.GetIdleTask(ProjectId, 2);

                dataGridViewEmptyTasks.DataSource         = query;
                dataGridViewEmptyTasks.Columns[0].Visible = false;
            }
            catch (Exception)
            {
            }
        }