OSDN Git Service

起動時のウィンドウサイズ変更でフレームのゴミが消えなかった不具合を修正。
[strokestylet/CsWin10Desktop3.git] / StrokeStyleT / RenderForm.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Diagnostics;
4 using System.Linq;
5 using System.Windows.Forms;
6
7 namespace SST
8 {
9         class RenderForm : SharpDX.Windows.RenderForm
10         {
11                 public RenderForm()
12                 {
13                         this.BackColor = System.Drawing.Color.Black;
14                 }
15                 protected override void OnPaintBackground( PaintEventArgs e )
16                 {
17                         e.Graphics.Clear( System.Drawing.Color.Black );
18                 }
19         }
20 }