Пример #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            ManageLocation ManageLocation = new ManageLocation();

            ManageLocation.Show();
            this.Hide();
        }
Пример #2
0
        private void button6_Click(object sender, EventArgs e)
        {
            ManageLocation frm = new ManageLocation()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            this.pnlView.Controls.Add(frm);
            frm.Show();
        }