private void rejectedDataGridView_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { List <InviteModel> rejected = GetInviteListsLogic.GetNotAttendingClients(guestList); if (rejected.Count > 0) { UpdateInviteStatusForm newForm = new UpdateInviteStatusForm(this); newForm.rejectButtonEnabler = false; newForm.removeButtonEnabler = false; newForm.shortListButtonEnabler = false; newForm.sendButtonEnabler = false; newForm.acceptButtonEnabler = false; newForm.PopulateDGVModel(rejected); newForm.Text = this.Text + "Clients Who Rejected Invite"; newForm.ShowDialog(); } }
private void RefreshRejectedDGV(string optionalSearchString = "") { RefreshInvitaionDGV(ref rejectedInvitationDataGridView, GetInviteListsLogic.GetNotAttendingClients(guestList), optionalSearchString); }