private void btnSave_Click(object sender, EventArgs e) { WorkCatrige workCatrige = new WorkCatrige(dgvCatruge, ID.Text, SerialNumberTB.Text, CartrigeModelTB); workCatrige.CreateUpdate(); Clear(); }
private void btnSave_Click(object sender, EventArgs e) { WorkCatrige workCatrige = new WorkCatrige(dgvCatriges, ID.Text, SnTB.Text, CartrigeModelTB); workCatrige.CreateUpdate(); workCatrige.Load(); }