//### Edit the Event Owner ### //DoubleClick - Allows user to open UpdateInviteStatusForm so they have more space private void proposedInvitationDataGridView_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { List <InviteModel> proposed = GetInviteListsLogic.GetProposedInvitation(guestList); if (proposed.Count > 0) { UpdateInviteStatusForm newForm = new UpdateInviteStatusForm(this); newForm.rejectButtonEnabler = false; newForm.removeButtonEnabler = true; newForm.shortListButtonEnabler = true; newForm.sendButtonEnabler = false; newForm.acceptButtonEnabler = false; newForm.PopulateDGVModel(proposed); newForm.Text = this.Text + "Clients Short Listed To Be Invited"; newForm.ShowDialog(); } }
private void RefreshProposedInvitations(string optionalSearchString = "") { RefreshInvitaionDGV(ref proposedInvitationDataGridView, GetInviteListsLogic.GetProposedInvitation(guestList), optionalSearchString); UpdateProposedInvitationLabel(); }