51CTO博客开发
this.FormBorderStyle = FormBorderStyle.None; #region窗体移动功能第一种 privatebool blnState = false;  
this.DoubleBuffered = true; this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw|ControlStyles.AllPaintingInWmPaint, true);相关页面:http://www.cnbl
WINFOR编译成X86的
///<summary> ///窗体显示到容器中 ///</summary> ///<paramname="frm">要显示的窗体对象</param> privatevoid FromShowDialog(Formfrm) { //窗口置顶 frm.TopLevel = false; //移除Panel容器里
const int CS_DROPSHADOW = 0x20000; constint GCL_STYLE = (-26); //声明Win32 API &nbs
publicstaticclass ExtensionControl { &nb
//一、开机自动启动: //拖一个CheckBox //1、软件启动时给CheckBox重置状态: RegistryKey R_local = Registry.LocalMachine; RegistryKey&nbs
/// <summary> /// 保存远程文件到本地 /// </summary> /// <param name="url">远程文件URL</param> /// <param name="file">保存的本地路径</param> ///
public static string GetSubString(string title, int length) { int totalLength = 0;
/// <summary> /// 转换人民币大小金额 /// </summary> /// <param name="num">金额</param> /// <returns>返回大写形式</returns> 
using System.Diagnostics; //引用命名空间 /// <summary> /// 隐藏方式运行DOS命令 /// </summary> /// <param name="command">DOS命令</param> pu
select REGEXP_SUBSTR('abcqw*13819445125*宁波市xxx100号','[0-9]+')from dual;
select nvl2(translate('20140001', '\1234567890', '\'), '0', '1') from dual;例子:selectcasewhen length(eng_code)=8thensubstr(eng_code, 0, 4) elsenullend eng_codebefore,casewhen length(eng_code)=8th
select length('姗姗') from dual;select lengthb('姗姗') from dual;select t.cont_code from ab001 t wherelengthb(t.cont_code) > length(t.cont_code)
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号