- ふらっと C#,C♯,C#(初心者用) Part114©2ch.net
670 :デフォルトの名無しさん[sage]:2015/02/16(月) 18:17:39.71 ID:dSDAr7lb - private void Display()
{ ... while() { var bmp = BitmapConverter.ToBitmap(image); this.BeginInvoke(new MethodInvoker(() => { this.bitmapA = bmp; this.Invalidate(); })); ... } } private void Form1_MouseMove(...) { this.bitmapBに描画 this.Invalidate(); } private void Form|PictureBox_Paint(...) { e.Graphics.DrawImage(this.bitmapA, ...); e.Graphics.DrawImage(this.bitmapB, ...); } こんなんとか PictureBox.Imageは使わない方向で
|
|