public frmManager(frmMain _frmMain, Guid managerId) { frmSplashScreen _frmSplashScreen = new frmSplashScreen(); _frmSplashScreen.Show(); Application.DoEvents(); InitializeComponent(); #region IMessageFilter Methods Application.AddMessageFilter(this); controlsToMove.Add(this.pnlFormHeader); controlsToMove.Add(this.pnlHeader); controlsToMove.Add(this.lblHeader); #endregion frmMain_Parent = _frmMain; this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size; ManagerId = managerId; PopulateManagerCredentialsCbo(); PopulateFundRoleCbo(); PopulatePersonalAssetsCbo(); tabMain.SelectedIndex = 0; try { Manager = new Manager(managerId); lblHeader.Text = Manager.FullName; Text = Manager.FullName; txtFirstName.Text = Manager.FirstName; txtMiddleName.Text = Manager.MiddleName; txtLastName.Text = Manager.LastName; txtBiography.Text = Manager.Biography; txtResponsibilities.Text = Manager.PortfolioResponsibilities; txtBeganAsPm.Text = Manager.BecamePortfolioManagerYear; txtBeganAsAnalyst.Text = Manager.BecameAnalystYear; PopulateManagerCredentialsLst(); PopulateManagerEducationList(); paginationAdvisors = new Pagination(dgvAdvisors, Advisors.GetAssociatedFromManager((Guid)managerId)); dgvAdvisors.Columns[0].Visible = false; paginationFunds = new Pagination(dgvFunds, Fund.GetAssociatedFromManager((Guid)managerId)); dgvFunds.Columns[0].Visible = false; dgvFunds.Columns[1].Visible = false; } catch (Exception _exception) { frmError _frmError = new frmError(frmMain_Parent, _exception); } this.Show(); _frmSplashScreen.Close(); }