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

            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;
            }
        }
Ejemplo n.º 2
0
        //统计
        private void barButtonItem6_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form10Print frm = new Form10Print();
            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;
            }
        }