/// <summary> /// Called when we want to audit some system registry keys. Allow the user to enter one or motr /// registry keys to audit. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void bnAuditRegistry_Click(object sender, EventArgs e) { // Get the current scanner definition //AdministrationWorkItemController wic = workItem.Controller as AdministrationWorkItemController; //AuditScannerDefinition scannerDefinition = wic.AuditScannerDefinition; FormRegistryDetails form = new FormRegistryDetails(auditAgentScannerDefinition); form.ShowDialog(); }
/// <summary> /// Called when we want to audit some system registry keys. Allow the user to enter one or motr /// registry keys to audit. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void bnAuditRegistry_Click(object sender, EventArgs e) { FormRegistryDetails form = new FormRegistryDetails(auditScannerDefinition); form.ShowDialog(); }