/// <summary> /// /// </summary> public ScanMultipleSystems() { InitializeComponent(); cTaskFingerprint = TaskFacadeFingerprint.getInstance(); mFingerprintStatus = new SystemFingerprintStatus(); TSSL_CurrentSystem.Text = String.Empty; TSSL_Title.Text = String.Empty; }
private void incrementProgress(SystemFingerprintStatus pFingerprintStatus) { if (InvokeRequired) { BeginInvoke(new incrementProgressDelegate(incrementProgress), new object[] { pFingerprintStatus }); return; } TSSL_Title.Text = String.Format("System {0} of {1}", pFingerprintStatus.CurrentIndexNo, pFingerprintStatus.MaxIndex); PGB_Systems.Increment(1); if (String.IsNullOrEmpty(pFingerprintStatus.CurrentSystemIP) && String.IsNullOrEmpty(pFingerprintStatus.CurrentSystemIP)) { TSSL_CurrentSystem.Text = "Done"; } else { TSSL_CurrentSystem.Text = String.Format("Current system: {0} ({1})", pFingerprintStatus.CurrentSystemIP, pFingerprintStatus.CurrentSystemMAC); } }
private void incrementProgress(SystemFingerprintStatus pFingerprintStatus) { if (InvokeRequired) { BeginInvoke(new incrementProgressDelegate(incrementProgress), new object[] { pFingerprintStatus }); return; } TSSL_Title.Text = String.Format("System {0} of {1}", pFingerprintStatus.CurrentIndexNo, pFingerprintStatus.MaxIndex); PGB_Systems.Increment(1); if (String.IsNullOrEmpty(pFingerprintStatus.CurrentSystemIP) && String.IsNullOrEmpty(pFingerprintStatus.CurrentSystemIP)) TSSL_CurrentSystem.Text = "Done"; else TSSL_CurrentSystem.Text = String.Format("Current system: {0} ({1})", pFingerprintStatus.CurrentSystemIP, pFingerprintStatus.CurrentSystemMAC); }