private void btnNew_Click(object sender, EventArgs e) { ClearFields(); // Generate new Unique ID txtUID.Text = (ReportMetadata.GetLastUID() + 1).ToString(); }
public void NewEntry(int clientID) { ClearFields(); // Generate new Unique ID txtUID.Text = (ReportMetadata.GetLastUID() + 1).ToString(); txtClientUID.Text = clientID.ToString(); txtRecordType.Text = "DF"; }