Ejemplo n.º 1
0
        //统计
        private void barButtonItem6_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form3Print frm = new Form3Print();

            frm.IsSelect      = isSelect;
            frm.Text          = this.ctrlPowerEachList1.FocusedObject.ListName;
            frm.GridDataTable = ConvertTreeListToDataTable(treeList1);


            if (frm.ShowDialog() == DialogResult.OK && isSelect)
            {
                gcontrol     = frm.gridControl1;
                title        = frm.Title;
                unit         = "单位:万元";
                DialogResult = DialogResult.OK;
            }
        }
Ejemplo n.º 2
0
        //统计
        private void barButtonItem6_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form3Print frm = new Form3Print();
            frm.IsSelect = isSelect;
            frm.Text = "输变电设备情况表";
            frm.GridDataTable = ConvertTreeListToDataTable(treeList1);

            if (frm.ShowDialog() == DialogResult.OK && isSelect)
            {
                gcontrol = frm.gridControl1;
                title = frm.Title;
                unit = "单位:万元";
                DialogResult = DialogResult.OK;
            }
        }