winform弹屏右下角
摘要:命名空间:using System.Runtime.InteropServices;public class Win32 { public const Int32 AW_HOR_POSITIVE = 0x00000001; public const Int32 AW_HOR_NEGATIVE = 0x00000002; public const Int32 AW_VER_POSITIVE = 0x00000004; public const Int32 AW_VER_NEGATIVE = 0x00000008; public const Int32 AW_CENTER = 0x00000010
阅读全文
posted @
2011-09-02 14:41
张@天
阅读(357)
推荐(0)
判断一个数组中的值是否在另一个数组中
摘要:string str = ""; string str2 = ""; string[] arr2 = { "预约时间", "姓名", "性别", "年龄", "电话", "身份证号码", "诊疗卡号", "订单号", "挂号时间", "科室", "医院", "监护人" }; string[] arr1 = { &quo
阅读全文
posted @
2011-07-01 10:00
张@天
阅读(1355)
推荐(0)
WinForm Timer组件的用法
摘要:if(strSelectedItemName=="True"){this.timer1.Enabled=true;this.timer1.Start();return;}else{this.timer1.Stop();//停止计时}3种Timer的用法(转) 关于C#中timer类在C#里关于定时器类就有3个1.定义在System.Windows.Forms里2.定义在System.Threading.Timer类里"3.定义在System.Timers.Timer类里System.Windows.Forms.Timer是应用于WinForm中的,它是通过Wind
阅读全文
posted @
2011-05-25 11:09
张@天
阅读(4590)
推荐(1)