コード例 #1
0
        //国内
        private void ButtonDomesdic_Click(object sender, RoutedEventArgs e)
        {
            string UserName = ((GeneralView)((Button)sender).DataContext).name;

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

            nc.Path = CurrentDir;
            nc.CN(UserName);
            dgDetailViewofMember.ItemsSource = nc.DtResult.DefaultView;
        }
コード例 #2
0
        //--------------------------------搜索区----------------------------------------------------------------


        //-------------------------------左侧按钮功能区:包括9个按钮:开始--------------------------------------------------
        //分类:国内
        private void rbtnCN_Checked(object sender, RoutedEventArgs e)
        {
            lvw3.ItemsSource = null;
            NormalClass nc = new NormalClass();

            nc.Path = CurrentDir;
            nc.CN(UserName);
            tbCN.Text        = "国内(" + nc.Count.ToString() + ")";
            lvw3.ItemsSource = DTtoAbstracts1(nc.DtResult);
            lvw3.View        = lvw3.FindResource("tileView") as ViewBase;
        }