private void Button_Click(object sender, RoutedEventArgs e) { // добавить var form = new MeetingAdd(); form.Show(); }
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(); } }