winform.controls
winform.controls copied to clipboard
分享几年前开发的一套winform控件库。当时主要为开发公司内部ERP系统,重新设计实现了所有用到的Winform组建,包括Form窗体组建6个(支持换肤),基础控件25个。其中有很多参考借鉴其他开源组件,也有几个是集成的别...
有一些程序集没有怎么办,也不知道怎么找
优化BaseForm的OnPaint函数 protected override void OnPaint(PaintEventArgs e) { //Graphics g = e.Graphics; //GDIHelper.InitializeGraphics(g); //this.DrawFormBackGround(g); //this.DrawCaption(g); //this.DrawFormBorder(g); //缓冲 BufferedGraphicsContext currentContext = BufferedGraphicsManager.Current; BufferedGraphics myBuffer = currentContext.Allocate(e.Graphics, e.ClipRectangle); Graphics g = myBuffer.Graphics; GDIHelper.InitializeGraphics(g);...
边框重绘BUG
在BaseForm中,407行左右,增加一个case case (int)WindowMessages.WM_NCACTIVATE: if (m.WParam == (IntPtr)Win32.FALSE) { m.Result = (IntPtr)Win32.TRUE; } break;
希望能持续更新
一直在关注,作者首次提交后就再也没有更新了,希望能持续更新