示例#1
0
        private void btnNormalUserRegistration_Click(object sender, RoutedEventArgs e)
        {
            this.grdShow.Children.Clear();
            UC_NormalUserRegistration uc = new UC_NormalUserRegistration();

            grdShow.Children.Add(uc);
        }
        private void btnNew_Click(object sender, RoutedEventArgs e)
        {
            W_AdministratorAddNormalUser w  = new W_AdministratorAddNormalUser();
            UC_NormalUserRegistration    uc = new UC_NormalUserRegistration();

            w.grid1.Children.Add(uc);
            w.Show();
            //dataentity.NormalUsers.Local.Add(new Model.NormalUser {  });
            //btnLast_Click(sender, e);
        }