登录
首页 » C# » WINFORM C# Picture控件透明背景的实例(可以拖动)

WINFORM C# Picture控件透明背景的实例(可以拖动)

于 2014-12-25 发布
0 117
下载积分: 1 下载次数: 0

代码说明:

WINFORM C# Picture控件透明背景的实例(可以拖动)

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

发表评论

0 个回复

  • wpf 自定义日期控件 例子源码
    wpf 自定义日期控件 例子源码
    2014-09-22下载
    积分: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# 电脑卫士垃圾清理工具源码下载
    就是那个两个圈比较有设计亮点,其他没啥,还有就是弹出U盘的 还有一点一定要看,点击文件粉碎就会有一个右键菜单,AddFile()就是注册事件 下面是清除方法调用和AddFile()一样一样的 U盘自动检测设备
    2017-03-26下载
    积分:1
  • 用于解决著名的奶牛问题
    该算法用于解决著名的奶牛问题
    2013-08-13下载
    积分:1
  • 通讯录管理系统 sqlserver 数据库
    c#通讯录管理 数据库连接自己修改,图片有些是本地需要自己手动修改
    2019-05-20下载
    积分:1
  • WebClient 实现网络文件下载实例源码(带进度)
    WebClient 实现网络文件下载实例源码(带进度)
    2014-06-11下载
    积分:1
  • C# 条形码实例源码下载
    C# 条形码实例源码下载
    2014-06-06下载
    积分:1
  • C# POP3接收邮件程序
    C# POP3接收邮件程序
    2015-02-04下载
    积分:1
  • C# WinFrom无失真缩小图片
    C# WinFrom无失真缩小图片
    2015-01-08下载
    积分:1
  • C#dotnetbar控件全DLL
    【实例简介】 C#dotnetbar控件全DLL,dotnetbar美化控件,先将Dll文件引用,然后在工具箱中添加
    2021-07-03 00:31:10下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载