Пример #1
0
        private void btn_empl_Click(object sender, EventArgs e)
        {
            pan_mid.Controls.Clear();
            employe empl = new employe();

            empl.TopLevel   = false;
            empl.AutoScroll = true;
            pan_mid.Controls.Add(empl);
            empl.Show();
        }
Пример #2
0
        private void btn_emp_Click(object sender, EventArgs e)
        {
            employe empl = new employe();

            empl.ShowDialog();
        }