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

资源简介

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

资源截图

代码片段和文件信息

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-05-16 09:54  GridPrintPreviewSolution\GridLib\
     目录           0  2009-05-16 09:54  GridPrintPreviewSolution\GridLib\bin\
     目录           0  2009-05-16 09:54  GridPrintPreviewSolution\GridLib\bin\Debug\
     文件       23552  2009-05-07 17:03  GridPrintPreviewSolution\GridLib\bin\Debug\GridLib.dll
     文件       16083  2009-05-07 17:03  GridPrintPreviewSolution\GridLib\BrushHelper.cs
     文件       25852  2009-05-07 17:03  GridPrintPreviewSolution\GridLib\GridPrintDocument.cs
     文件        2733  2009-05-07 17:03  GridPrintPreviewSolution\GridLib\GridPrintPreviewLib.csproj
     目录           0  2009-05-16 09:54  GridPrintPreviewSolution\GridLib\Properties\
     文件        1627  2009-04-01 10:29  GridPrintPreviewSolution\GridLib\Properties\AssemblyInfo.cs
     文件        4886  2009-05-07 17:03  GridPrintPreviewSolution\GridLib\TransformHelper.cs
     文件        1410  2009-05-07 17:03  GridPrintPreviewSolution\GridPrintPreviewSolution.sln
     目录           0  2009-05-16 09:54  GridPrintPreviewSolution\TestApp\
     目录           0  2009-05-16 09:54  GridPrintPreviewSolution\TestApp\bin\
     目录           0  2009-05-16 09:54  GridPrintPreviewSolution\TestApp\bin\Debug\
     文件       23552  2009-05-07 17:03  GridPrintPreviewSolution\TestApp\bin\Debug\GridLib.dll
     文件       13312  2009-05-07 17:38  GridPrintPreviewSolution\TestApp\bin\Debug\TestApp.exe
     文件       14328  2009-05-14 18:16  GridPrintPreviewSolution\TestApp\bin\Debug\TestApp.vshost.exe
     文件         490  2007-07-21 02:33  GridPrintPreviewSolution\TestApp\bin\Debug\TestApp.vshost.exe.manifest
     文件       42337  2009-05-07 17:35  GridPrintPreviewSolution\TestApp\bin\Debug\testdata.xml
     文件        7219  2009-05-07 17:38  GridPrintPreviewSolution\TestApp\Form1.cs
     文件        6752  2009-05-07 17:28  GridPrintPreviewSolution\TestApp\Form1.Designer.cs
     文件        5814  2009-05-07 17:28  GridPrintPreviewSolution\TestApp\Form1.resx
     文件        1546  2009-05-07 17:05  GridPrintPreviewSolution\TestApp\MyGridDoc.cs
     文件         505  2009-04-01 10:51  GridPrintPreviewSolution\TestApp\Program.cs
     目录           0  2009-05-16 09:54  GridPrintPreviewSolution\TestApp\Properties\
     文件        1627  2009-04-01 10:51  GridPrintPreviewSolution\TestApp\Properties\AssemblyInfo.cs
     文件        3027  2009-04-01 10:51  GridPrintPreviewSolution\TestApp\Properties\Resources.Designer.cs
     文件        5612  2009-04-01 10:51  GridPrintPreviewSolution\TestApp\Properties\Resources.resx
     文件        1092  2009-04-01 10:51  GridPrintPreviewSolution\TestApp\Properties\Settings.Designer.cs
     文件         249  2009-04-01 10:51  GridPrintPreviewSolution\TestApp\Properties\Settings.settings
     文件        4229  2009-05-07 17:37  GridPrintPreviewSolution\TestApp\TestApp.csproj
............此处省略1个文件信息

评论

共有 条评论