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

资源简介

需要安装DevExpress.XtraBars.v17.2

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using TestPrint.PrintHelp;
using TestPrint.PrintNameHelp;

namespace TestPrint
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void frmMain_Load(object sender EventArgs e)
        {
            
        }

        public List OpenFile(string filter = “*|*.*“)
        {
            List files = new List();
            using (OpenFileDialog ofd = new OpenFileDialog())
            {
                ofd.title = “最多上传五个文件“;
                ofd.Filter = filter;
                ofd.Multiselect = true;
                if (ofd.ShowDialog() == DialogResult.Cancel)
     

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-10-21 08:36  csprint\
     文件         350  2019-10-21 08:36  csprint\.gitignore
     文件        9227  2019-10-21 08:36  csprint\LICENSE
     文件         822  2019-10-21 08:36  csprint\README.en.md
     文件         920  2019-10-21 08:36  csprint\README.md
     文件        1101  2019-10-21 08:36  csprint\TestPrint.sln
     目录           0  2019-10-21 08:36  csprint\TestPrint\
     目录           0  2019-10-21 08:36  csprint\TestPrint\CommonPrintSet\
     文件        1103  2019-10-21 08:36  csprint\TestPrint\CommonPrintSet\baseSetting.Designer.cs
     文件         750  2019-10-21 08:36  csprint\TestPrint\CommonPrintSet\baseSetting.cs
     文件        5073  2019-10-21 08:36  csprint\TestPrint\CommonPrintSet\LocalSettings.cs
     文件         447  2019-10-21 08:36  csprint\TestPrint\CommonPrintSet\TreeItem.cs
     文件        5546  2019-10-21 08:36  csprint\TestPrint\CommonPrintSet\frmSettingManager.cs
     文件        9460  2019-10-21 08:36  csprint\TestPrint\CommonPrintSet\frmSettingManager.designer.cs
     文件        5896  2019-10-21 08:36  csprint\TestPrint\CommonPrintSet\frmSettingManager.resx
     目录           0  2019-10-21 08:36  csprint\TestPrint\PrintHelp\
     文件        1401  2019-10-21 08:36  csprint\TestPrint\PrintHelp\metaFile.cs
     文件        8384  2019-10-21 08:36  csprint\TestPrint\PrintHelp\PrintHelper.cs
     文件        7080  2019-10-21 08:36  csprint\TestPrint\PrintHelp\PrintManages.cs
     文件        4718  2019-10-21 08:36  csprint\TestPrint\PrintHelp\WinDrvPort.cs
     目录           0  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\
     文件         619  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\ControlTreeItem.cs
     文件        1369  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\LocalPrint.cs
     文件         452  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\LocalPrinterSetting.cs
     目录           0  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\PrintControl\
     文件        3180  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\PrintControl\BagPrint.Designer.cs
     文件        1034  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\PrintControl\BagPrint.cs
     文件        5698  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\PrintControl\BagPrint.resx
     文件         185  2019-10-21 08:36  csprint\TestPrint\PrintNameHelp\PrintType.cs
     文件         471  2019-10-21 08:36  csprint\TestPrint\Program.cs
     目录           0  2019-10-21 08:36  csprint\TestPrint\Properties\
............此处省略45个文件信息

评论

共有 条评论