private void EditSB_Click(object sender, EventArgs e) { StructureObjectData form = new StructureObjectData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value)); form.ShowDialog(); FillGrid(); }
private void NewSB_Click(object sender, EventArgs e) { StructureObjectData form = new StructureObjectData("new", null); form.ShowDialog(); FillGrid(); }