//涉外
        private void ButtonGlobal_Click(object sender, RoutedEventArgs e)
        {
            string UserName = ((GeneralView)((Button)sender).DataContext).name;

            tbIndicator.Text = UserName + ": 涉外未完成的新申请";
            NormalClass nc = new NormalClass();

            nc.Path = CurrentDir;
            nc.Foreign(UserName);
            dgDetailViewofMember.ItemsSource = nc.DtResult.DefaultView;
        }
Ejemplo n.º 2
0
        //分类:涉外
        private void rbtnForeign_Checked(object sender, RoutedEventArgs e)
        {
            lvw3.ItemsSource = null;
            NormalClass nc = new NormalClass();

            nc.Path = CurrentDir;
            nc.Foreign(UserName);
            tbForeign.Text   = "涉外(" + nc.Count.ToString() + ")";
            lvw3.ItemsSource = DTtoAbstracts1(nc.DtResult);
            lvw3.View        = lvw3.FindResource("tileView") as ViewBase;
        }