登录
首页 » C# » 仿QQ在屏幕边框隐藏窗口源码

仿QQ在屏幕边框隐藏窗口源码

于 2015-01-21 发布
0 191
下载积分: 1 下载次数: 0

代码说明:

仿QQ在屏幕边框隐藏窗口源码

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

发表评论

0 个回复

  • 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
  • 斑马打印机方法ZPLHelper
    【实例简介】懂得都懂,几乎实现工业上所有需求,实现打印图片、各种码、文字等等
    2021-10-09 00:30:55下载
    积分:1
  • WebService接口实现天气预报
    调用公共WebService接口实现天气预报。 最后更新与 2018年4月,附件分为两个版本,现新增了 新版的webservice调用方法,如下
    2014-04-15下载
    积分:1
  • asp 实现支付宝交易接口代码
    asp 实现支付宝交易接口代码
    2015-04-16下载
    积分:1
  • C# 树状 组织结构图 类似直销组织 源码
    C# 树状 组织结构图 类似直销组织 源码
    2013-10-03下载
    积分:1
  • C/C++经典面试题
    50个C、C 面试题.pdfC/C 经典面试题
    2020-06-05下载
    积分:1
  • PHP中的 dateline 转换成 c#中的 datetime 方法 UNIX时间转换
    在众多的PHP MySQL的应用之中,存储在MySQL中的时间都是一串数字,后经查这个格式的日期叫做:Unix Timestamp;Unix的timestamp是一组数字,表示从1970年1月1日以来的秒数。今天在进行C#应用开发时需要对MySQL中的数据进行操作,写出以下方法供大家参考。主要应用到的类库有:System.TimeZone应用的方法:返回对应于指定协调通用时间 (UTC) 的本地时间。public virtual DateTime ToLocalTime(   DateTime time);1、将系统时间转换成UNIX时间戳            DateTime dtStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970,1,1));            DateTime dtNow = DateTime.Parse(DateTime.Now.ToString());            TimeSpan toNow = dtNow.Subtract(dtStart);            string timeStamp = toNow.Ticks.ToString();            timeStamp = timeStamp.Substring(0,timeStamp.Length - 7);    2、将UNIX时间戳转换成系统时            string timeStamp = "1176686120";            DateTime dtStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970,1,1));            long lTime = long.Parse(timeStamp "0000000");            TimeSpan toNow = new TimeSpan(lTime);            DateTime dtResult = dtStart.Add(toNow);
    2013-11-14下载
    积分:1
  • C# cms 内容管理系统 完整源码下载
    C# cms 内容管理系统 完整源码下载
    2014-10-23下载
    积分:1
  • 课程信息VC操作Access数据库(实现增删改查)
    课程信息VC操作数据库,需要将course.mdb 放到 和 exe 同级目录
    2019-12-31下载
    积分:1
  • WPF控件应用
    常用的20多个基础控件的应用实例
    2013-11-25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载