private void DeleteBtn_Click(object sender, EventArgs e) { WorkInLocationPrinter workInLocationPrinter = new WorkInLocationPrinter(dgvLocation, RoomTB.Text, TitulCB, ID.Text); workInLocationPrinter.Delete(); workInLocationPrinter.Load(); }
private void LocationForm_Load(object sender, EventArgs e) { WorkInLocationPrinter workInLocationPrinter = new WorkInLocationPrinter(dgvLocation, RoomTB.Text, TitulCB, ID.Text); workInLocationPrinter.Load(); Clear(); }
private void saveBtn_Click(object sender, EventArgs e) { WorkInLocationPrinter workInLocationPrinter = new WorkInLocationPrinter(dgvLocation, RoomTB.Text, TitulCB, ID.Text); workInLocationPrinter.CreateUpdate(); workInLocationPrinter.Load(); Clear(); }
private void PrinterTestForm_Load(object sender, EventArgs e) { LocationIDTB.Visible = false; //MetroLabel printerID, MetroTextBox sn, MetroGrid dgv, MetroComboBox catrigeModelCB, MetroTextBox locarionTB, MetroTextBox locationID PrinterTest printerTest = new PrinterTest(ID, SnTB, dgvPrinter, ModelCatrigeCB, LocationIDTB); WorkInLocationPrinter workInLocationPrinter = new WorkInLocationPrinter(); workInLocationPrinter.Load(dgvLocation); printerTest.Load(); Clear(); }