Пример #1
0
 private void btnBrowse_Click(object sender, RoutedEventArgs e)
 {
     var dialog = new PeopleSelectorDialog();
     var u = (UserInfoParam)DataContext;
     dialog.DataContext = u;
     dialog.ShowExisting = false;
     dialog.Show();
 }
Пример #2
0
 private void txtError_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     var dialog = new PeopleSelectorDialog();
     var u = (UserInfoParam)DataContext;
     dialog.DataContext = u;
     dialog.ShowExisting = true;
     dialog.Show();
 }