Пример #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            // добавить
            var form = new MeetingAdd();

            form.Show();
        }
Пример #2
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            var meeting = ListMeetings.SelectedItem as Meetings;

            if (meeting != null)
            {
                var form = new MeetingAdd(meeting);
                form.Show();
            }
        }