private void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e)
{
int x = dataGridView1.CurrentCellAddress.X;
int y = dataGridView1.CurrentCellAddress.Y;
if (dataGridView1[x, y].FormattedValue.ToString() == "") return;
}
{
int x = dataGridView1.CurrentCellAddress.X;
int y = dataGridView1.CurrentCellAddress.Y;
if (dataGridView1[x, y].FormattedValue.ToString() == "") return;
}