void EffectivePermissionsReportAction_Triggered(object sender, MMC.SyncActionEventArgs e) { IAzManApplication[] applications = new IAzManApplication[this.SelectedNodes.Count]; int index = 0; foreach (ApplicationScopeNode applicationScopeNode in this.SelectedNodes) { applications[index++] = applicationScopeNode.Application; } frmPrint frm = new frmPrint(); ptEffectivePermissions rep = new ptEffectivePermissions(); rep.Applications = applications; frm.document = rep; this.SnapIn.Console.ShowDialog(frm); }
void EffectivePermissionsReportAction_Triggered(object sender, MMC.SyncActionEventArgs e) { frmPrint frm = new frmPrint(); ptEffectivePermissions rep = new ptEffectivePermissions(); rep.Applications = new IAzManApplication[] { this.application }; frm.document = rep; this.SnapIn.Console.ShowDialog(frm); }