gbrainy.Core.Toolkit.Widget.Widget C# (CSharp) Méthode

Widget() protected méthode

protected Widget ( double width, double height ) : System
width double
height double
Résultat System
        protected Widget(double width, double height)
        {
            if (width < 0 || width > 1)
                throw new ArgumentOutOfRangeException ("width");

            if (height < 0 || height > 1)
                throw new ArgumentOutOfRangeException ("height");

            Width = width;
            Height = height;
        }
Widget