• 大小: 0.11M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: GridView  DataGridView  打印  

资源简介

DataGridView打印。打印预览解决方案-第二部分

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace GridPrintPreviewLib
{
    /// 
    /// Helper for Brush
    /// 

    class BrushHelper
    {
        /// 
        /// Get the system brush from named color
        /// 

        /// Color (name color)
        /// System brush (to not dispose it)
        public static Brush GetBrush(Color c)
        {
            Brush b = null;
            switch (c.Name)
            {
                case “AliceBlue“:
                    b = Brushes.AliceBlue;
                    break;
                case “AntiqueWhite“:
                    b = Brushes.AntiqueWhite;
              

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2009-06-10 17:47  GridPrintPreviewSolution\GridLib\
     目录           0  2009-05-25 13:28  GridPrintPreviewSolution\GridLib\bin\
     目录           0  2009-05-28 16:05  GridPrintPreviewSolution\GridLib\bin\Debug\
     文件       53760  2009-06-10 17:47  GridPrintPreviewSolution\GridLib\bin\Debug\GridPrintPreviewLib.dll
     文件       16083  2009-05-07 17:03  GridPrintPreviewSolution\GridLib\BrushHelper.cs
     文件         820  2009-05-18 09:35  GridPrintPreviewSolution\GridLib\frmDialog.cs
     文件        4035  2009-05-18 09:35  GridPrintPreviewSolution\GridLib\frmDialog.Designer.cs
     文件        5814  2009-04-21 10:26  GridPrintPreviewSolution\GridLib\frmDialog.resx
     文件        1145  2009-05-26 12:52  GridPrintPreviewSolution\GridLib\frmPreviewDialog.cs
     文件        2490  2009-05-25 13:29  GridPrintPreviewSolution\GridLib\frmPreviewDialog.Designer.cs
     文件        5814  2009-05-25 13:26  GridPrintPreviewSolution\GridLib\frmPreviewDialog.resx
     文件        1166  2009-06-10 10:17  GridPrintPreviewSolution\GridLib\frmSettingFitDialog.cs
     文件        2124  2009-06-10 10:10  GridPrintPreviewSolution\GridLib\frmSettingFitDialog.Designer.cs
     文件        5814  2009-06-10 10:10  GridPrintPreviewSolution\GridLib\frmSettingFitDialog.resx
     文件        1799  2009-05-18 09:37  GridPrintPreviewSolution\GridLib\frmSettingMarginDialog.cs
     文件        2577  2009-05-18 09:38  GridPrintPreviewSolution\GridLib\frmSettingMarginDialog.Designer.cs
     文件        6446  2009-05-04 23:53  GridPrintPreviewSolution\GridLib\frmSettingMarginDialog.resx
     文件        2938  2009-06-10 10:21  GridPrintPreviewSolution\GridLib\GLFitSettings.cs
     文件        6819  2009-06-10 10:09  GridPrintPreviewSolution\GridLib\GLFitSettings.Designer.cs
     文件        5814  2009-06-10 10:09  GridPrintPreviewSolution\GridLib\GLFitSettings.resx
     文件        5315  2009-05-18 09:35  GridPrintPreviewSolution\GridLib\GLMarginSettings.cs
     文件        8200  2009-05-18 09:35  GridPrintPreviewSolution\GridLib\GLMarginSettings.Designer.cs
     文件        5814  2009-05-04 23:52  GridPrintPreviewSolution\GridLib\GLMarginSettings.resx
     文件       10906  2009-06-10 17:47  GridPrintPreviewSolution\GridLib\GLPrintPreviewControl.cs
     文件       17245  2009-06-10 10:02  GridPrintPreviewSolution\GridLib\GLPrintPreviewControl.Designer.cs
     文件       10834  2009-06-10 10:02  GridPrintPreviewSolution\GridLib\GLPrintPreviewControl.resx
     文件       28328  2009-06-10 10:21  GridPrintPreviewSolution\GridLib\GridPrintDocument.cs
     文件        5517  2009-05-26 12:03  GridPrintPreviewSolution\GridLib\GridPrintPreviewLib.csproj
     目录           0  2009-05-07 16:59  GridPrintPreviewSolution\GridLib\Properties\
     文件        1627  2009-04-01 10:29  GridPrintPreviewSolution\GridLib\Properties\AssemblyInfo.cs
     文件        4886  2009-05-07 17:03  GridPrintPreviewSolution\GridLib\TransformHelper.cs
............此处省略23个文件信息

评论

共有 条评论