public void RefreshLv(string whichView) { HideViews(whichView); if (whichView == "UCincidentManagementView") { UCincidentManagementView.RefreshingLv(); } else if (whichView == "UCuserManagementView") { //update iets } }
private void menuIncidentManagement_Click(object sender, EventArgs e) { HideViews("UCincidentManagementView"); UCincidentManagementView.RefreshingLv(); }