Example #1
0
 internal Piece(QF.Piece piece)
     : this()
 {
     this.InitializeComponent();
     this.SetStyle(ControlStyles.UserPaint |
                   ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);
     this.piece = piece;
 }
Example #2
0
		internal Piece(QF.Piece piece)
			: this()
		{
			this.InitializeComponent();
			this.SetStyle(ControlStyles.UserPaint |
				ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);
			this.piece = piece;
		}