private void lbllastupdateon_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (lbllastupdateon.Text == "Unknown") { MessageBox.Show("No History found"); } HistoryAudit historyAudit = new HistoryAudit(); historyAudit.updatedate = lbllastupdateon.Text; historyAudit.Show(); }
public void getAuditHistory() { if (lbllastupdateon.Text == "Unknown") { MessageBox.Show("No History found"); } else { HistoryAudit historyAudit = new HistoryAudit(); historyAudit.updatedate = lbllastupdateon.Text; historyAudit.Show(); } }