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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DemoPrint
{
    public partial class MainForm : Form
    {
        private int width_p = 200;//单位是mm

        private int height_p = 70;//单位是mm

        private int margin_lr = 2;//左右边距

        private int margin_tb = 2;//上下边距

        /// 
        /// 需要打印的内容
        /// 

        public List PrintInfos { get; set; }

        private PrintHelper printHelper = new PrintHelper();

        public MainForm()
        {
            InitializeComponent();
        }

        privat

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        189  2017-05-24 22:21  DemoPrint\App.config

     文件      28160  2017-05-30 23:21  DemoPrint\bin\Debug\DemoPrint.exe

     文件        189  2017-05-24 22:21  DemoPrint\bin\Debug\DemoPrint.exe.config

     文件      38400  2017-05-30 23:21  DemoPrint\bin\Debug\DemoPrint.pdb

     文件      22696  2017-05-30 23:21  DemoPrint\bin\Debug\DemoPrint.vshost.exe

     文件        189  2017-05-24 22:21  DemoPrint\bin\Debug\DemoPrint.vshost.exe.config

     文件        490  2015-10-22 09:54  DemoPrint\bin\Debug\DemoPrint.vshost.exe.manifest

     文件       3973  2017-05-29 19:45  DemoPrint\DemoPrint.csproj

     文件       7744  2017-05-30 23:21  DemoPrint\MainForm.cs

     文件      41276  2017-05-30 22:54  DemoPrint\MainForm.Designer.cs

     文件       6414  2017-05-30 22:54  DemoPrint\MainForm.resx

     文件        639  2017-05-30 23:21  DemoPrint\obj\Debug\DemoPrint.csproj.FileListAbsolute.txt

     文件       1016  2017-05-30 22:54  DemoPrint\obj\Debug\DemoPrint.csproj.GenerateResource.Cache

     文件       2384  2017-05-24 22:48  DemoPrint\obj\Debug\DemoPrint.csprojResolveAssemblyReference.cache

     文件      28160  2017-05-30 23:21  DemoPrint\obj\Debug\DemoPrint.exe

     文件        180  2017-05-30 22:54  DemoPrint\obj\Debug\DemoPrint.MainForm.resources

     文件      38400  2017-05-30 23:21  DemoPrint\obj\Debug\DemoPrint.pdb

     文件        180  2017-05-29 21:46  DemoPrint\obj\Debug\DemoPrint.Properties.Resources.resources

     文件       1464  2017-05-25 22:22  DemoPrint\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7132  2017-05-29 19:26  DemoPrint\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2017-05-24 22:21  DemoPrint\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2017-05-24 22:21  DemoPrint\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2017-05-24 22:21  DemoPrint\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       3620  2017-05-29 23:17  DemoPrint\PrintHelper.cs

     文件        524  2017-05-24 22:28  DemoPrint\Program.cs

     文件       1326  2017-05-24 22:21  DemoPrint\Properties\AssemblyInfo.cs

     文件       2831  2017-05-24 22:21  DemoPrint\Properties\Resources.Designer.cs

     文件       5612  2017-05-24 22:21  DemoPrint\Properties\Resources.resx

     文件       1096  2017-05-24 22:21  DemoPrint\Properties\Settings.Designer.cs

     文件        249  2017-05-24 22:21  DemoPrint\Properties\Settings.settings

............此处省略11个文件信息

评论

共有 条评论