예제 #1
0
        private void ManageAltNames_Click(object sender, RoutedEventArgs e)
        {
            NameManagementWindow window = new NameManagementWindow(ViewModel.AltNames);

            window.Closed += new System.EventHandler(AddNames_Closed);
            window.Show();
        }
예제 #2
0
        private void AddNames_Closed(object sender, System.EventArgs e)
        {
            NameManagementWindow window = sender as NameManagementWindow;

            if (window.DialogResult == true)
            {
                ViewModel.AltNames = window.AltNames;
            }
        }