private void invitedClientsDataGridView_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { List <InviteModel> invited = GetInviteListsLogic.GetNotRespondedInvitations(guestList); if (invited.Count > 0) { UpdateInviteStatusForm newForm = new UpdateInviteStatusForm(this); newForm.rejectButtonEnabler = true; newForm.removeButtonEnabler = false; newForm.shortListButtonEnabler = false; newForm.sendButtonEnabler = false; newForm.acceptButtonEnabler = true; newForm.PopulateDGVModel(invited); newForm.Text = this.Text + "Clients Who Are Invited (No Response Yet)"; newForm.ShowDialog(); } }
private void RefreshInvitedDGV(string optionalSearchString = "") { //I use Events_spGetClients_All in case a client is invited and then they unregister - we still want to invite them RefreshInvitaionDGV(ref invitedDataGridView, GetInviteListsLogic.GetNotRespondedInvitations(guestList), optionalSearchString); UpdatedInvitedInvitationLabels(); }