Example #1
0
        private void clientsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClientsForm c = new ClientsForm();

            c.TopLevel  = false;
            c.MdiParent = this;
            c.Show();
        }
Example #2
0
        private void керуванняКлієнтамиToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClientsForm form = new ClientsForm();

            form.TopLevel  = false;
            form.MdiParent = this;
            form.Show();
        }
        private void btnClients_Click(object sender, EventArgs e)
        {
            ClientsForm form = new ClientsForm();

            form.TopLevel  = false;
            form.MdiParent = (MainForm)Parent.Parent;
            form.Show();
            Close();
        }