Exemplo n.º 1
0
        //分类:本月初稿统计
        private void rbtnCurrentDone_Click(object sender, RoutedEventArgs e)
        {
            lvw3.ItemsSource = null;
            NormalClass nc = new NormalClass();

            nc.Path = CurrentDir;
            nc.FirstVirsion_ThisMonth(UserName);
            tbCurrentDone.Text = "本月初稿(" + nc.Count.ToString() + ")";
            lvw3.ItemsSource   = DTtoAbstracts1(nc.DtResult);
            lvw3.View          = lvw3.FindResource("tileView") as ViewBase;
        }
Exemplo n.º 2
0
        private void showWeight()
        {
            WeightData  wtdt = new WeightData();
            NormalClass nc   = new NormalClass();

            nc.Path = CurrentDir;

            //计算个人初稿
            nc.FirstVirsion_ThisMonth(UserName);
            wtdt = CalculateWeight(nc.DtResult);
            tbkFirstVirsionTotalWeight.Text = wtdt.Totalweight.ToString();

            //计算个人递交
            nc.Done_ThisMonth(UserName);
            wtdt = CalculateWeight(nc.DtResult);
            tbkDoneWeight.Text = wtdt.Totalweight.ToString();

            //计算部门初稿
            nc.FirstVirsion_Group_ThisMonth();
            wtdt = CalculateWeight(nc.DtResult);
            tbkFirstVirsionGroupTotalWeight.Text = wtdt.Totalweight.ToString();

            //计算部门递交
            nc.Done_Group_ThisMonth();
            wtdt = CalculateWeight(nc.DtResult);
            tbkGroupDoneWeight.Text = wtdt.Totalweight.ToString();

            //计算积案
            nc.OverStock();
            wtdt = CalculateWeight(nc.DtResult);
            tbkOverStock.Text = wtdt.Count.ToString();

            //计算超期案件
            nc.OutofLimit();
            wtdt = CalculateWeight(nc.DtResult);
            tbkOutofLimit.Text = wtdt.Count.ToString();
        }