コード例 #1
0
 private void dataGrid_content_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     using (FutureTaskContents notes = new FutureTaskContents(selectedId, layer + 1, title))
     {
         notes.OnRefreshGrid += this.OnCurrentTaskSaved;
         notes.ShowDialog();
     }
 }
コード例 #2
0
        private void dataGrid_futureLog_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            // Left Click
            int    colId = (int)dataGrid_futureLog.SelectedRows[0].Cells[0].Value;
            string title = dataGrid_futureLog.SelectedRows[0].Cells[4].Value.ToString();


            using (FutureTaskContents monthlyTasksContent = new FutureTaskContents(colId, 1, title))
            {
                monthlyTasksContent.OnRefreshGrid += this.OnSave;
                monthlyTasksContent.ShowDialog();
            }
        }