D2DTestApp.D2DView.OnResize C# (CSharp) Méthode

OnResize() protected méthode

protected OnResize ( EventArgs e ) : void
e System.EventArgs
Résultat void
        protected override void OnResize(EventArgs e)
        {
            base.OnResize(e);
            if (_renderTarget != null)
                _renderTarget.Resize(new SharpDX.Size2(this.Width, this.Height));
        }