コード例 #1
0
        public void AdmitEventAsAcquainted()
        {
            IEventCRUD crud = new EventCRUD(client.GetServerInstance().server);

            SelectedEvent.EventData  = crud.UpdateAcceptedUsersAndSendOutEvent(SelectedEvent.EventData, ownerForm.GetCurrentUser());
            SelectedEvent            = new RegularEvent(SelectedEvent);
            Events[SelectedEventNum] = SelectedEvent;
            SelectedEvent.SetRowStyle(dataGridView.Rows[SelectedEventNum]);
            ownerForm.indication.DecNewEventsCount();
            SerializeEvents();
        }