Example #1
0
        /// <summary>
        /// Displays the button example child form
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonExample_Click(object sender, EventArgs e)
        {
            ButtonExample buttonForm = new ButtonExample();

            buttonForm.MdiParent = this;
            buttonForm.Show();
        }
Example #2
0
        private void buttonExample_Click(object sender, EventArgs e) // Дочерняя форма с кнопками
        {
            var buttonForm = new ButtonExample {
                MdiParent = this
            };

            buttonForm.Show();
        }