登录
首页 » C# » Visual C#2017 范例程序.rar

Visual C#2017 范例程序.rar

于 2021-07-18 发布
0 283
下载积分: 1 下载次数: 2

代码说明:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 网站代码
    一个搜索网站的源代码
    2013-03-21下载
    积分:1
  • KMP算法
    【实例简介】KMP改进算法
    2021-07-27 00:31:05下载
    积分:1
  • C# 入门级MVC实例源码(用到了NHibernate)
    C# 入门级MVC实例源码(用到了NHibernate)
    2014-11-25下载
    积分:1
  • linux QT开发的照片阅读器
    ImageViewer-master.zip
    2021-06-24 00:31:12下载
    积分:1
  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • qq登入器源码
    qq登入器源码
    2013-09-13下载
    积分:1
  • 可以打印的DataGridView
    可以打印的DataGridView
    2015-03-19下载
    积分:1
  • c# 调用大漠源码
    xDM c# 使用大漠插件. 完成 类似 按键精灵的 功能. 方法 注释 正在慢慢的 完善中 仓库githubhttps://github.com/xxxxue/xDM码云https://gitee.com/xxxxue/xDM/tree/dev准备 运行需要 .NET Framework 4.7.2 或者 手动把 类库框架版本改为 自己有的版本 效果图如何运行1. 注册 大漠dll 到com (资源在 源码的 DLL 文件夹中)2. 成功 提示3. 验证是否注册成功 (列表中存在即可,不需要引用到项目中)4.在 Visual Studio 中运行项目 查看结果 使用免费版 或者 填写 注册码 后 再运行
    2020-03-02下载
    积分:1
  • C# 聊天 ChatClient3源码(仅含服务器端)
    C# 聊天 ChatClient3源码(仅含服务器端)
    2015-04-17下载
    积分:1
  • C#实现环形缓冲区实例
    因个人需求,需要测试串口数据,直接拿去应用就可以了,经历半个月的压力测试,都没问题, *组件功能:利用环形缓冲区的特点实现对接收到的数据环形缓冲进行缓冲, *进而减少应用程序对数据解析的压力,同时通过组件里面封装的读取缓冲 *区的数据的函数,来读取缓冲区完整的一帧数据,从而减少或是避免数据 *包的丢失的情况的发生,同时也减少了工程师重复编写数据解析方法的重,
    2019-10-24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载