S

Size: a a a
S
S
S
АГ
S
SB
private void dataGridView1_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
{
if (((DataGridView)sender).CurrentCell.ColumnIndex == 3)
e.Cancel = true;
}
private void dataGridView1_CellEnter(object sender, DataGridViewCellEventArgs e)
{
if(this.dataGridView1.CurrentCell.ColumnIndex==3)
this.dataGridView1.CurrentCell.Selected = false;
}
SB
EG
S
private void dataGridView1_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
{
if (((DataGridView)sender).CurrentCell.ColumnIndex == 3)
e.Cancel = true;
}
private void dataGridView1_CellEnter(object sender, DataGridViewCellEventArgs e)
{
if(this.dataGridView1.CurrentCell.ColumnIndex==3)
this.dataGridView1.CurrentCell.Selected = false;
}
F
SB
S
S
v
SB
try
{
if (e.ColumnIndex == 0)
this.dataGridView1.CurrentCell = this.dataGridView1.Rows[e.RowIndex].Cells[1];
}
catch
{
}
S
try
{
if (e.ColumnIndex == 0)
this.dataGridView1.CurrentCell = this.dataGridView1.Rows[e.RowIndex].Cells[1];
}
catch
{
}
S
try
{
if (e.ColumnIndex == 0)
this.dataGridView1.CurrentCell = this.dataGridView1.Rows[e.RowIndex].Cells[1];
}
catch
{
}
t
Y
t