private void frmAddPart_Load(object sender, EventArgs e) { txtPartID.Text = Parts.nextPartID().ToString("000"); loadCombo(); }
private void cboAddPart_SelectedIndexChanged(object sender, EventArgs e) { lblPartDescription.Visible = true; lblPartDescription.Text = Parts.getPartDetail("Description", cboAddParts.Text); }