Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the PianoKey class.
        /// </summary>
        public PianoKey()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            //
            // Initialize properties.
            //

            this.orientation = PianoKeyOrientation.Vertical;
            this.shape       = PianoKeyShape.LShape;
            Size             = new Size(19, 51);
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the PianoKey class.
        /// </summary>
        public PianoKey()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            //
            // Initialize properties.
            //

            this.orientation = PianoKeyOrientation.Vertical;
            this.shape = PianoKeyShape.LShape;
            Size = new Size(19, 51);
        }