public void ProFileManager() { ProfileManager Profile_Manage = new ProfileManager(_UserName, _Password, _ProxyAddress, _ProxyPort, _ProxyUserName, _ProxyPassword, _SummaryGoals, _SummarySpecialties); Profile_Manage.ProfileCreator(); }
public void ProfileCreationThread() { if (LinkedInManager.linkedInDictionary.Count > 0) { foreach (KeyValuePair<string, LinkedInMaster> item in LinkedInManager.linkedInDictionary) { LinkedInMaster LinkedIn_Master = item.Value; string inkedInKey = item.Key; try { if (_lstSummaryGoals.Count >= 1) { try { LinkedIn_Master._SummaryGoals = _lstSummaryGoals[RandomNumberGenerator.GenerateRandom(0, _lstSummaryGoals.Count - 1)]; } catch (Exception) { LinkedIn_Master._SummaryGoals = string.Empty; } } } catch (Exception) { } try { if (_lstSummarySpecialties.Count >= 1) { try { LinkedIn_Master._SummarySpecialties = _lstSummarySpecialties[RandomNumberGenerator.GenerateRandom(0, _lstSummarySpecialties.Count - 1)]; } catch (Exception) { LinkedIn_Master._SummarySpecialties = string.Empty; } } } catch (Exception) { } ProfileManager.ProfileManager obj_ProfileManager = new ProfileManager.ProfileManager(); obj_ProfileManager.ProFileManager(); } } else { MessageBox.Show("Please Enter Profile Folder, Profile Photo and LinkedIn Accounts!"); //AddLoggerProfileManager("Please Enter Profile Folder, Profile Photo and LinkedIn Accounts!"); } }