Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="plan"></param>
        /// <param name="Close"></param>
        public frmPlanOtherFee(frmMain mf, Plan plan, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentPlanOtherFee        = new PlanOtherFee();
            CurrentPlanOtherFee.PlanId = plan.PlanId;

            txtPlan.Text = plan.Name;
            txtName.Text = CurrentPlanOtherFee.Name;

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="Close"></param>
        public frmQualityAssurance(frmMain mf, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            cboCrashesViews.SelectedIndex  = 0;
            cboFeedbackViews.SelectedIndex = 0;
            LoadElements();

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
Esempio n. 3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="Close"></param>
        public frmSearchQuestion(frmMain mf, Search search, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentSearchQuestion          = new SearchQuestion();
            CurrentSearchQuestion.SearchId = search.Id;
            txtSubject.Text = CurrentSearchQuestion.SubjectValue;
            cboAnswer.Text  = "No";

            ss.Close();
            this.Show();
        }
Esempio n. 4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="Close"></param>
        public frmSearchRecordKeeper(frmMain mf, Search search, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            PreloadCbos();

            CurrentSearchRecordKeeper          = new SearchRecordKeeper();
            CurrentSearchRecordKeeper.SearchId = search.Id;

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmSearchFund(frmMain mf, SearchFund searchFund, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentSearchFund = searchFund;
            txtTicker.Text    = CurrentSearchFund.Ticker;
            txtFundName.Text  = CurrentSearchFund.FundName;

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
Esempio n. 6
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmSearchRecordKeeper(frmMain mf, SearchRecordKeeper searchRecordKeeper, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            PreloadCbos();

            CurrentSearchRecordKeeper = searchRecordKeeper;
            DataIntegrationHub.Business.Entities.RecordKeeper rk = new DataIntegrationHub.Business.Entities.RecordKeeper(CurrentSearchRecordKeeper.RecordKeeperId);
            txtOrdinal.Text      = CurrentSearchRecordKeeper.Ordinal.ToString();
            cboRecordKeeper.Text = rk.Name;

            ss.Close();
            this.Show();
        }
Esempio n. 7
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="Close"></param>
        public frmPlanAdvisor(frmMain mf, Plan plan, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentPlanAdvisor        = new VSP.Business.Entities.PlanAdvisor();
            CurrentPlanAdvisor.PlanId = plan.PlanId;

            cboPlan.Text = plan.Name + " - " + plan.Description;

            cboFeeViews.SelectedIndex = 0;
            PreloadCbos();

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmService(frmMain mf, Service service, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentService   = service;
            txtName.Text     = CurrentService.Name;
            txtCategory.Text = CurrentService.Category;
            txtType.Text     = CurrentService.Type;

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmAdvisor(frmMain mf, VSP.Business.Entities.Advisor planAdvisor, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            DataIntegrationHub.Business.Entities.PlanAdvisor dihPA = new DataIntegrationHub.Business.Entities.PlanAdvisor(planAdvisor.Id);

            CurrentPlanAdvisor = planAdvisor;
            txtName.Text       = dihPA.Name;

            cboServicesView.SelectedIndex = 0;
            LoadDgvServices(true);

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="Close"></param>
        public frmPlanAuditor(frmMain mf, Plan plan, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            PreloadCbos();

            CurrentPlanAuditor        = new PlanAuditor();
            CurrentPlanAuditor.PlanId = plan.PlanId;

            cboPlan.Text = plan.Name + " - " + plan.Description;

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmPlanRecordKeeperFee(frmMain mf, PlanRecordKeeper planRecordKeeper, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            Plan plan = new Plan(planRecordKeeper.PlanId);

            DataIntegrationHub.Business.Entities.RecordKeeper rk = new DataIntegrationHub.Business.Entities.RecordKeeper(planRecordKeeper.RecordKeeperId);

            CurrentPlanRecordKeeperFee                = new PlanRecordKeeperFee();
            CurrentPlanRecordKeeperFee.PlanId         = plan.PlanId;
            CurrentPlanRecordKeeperFee.RecordKeeperId = rk.RecordKeeperId;

            txtPlan.Text         = plan.Name;
            txtRecordKeeper.Text = rk.Name;

            ss.Close();
            this.Show();
        }
        public frmAuditor(frmMain mf, VSP.Business.Entities.Auditor auditor, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            DataIntegrationHub.Business.Entities.Auditor dihAuditor = new DataIntegrationHub.Business.Entities.Auditor(auditor.Id);

            CurrentAuditor             = auditor;
            txtName.Text               = dihAuditor.Name;
            txtGeneralInformation.Text = CurrentAuditor.GeneralInformation;
            txtRetirementBusiness.Text = CurrentAuditor.RetirementBusiness;
            txtSecurity.Text           = CurrentAuditor.Security;
            txtValueBalance.Text       = CurrentAuditor.ValueBalance;

            cboIssueViews.SelectedIndex = 0;

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmProduct(frmMain mf, Product product, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentProduct = product;
            txtName.Text   = CurrentProduct.Name;

            cboServicesView.SelectedIndex = 0;
            LoadDgvServices(true);

            CurrentTabLabel = lblMenuSummary; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="Close"></param>
        public frmFeedback(FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentFeedback = new Feedback();
            CurrentUser     = new User(Environment.UserDomainName + "\\" + Environment.UserName);

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmPlanParticipantsEligible(frmMain mf, Plan plan, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentPlanParticipantsEligible        = new PlanParticipantsEligible();
            CurrentPlanParticipantsEligible.PlanId = plan.PlanId;

            txtPlan.Text = plan.Name;

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="Close"></param>
        public frmProduct(frmMain mf, VSP.Business.Entities.RecordKeeper recordKeeper, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentProduct = new Product();
            CurrentProduct.RecordKeeperId = recordKeeper.Id;
            txtName.Text = CurrentProduct.Name;

            lblMenuServices.Visible = false;

            CurrentTabLabel = lblMenuSummary; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
Esempio n. 17
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmUser(frmMain mf, User user, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentUser        = user;
            txtFullName.Text   = CurrentUser.FullName;
            txtDomainName.Text = CurrentUser.DomainName;

            cboRolesViews.SelectedIndex = 0;

            LoadDgvRoles();

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmSearch(frmMain mf, Search search, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            PreloadCbos();

            CurrentSearch = search;

            try
            {
                Plan plan = new Plan(CurrentSearch.PlanId);
                cboPlan.Text = plan.Name + " - " + plan.Description;
            }
            catch
            {
                MessageBox.Show("This search does not have a valid plan selected.");
            }

            txtName.Text           = CurrentSearch.Name;
            txtCurrentRkNotes.Text = CurrentSearch.CurrentRkNotes;

            if (CurrentSearch.AsOfDate != null)
            {
                txtAsOfDate.Text = ((DateTime)CurrentSearch.AsOfDate).ToString("MM/dd/yyyy");
            }

            cboResultsView.SelectedIndex   = 0;
            cboBidViews.SelectedIndex      = 0;
            cboFundViews.SelectedIndex     = 0;
            cboQuestionViews.SelectedIndex = 0;
            cboServicesView.SelectedIndex  = 0;
            LoadDgvServices(true);

            txtCurrentRkNotes.Focus();

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
Esempio n. 19
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmPlanAdvisor(frmMain mf, VSP.Business.Entities.PlanAdvisor planAdvisor, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentPlanAdvisor = planAdvisor;

            cboFeeViews.SelectedIndex = 0;
            PreloadCbos();

            if (CurrentPlanAdvisor.PlanId != null)
            {
                Plan plan = new Plan(CurrentPlanAdvisor.PlanId);
                cboPlan.Text = plan.Name + " - " + plan.Description;
            }

            if (CurrentPlanAdvisor.AdvisorId != null)
            {
                DataIntegrationHub.Business.Entities.PlanAdvisor advisor = new DataIntegrationHub.Business.Entities.PlanAdvisor(CurrentPlanAdvisor.AdvisorId);
                cboAdvisor.Text = advisor.Name;
            }

            if (CurrentPlanAdvisor.DateAdded != null)
            {
                txtDateAdded.Text = ((DateTime)CurrentPlanAdvisor.DateAdded).ToString("MM/dd/yyyy");
            }

            if (CurrentPlanAdvisor.DateRemoved != null)
            {
                txtDateRemoved.Text = ((DateTime)CurrentPlanAdvisor.DateRemoved).ToString("MM/dd/yyyy");
            }

            cboFeeViews.SelectedIndex = 0;

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
Esempio n. 20
0
        public frmServiceIssue(frmMain mf, VSP.Business.Entities.PlanRecordKeeperProduct recordKeeperProduct, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            PreloadCbos();

            CurrentServiceIssue = new ServiceIssue();
            CurrentServiceIssue.PlanRecordKeeperProductId = recordKeeperProduct.Id;
            CurrentServiceIssue.AsOfDate = DateTime.Now;

            txtDescription.Focus();

            if (CurrentServiceIssue.PlanRecordKeeperProductId != null)
            {
                PlanRecordKeeperProduct planRecordKeeperProduct = new PlanRecordKeeperProduct((Guid)CurrentServiceIssue.PlanRecordKeeperProductId);
                Product product = new Product((Guid)planRecordKeeperProduct.ProductId);
                cboRecordKeeperProduct.Text = product.Name;
            }

            if (CurrentServiceIssue.AuditorId != null)
            {
                cboAuditor.Text = new DataIntegrationHub.Business.Entities.Auditor((Guid)CurrentServiceIssue.AuditorId).Name;
            }

            if (CurrentServiceIssue.PlanId != null)
            {
                Plan plan = new Plan((Guid)CurrentServiceIssue.PlanId);
                cboPlan.Text = plan.Name + " - " + plan.Description;
            }

            txtAsOfDate.Text = CurrentServiceIssue.AsOfDate.ToString("MM/dd/yyyy");

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
Esempio n. 21
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmPlanRecordKeeper(frmMain mf, PlanRecordKeeper planRecordKeeper, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            PreloadCbos();

            CurrentPlanRecordKeeper = planRecordKeeper;

            if (CurrentPlanRecordKeeper.PlanId != null)
            {
                Plan plan = new Plan(CurrentPlanRecordKeeper.PlanId);
                cboPlan.Text = plan.Name + " - " + plan.Description;
            }

            if (CurrentPlanRecordKeeper.RecordKeeperId != null)
            {
                DataIntegrationHub.Business.Entities.RecordKeeper recordKeeper = new DataIntegrationHub.Business.Entities.RecordKeeper(CurrentPlanRecordKeeper.RecordKeeperId);
                cboRecordKeeper.Text = recordKeeper.Name;
            }

            if (CurrentPlanRecordKeeper.DateAdded != null)
            {
                txtDateAdded.Text = ((DateTime)CurrentPlanRecordKeeper.DateAdded).ToString("MM/dd/yyyy");
            }

            if (CurrentPlanRecordKeeper.DateRemoved != null)
            {
                txtDateRemoved.Text = ((DateTime)CurrentPlanRecordKeeper.DateRemoved).ToString("MM/dd/yyyy");
            }

            cboFeeViews.SelectedIndex     = 0;
            cboServicesView.SelectedIndex = 0;
            LoadDgvServices(true);

            ss.Close();
            this.Show();
        }
        public frmRecordKeeper(frmMain mf, VSP.Business.Entities.RecordKeeper recordKeeper, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            DataIntegrationHub.Business.Entities.RecordKeeper dihRk = new DataIntegrationHub.Business.Entities.RecordKeeper(recordKeeper.Id);

            CurrentRK                            = recordKeeper;
            txtName.Text                         = dihRk.Name;
            txtRfpName.Text                      = dihRk.RfpContactName;
            txtRfpEmail.Text                     = dihRk.RfpContactEmail;
            txtPhilosophyStrategy.Text           = CurrentRK.PhilosophyStrategy;
            txtPoliciesProcedures.Text           = CurrentRK.PoliciesProcedures;
            txtSecurityTechnology.Text           = CurrentRK.SecurityTechnology;
            txtCredentialsExperience.Text        = CurrentRK.CredentialsExperiences;
            txtActionsPenalties.Text             = CurrentRK.ActionsPenalties;
            txtMergersAcquisitions.Text          = CurrentRK.MergersAcquisitions;
            txtFeeArrangementsRelationships.Text = CurrentRK.FeeArrangementsRelationships;

            if (CurrentRK.PlansServiced != null)
            {
                txtPlansServiced.Text = ((int)CurrentRK.PlansServiced).ToString();
            }

            if (CurrentRK.AssetsServiced != null)
            {
                txtAssetsServiced.Text = ((decimal)CurrentRK.AssetsServiced).ToString();
            }

            cboProductViews.SelectedIndex = 0;

            CurrentTabLabel = lblMenuSummary; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
        private void btnExecuteSearch_Click(object sender, EventArgs e)
        {
            frmSplashScreen frmSplashScreen = new frmSplashScreen();

            frmSplashScreen.Show();
            Application.DoEvents();

            SaveServices();
            CurrentSearch.ExecuteSearch(frmMain_Parent.CurrentUser.UserId);
            LoadDgvResults();
            tabControlDetail.SelectedTab = tabControlDetail.TabPages["tabResults"];

            frmSplashScreen.Close();
        }
        public frmAccount(frmMain mf, Customer customer, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentCustomer = customer;
            if (customer.PrimaryContactId != null)
            {
                Contact contact = new Contact((Guid)CurrentCustomer.PrimaryContactId);
                txtPrimaryContactName.Text  = contact.FirstName + ' ' + contact.LastName;
                txtPrimaryContactEmail.Text = contact.EmailAddress;
            }

            txtName.Text         = CurrentCustomer.Name;
            this.Text            = CurrentCustomer.Name;
            label23.Text         = CurrentCustomer.Name;
            assetvalue.Text      = CurrentCustomer.AssetValue.ToString();
            txtPhone.Text        = CurrentCustomer.MainPhone;
            txtFax.Text          = CurrentCustomer.Fax;
            txtAddressLine1.Text = CurrentCustomer.Address.Line1;
            txtAddressLine2.Text = CurrentCustomer.Address.Line2;
            txtAddressCity.Text  = CurrentCustomer.Address.City;
            txtAddressState.Text = CurrentCustomer.Address.State;
            txtAddressZip.Text   = CurrentCustomer.Address.ZipCode;

            cboPlanViews.SelectedIndex = 0;
            tabSummary.Focus();

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
        public frmServiceIssue(frmMain mf, ServiceIssue serviceIssue, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            PreloadCbos();

            CurrentServiceIssue          = serviceIssue;
            CurrentServiceIssue.AsOfDate = DateTime.Now;

            if (CurrentServiceIssue.RecordKeeperId != null)
            {
                cboRecordKeeper.Text = new DataIntegrationHub.Business.Entities.RecordKeeper((Guid)CurrentServiceIssue.RecordKeeperId).Name;
            }

            if (CurrentServiceIssue.AuditorId != null)
            {
                cboAuditor.Text = new DataIntegrationHub.Business.Entities.Auditor((Guid)CurrentServiceIssue.AuditorId).Name;
            }

            if (CurrentServiceIssue.PlanId != null)
            {
                cboPlan.Text = new Plan((Guid)CurrentServiceIssue.PlanId).Name;
            }

            txtSubject.Text     = CurrentServiceIssue.SubjectValue;
            txtAsOfDate.Text    = CurrentServiceIssue.AsOfDate.ToString("MM/dd/yyyy");
            txtDescription.Text = CurrentServiceIssue.DescriptionValue;

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="fdbk"></param>
        /// <param name="Close"></param>
        public frmQualityAssurancePopup(Feedback fdbk, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentUser             = new User(Environment.UserDomainName + "\\" + Environment.UserName);
            CurrentError            = null;
            CurrentFeedback         = fdbk;
            txtFdbkDescription.Text = CurrentFeedback.Description;
            txtFdbkSeverity.Text    = CurrentFeedback.Severity;
            txtFdbkTimestamp.Text   = CurrentFeedback.CreatedOn.ToString();
            User submittingUser = new User((Guid)CurrentFeedback.CreatedBy);

            txtFdbkUser.Text = submittingUser.FullName;
            if (CurrentFeedback.StateCode == 1)
            {
                ckbxFdbkResolved.Checked = true;
            }
            else
            {
                ckbxFdbkResolved.Checked = false;
            }

            this.ckbxFdbkResolved.CheckedChanged += new System.EventHandler(this.ckbxFdbkResolved_CheckedChanged);

            ss.Close();

            tabControlClientDetail.SelectedTab = tabControlClientDetail.TabPages["tabFeedback"];

            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="err"></param>
        /// <param name="Close"></param>
        public frmQualityAssurancePopup(ApplicationError err, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentUser             = new User(Environment.UserDomainName + "\\" + Environment.UserName);
            CurrentFeedback         = null;
            CurrentError            = err;
            txtCrashData.Text       = CurrentError.Data;
            txtCrashMessage.Text    = CurrentError.Message;
            txtCrashSource.Text     = CurrentError.Source;
            txtCrashStackTrace.Text = CurrentError.StackTrace;
            txtCrashTimestamp.Text  = CurrentError.CreatedOn.ToString();
            if (CurrentError.StateCode == 1)
            {
                ckbxCrashResolved.Checked = true;
            }
            else
            {
                ckbxCrashResolved.Checked = false;
            }

            this.ckbxCrashResolved.CheckedChanged += new System.EventHandler(this.ckbxCrashResolved_CheckedChanged);

            ss.Close();

            tabControlClientDetail.SelectedTab = tabControlClientDetail.TabPages["tabCrashes"];

            this.Show();
        }
Esempio n. 28
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmPlanContribution(frmMain mf, PlanContribution planContribution, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            Plan plan = new Plan(planContribution.PlanId);

            CurrentPlanContribution = planContribution;
            txtPlan.Text            = plan.Name;

            if (CurrentPlanContribution.Contribution != null)
            {
                txtContribution.Text = ((decimal)CurrentPlanContribution.Contribution).ToString("#,##");
            }

            if (CurrentPlanContribution.AsOfDate != null)
            {
                txtAsOfDate.Text = ((DateTime)CurrentPlanContribution.AsOfDate).ToString("MM/dd/yyyy");
            }

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="planRecordKeeperProduct"></param>
        /// <param name="Close"></param>
        public frmPlanRecordKeeperProductFee(frmMain mf, PlanRecordKeeperProduct planRecordKeeperProduct, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            Plan plan = new Plan(planRecordKeeperProduct.PlanId);
            PlanRecordKeeperProduct rkpd = new PlanRecordKeeperProduct(planRecordKeeperProduct.RecordKeeperProductId);
            Product pd = new Product(rkpd.ProductId);

            txtProduct.Text = pd.Name;

            CurrentPlanRecordKeeperProductFee        = new PlanRecordKeeperProductFee();
            CurrentPlanRecordKeeperProductFee.PlanId = plan.PlanId;
            CurrentPlanRecordKeeperProductFee.RecordKeeperProductId = rkpd.RecordKeeperProductId;

            txtPlan.Text = plan.Name;

            DataIntegrationHub.Business.Entities.RecordKeeper rk = new DataIntegrationHub.Business.Entities.RecordKeeper(pd.RecordKeeperId);
            txtRecordKeeper.Text = rk.Name;

            CurrentTabLabel = label46; // Summary tab label
            highlightSelectedTabLabel(CurrentTabLabel);

            ss.Close();
            this.Show();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="mf"></param>
        /// <param name="accountId"></param>
        /// <param name="Close"></param>
        public frmPlan(frmMain mf, Plan plan, FormClosedEventHandler Close = null)
        {
            frmSplashScreen ss = new frmSplashScreen();

            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            frmMain_Parent = mf;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlSummaryTabHeader);
            controlsToMove.Add(this.panel16);
            controlsToMove.Add(this.label1);
            controlsToMove.Add(this.label23);

            FormClosed += Close;

            CurrentPlan              = plan;
            CurrentPlanDetail        = new PlanDetail(plan.PlanId);
            txtName.Text             = CurrentPlan.Name;
            txtOutstandingLoans.Text = CurrentPlanDetail.LoansOutstanding.ToString();
            txtSelfDirectedBrokerageAccounts.Text = CurrentPlanDetail.SelfDirectedBrokerageAccounts.ToString();

            cboRkViews.SelectedIndex                   = 0;
            cboAdvisorViews.SelectedIndex              = 0;
            cboAuditorViews.SelectedIndex              = 0;
            cboInvestmentViews.SelectedIndex           = 0;
            cboIssueViews.SelectedIndex                = 0;
            cboContributionViews.SelectedIndex         = 0;
            cboDistributionViews.SelectedIndex         = 0;
            cboActiveParticipantViews.SelectedIndex    = 0;
            cboEligibleParticipantsViews.SelectedIndex = 0;

            ss.Close();
            this.Show();
        }