自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (1)
  • 收藏
  • 关注

原创 水晶按钮控件

using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Drawing.Imaging;using System.Drawing.Drawing2D;using System.Data;using System.Text;using S

2010-05-10 17:35:00 423

原创 C# pictureBox上设置label透明

属性里直接修改Color为Transparent;或者代码pictureBox1.SendToBack();label1.BackColor = Color.Transparent;label1.Parent = pictureBox1;label1.BringToFront();不止label可以透明,其他如pictureBox叠放同理可得

2010-04-02 09:55:00 806

原创 C# 如何鼠标拖动无边框窗体

设置了无边框表单,则无法使用鼠标拖动任意位置。通过以下方式实现        private void FrmLogin_MouseDown(object sender, MouseEventArgs e)        {            if (e.Button == MouseButtons.Left)            {                mouseOff

2010-04-02 09:41:00 872 1

C#关闭调出代码

C#关闭调出代码#region 关闭exe或bat文件,FileName是进程名称 /// <summary> /// 关闭exe或bat文件,FileName是进程名称 /// </summary> /// <param name="FileName">进程名称:FileName="notepad"</param> private void ShutExeBat(string FileName) { System.Diagnostics.Process[] myProcesses = System.Diagnostics.Process.GetProcesses(); foreach (System.Diagnostics.Process myProcess in myProcesses) { if (FileName.ToLower() == myProcess.ProcessName.ToLower()) myProcess.Kill(); } } #endregion Millet 10:41:19 if (Meeting1) { ShutExeBat("rtwdf32"); System.Threading.Thread.Sleep(1000); ExecuteExeBat(@"301.wdf", ""); Meeting1 = false; } else { Meeting1 = true; }

2011-11-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除