Exemple #1
0
        private void acceptedDataGridView_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            List <InviteModel> attending = GetInviteListsLogic.GetAcceptedInvitations(guestList);

            if (attending.Count > 0)
            {
                UpdateInviteStatusForm newForm = new UpdateInviteStatusForm(this);

                newForm.rejectButtonEnabler    = false;
                newForm.removeButtonEnabler    = false;
                newForm.shortListButtonEnabler = false;
                newForm.sendButtonEnabler      = false;
                newForm.acceptButtonEnabler    = false;

                newForm.PopulateDGVModel(attending);
                newForm.Text = this.Text + " - Clients Who Accepted Invite";
                newForm.ShowDialog();
            }
        }
Exemple #2
0
 private void RefreshAttendingDGV(string optionalSearchString = "")
 {
     RefreshInvitaionDGV(ref acceptedInvitationDataGridView, GetInviteListsLogic.GetAcceptedInvitations(guestList), optionalSearchString);
     UpdatedAcceptedInvitationLabels();
 }