登录
首页 » C# » winform 抽奖程序 有图 完整源码下载

winform 抽奖程序 有图 完整源码下载

于 2013-08-19 发布
0 210
下载积分: 1 下载次数: 0

代码说明:

winform 抽奖程序 有图 完整源码下载

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

发表评论

0 个回复

  • C# 类似vs(Visual Studio) 属性设置效果 winform示例源码下载
    C# 类似vs(Visual Studio) 属性设置效果 winform示例源码下载
    2013-10-02下载
    积分: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
  • C语言入门教程.pdf(共434页)
    【实例简介】基础课程
    2021-06-09 00:32:05下载
    积分:1
  • C#WPF基础编程
    C#2010基础语言编写代码
    2017-08-05下载
    积分:1
  • 基于51单片机的串行通信实验【仿真电路图+程序,(C语言+汇编)】
    基于51单片机的串行通信实验【仿真电路图+程序,(C语言+汇编)】
    2021-05-06下载
    积分:1
  • 用linq实现 从数组中随机选n个 元素 示例
    用linq实现 从数组中随机选n个 元素 示例
    2014-06-12下载
    积分:1
  • 托盘控件的使用 示例源码下载
    托盘控件的使用 示例源码下载
    2013-10-03下载
    积分:1
  • log4net记录 wpf程序 全局错误日志 例子源码
    log4net 记录wpf 错误日志
    2014-10-22下载
    积分:1
  • 盛大点卷充值
    充值点卷到盛大账号上(盛大一卡通/盛付通卡)
    2015-02-22下载
    积分:1
  • DCOM授权
    DCOM授权
    2014-03-11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载