Exemple #1
0
        private void ShowUserView(User user)
        {
            var usermgmt = new UserMgmtModule();
            var form     = usermgmt.CallViewUserControl(user);

            edit_br.Child = form;
        }
Exemple #2
0
        private void UpdateUser_Clicked(object sender, RoutedEventArgs e)
        {
            var usermgmt = new UserMgmtModule();
            var data     = ((Button)sender).DataContext;
            var form     = usermgmt.CallUpdateUserControl((User)data, (u) =>
            {
                ShowUserView(u);
            });

            edit_br.Child = form;
        }
        private void UpdateUser_Clicked(object sender, RoutedEventArgs e)
        {
            var usermgmt = new UserMgmtModule();
            var data = ((Button)sender).DataContext;
            var form = usermgmt.CallUpdateUserControl((User)data, (u) =>
            {
                ShowUserView(u);
            });

            edit_br.Child = form;
        }
 private void ShowUserView(User user)
 {
     var usermgmt = new UserMgmtModule();
     var form = usermgmt.CallViewUserControl(user);
     edit_br.Child = form;
 }