杨智华

Results 1 issues of 杨智华

优化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);...