예제 #1
0
        private void RunSingleAudit()
        {
            _auditTesting = new AuditTesting(_auditController.AuditGroup);
            bool result = false;

            // Wire events
            _auditTesting.CurrentSingleAuditRunning += _auditTesting_CurrentSingleAuditRunning;
            _auditTesting.CurrentSingleAuditDone += _auditTesting_CurrentSingleAuditDone;

            var currentAudit = (Audit)lsvAudits.Items[_selectedIndex].Tag;

            this.Refresh();

            _auditTesting.RunDataAudit(ref currentAudit);
            _auditController.SendResults();
        }