예제 #1
0
        public PullMemberUpDialog(PullMemberUpDialogViewModel pullMemberUpViewModel)
        {
            ViewModel   = pullMemberUpViewModel;
            DataContext = pullMemberUpViewModel;

            // Set focus to first tab control when the window is loaded
            Loaded += (s, e) => MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));

            InitializeComponent();
        }
예제 #2
0
 public PullMemberUpDialog(PullMemberUpDialogViewModel pullMemberUpViewModel)
 {
     ViewModel   = pullMemberUpViewModel;
     DataContext = pullMemberUpViewModel;
     InitializeComponent();
 }