Beispiel #1
0
        //分类:初稿
        private void rbtnDone_Click(object sender, RoutedEventArgs e)
        {
            lvw3.ItemsSource = null;
            NormalClass nc = new NormalClass();

            nc.Path = CurrentDir;
            nc.FirstVirsion(UserName);
            tbDone.Text      = "初稿(" + nc.Count.ToString() + ")";
            lvw3.ItemsSource = DTtoAbstracts1(nc.DtResult);
            lvw3.View        = lvw3.FindResource("tileView") as ViewBase;
        }
        //初稿
        private void ButtonFirstVirsion_Click(object sender, RoutedEventArgs e)
        {
            string UserName = ((GeneralView)((Button)sender).DataContext).name;

            tbIndicator.Text = UserName + ": 已出初稿案件";
            NormalClass nc = new NormalClass();

            nc.Path = CurrentDir;
            nc.FirstVirsion(UserName);
            dgDetailViewofMember.ItemsSource = nc.DtResult.DefaultView;
        }
Beispiel #3
0
        private void tbkFirstVirsionTotalWeight_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            WindowWeightDetail wd = new WindowWeightDetail();
            NormalClass        nc = new NormalClass();

            nc.Path = CurrentDir;
            nc.FirstVirsion(UserName);

            WeightData wtdt = new WeightData();

            wtdt = CalculateWeight(nc.DtResult);
            wd.Firstdg.ItemsSource = wtdt.ResultTable.DefaultView;
            wd.tbTotalWeight.Text  = wtdt.Totalweight.ToString();
            wd.Show();
        }