Esempio n. 1
0
        private void UserPropertiesBinding_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            UserProperties window = this.FindWindow <UserProperties>();

            if (window != null)
            {
                ActivateWindow <UserProperties>();
            }
            else
            {
                window = new UserProperties();
                window.Show();
            }

            window.DataContext = this.ContactsWindow.ContactList.SelectedItem;
        }