예제 #1
0
        private void dgvPlan_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (dgvPlan.CurrentCell.ColumnIndex == 7)
            {
                Komment kom = new Komment();

                if (dgvPlan[7, dgvPlan.CurrentCell.RowIndex].Value != null)
                {
                    kom.komment = dgvPlan[7, dgvPlan.CurrentCell.RowIndex].Value.ToString();
                    kom.ShowDialog();
                }
            }
        }
예제 #2
0
        private void dataGridView2_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (dataGridView2.CurrentCell.ColumnIndex == 35)
            {
                Komment kom = new Komment();

                kom.komment = dataGridView2[35, dataGridView2.CurrentCell.RowIndex].Value.ToString();
                kom.ShowDialog();
            }
        }