• 大小: 0.09M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-23
  • 语言: C#
  • 标签: 文本  打印  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PrintText
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void printDocument1_PrintPage(object sender System.Drawing.Printing.PrintPageEventArgs e)
        {
            e.Graphics.DrawString(label1.Text new Font(“宋体“ 10 Fontstyle.Regular) Brushes.Black 260 400);
            e.Graphics.DrawString(textBox1.Text new Font(“宋体“ 10 Fontstyle.Regular) Brushes.Black 330 400);
            e.Graphics.DrawString(label2.Text new Font(“宋体“ 10 Fontstyle.Regular) Brushes.Black 270420);
            e.Graphics.DrawString(textBox2.Text new Font(“宋体“ 10 Fontstyle.Regular) Brushes.Black 330 420);
            e.Graphics.DrawString(label3.Text new Font(“宋体“ 10 Fontstyle.Regular) Brushes.Blac

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

    ..A..H.     32768  2019-08-28 09:54  PrintText\.vs\PrintText\v14\.suo

     文件       1416  2009-01-16 16:34  PrintText\Backup\PrintText\Form1.cs

     文件       6690  2009-01-16 16:34  PrintText\Backup\PrintText\Form1.designer.cs

     文件      21937  2009-01-16 16:34  PrintText\Backup\PrintText\Form1.resx

     文件       3764  2009-01-16 16:33  PrintText\Backup\PrintText\PrintText.csproj

     文件        490  2009-01-16 16:31  PrintText\Backup\PrintText\Program.cs

     文件       1374  2009-01-16 16:31  PrintText\Backup\PrintText\Properties\AssemblyInfo.cs

     文件       2868  2009-01-16 16:31  PrintText\Backup\PrintText\Properties\Resources.Designer.cs

     文件       5612  2009-01-16 16:31  PrintText\Backup\PrintText\Properties\Resources.resx

     文件       1094  2009-01-16 16:31  PrintText\Backup\PrintText\Properties\Settings.Designer.cs

     文件        249  2009-01-16 16:31  PrintText\Backup\PrintText\Properties\Settings.settings

     文件        917  2009-01-16 16:31  PrintText\Backup\PrintText.sln

     文件      20992  2019-08-28 09:52  PrintText\PrintText\bin\Debug\PrintText.exe

     文件      22016  2019-08-28 09:52  PrintText\PrintText\bin\Debug\PrintText.pdb

     文件      21680  2019-08-28 09:54  PrintText\PrintText\bin\Debug\PrintText.vshost.exe

     文件        490  2018-02-19 20:12  PrintText\PrintText\bin\Debug\PrintText.vshost.exe.manifest

     文件       1416  2009-01-16 16:34  PrintText\PrintText\Form1.cs

     文件       6690  2009-01-16 16:34  PrintText\PrintText\Form1.designer.cs

     文件      21937  2009-01-16 16:34  PrintText\PrintText\Form1.resx

     文件        790  2019-08-28 09:52  PrintText\PrintText\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7149  2019-08-28 09:52  PrintText\PrintText\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       2140  2019-08-28 09:54  PrintText\PrintText\obj\Debug\PrintText.csproj.FileListAbsolute.txt

     文件        847  2019-08-28 09:52  PrintText\PrintText\obj\Debug\PrintText.csproj.GenerateResource.Cache

     文件       1758  2019-08-28 09:52  PrintText\PrintText\obj\Debug\PrintText.csprojResolveAssemblyReference.cache

     文件      20992  2019-08-28 09:52  PrintText\PrintText\obj\Debug\PrintText.exe

     文件      10728  2019-08-28 09:52  PrintText\PrintText\obj\Debug\PrintText.Form1.resources

     文件      22016  2019-08-28 09:52  PrintText\PrintText\obj\Debug\PrintText.pdb

     文件        180  2019-08-28 09:52  PrintText\PrintText\obj\Debug\PrintText.Properties.Resources.resources

     文件       3584  2019-08-28 09:52  PrintText\PrintText\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       3954  2019-08-28 09:52  PrintText\PrintText\PrintText.csproj

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

评论

共有 条评论