Пример #1
0
        // Event - Double Click on profile event
        private void ProfileEventsListing_DoubleClick(object sender, RoutedEventArgs e)
        {
            var selectedItems = ProfileEventsListing.SelectedItems;

            foreach (ProfileEvent profileEvent in selectedItems)
            {
                EventForm editEvent = new EventForm(currentProfile.Id, profileEvent);
                editEvent.Show();
            }
        }
Пример #2
0
        // Event - Click new event button on profile
        private void ClickNewEventButton(object sender, RoutedEventArgs e)
        {
            EventForm newEvent = new EventForm(currentProfile.Id);

            newEvent.Show();
        }