private void addButton1_Click(object sender, EventArgs e) { AddVehicle a1 = new AddVehicle(false, 0); a1.ShowDialog(); var result = SQLmanager.SearchObjects("", "", ""); dataGridView1.DataSource = result; }
private void addButton1_Click(object sender, EventArgs e) { AddVehicle av = new AddVehicle(_ifRequest, _id); av.ShowDialog(); }