private void button11_Click_1(object sender, EventArgs e) { if (dataGridZakk.SelectedCells.Count == 0) { return; } { Gl.ID = dataGridZakk.CurrentRow.Cells[0].Value.ToString(); Gl.tbizm = 2; Formdel izm = new Formdel(); izm.ShowDialog(); UpdateStatus(); } }
private void button21_Click(object sender, EventArgs e) { if (dataGridViewpost.SelectedCells.Count == 0) { return; } { Gl.ID2 = dataGridViewpost.CurrentRow.Cells[1].Value.ToString(); Gl.ID = dataGridViewPrise.CurrentRow.Cells[0].Value.ToString(); Gl.tbizm = 4; Formdel izm = new Formdel(); izm.ShowDialog(); UpdateStatus(); } }
private void button5_Click(object sender, EventArgs e) { if (dataGridView4.SelectedCells.Count == 0) { return; } { Gl.ID2 = dataGridZakk.CurrentRow.Cells[0].Value.ToString(); Gl.ID = dataGridView4.CurrentRow.Cells[0].Value.ToString(); Gl.tbizm = 1; Formdel izm = new Formdel(); izm.ShowDialog(); zak(); } }