Example #1
0
        private void MarkNewCSFPClient_Click(object sender, EventArgs e)
        {
            FindClientForm frmFindClient = new FindClientForm();

            frmFindClient.ShowDialog();
            hhID = frmFindClient.CurrentHHId;
            frmFindClient.Close();

            NewCSFPSelectionForm frmNewCSFP = new NewCSFPSelectionForm(hhID);

            frmNewCSFP.ShowDialog();
            getCSFPClients();
        }
Example #2
0
        private void MarkNewCSFPClient_Click(object sender, EventArgs e)
        {
            FindClientForm frmFindClient = new FindClientForm();

            frmFindClient.ShowDialog();

            if (frmFindClient.Canceled == false)
            {
                hhID = frmFindClient.CurrentHHId;
                frmFindClient.Close();

                NewCSFPSelectionForm frmNewCSFP = new NewCSFPSelectionForm(hhID);
                frmNewCSFP.ShowDialog();
                refreshdgvCSFP();
            }
        }
Example #3
0
 public HDPlannerView(IMainForm frmMainIn, HDRoutesModel clsHDRoutes, IEditVolunteerForm frmVolunteers)
 {
     this.clsHDRoutes   = clsHDRoutes;
     this.frmVolunteers = frmVolunteers;
     InitializeComponent();
     frmMain     = frmMainIn;
     conn        = new SqlConnection(CCFBGlobal.connectionString);
     rtplnSqlCmd = new SqlCommand("", conn);
     filllvwStatus();
     clsHDItems.openWhere("");
     //CCFBGlobal.dtPopulateCombo((DataGridViewComboBoxColumn)rtplndgvHD.Columns["clmSvcItem"], "SELECT * From HDItems", "ShortName", "ID", "Std", conn);
     dtpServiceDate.Value = dfltServiceDate;
     loadRouteList(dfltServiceDate);
     rtplnRefreshlbxRoutes(-1);
     rtplnDisplaySelectedRoute();
     frmFindClient = new FindClientForm();
 }