Exemplo n.º 1
0
        private void approvedInvitationDataGridView_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            List <InviteModel> approved = GetInviteListsLogic.GetApprovedInvitation(guestList);

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

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

                newForm.PopulateDGVModel(approved);
                newForm.Text = this.Text + "Clients Short Listed To Be Invited";
                newForm.ShowDialog();
            }
        }
Exemplo n.º 2
0
 private void RefreshApprovedInvitations(string optionalSearchString = "")
 {
     RefreshInvitaionDGV(ref approvedInvitationDataGridView, GetInviteListsLogic.GetApprovedInvitation(guestList), optionalSearchString);
     UpdateApprovedInvitationLabel();
 }