private void btnSave_Click(object sender, EventArgs e) { WorkInLocation workInLocation = new WorkInLocation(dgvPrinterLocation); workInLocation.createLocationPrinter(LabID.Text, TitulTB.Text, RoomTB.Text); Clear(); }
private void metroButton1_Click(object sender, EventArgs e) { WorkInLocation workInLocation = new WorkInLocation(dgvPrinterLocation); workInLocation.deletePrinterLocation(LabID.Text); Clear(); }
private void LocationForm_Load(object sender, EventArgs e) { WorkInLocation workInLocation = new WorkInLocation(dgvPrinterLocation); workInLocation.load(); Clear(); }