Exemplo n.º 1
0
        private void clientRequestToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            client_request frm = new client_request();

            frm.MdiParent = this;
            frm.Show();
        }
Exemplo n.º 2
0
        private void btnClient_Click(object sender, EventArgs e)
        {
            panelMDI.Controls.Clear();
            panelMDI.Visible = true;
            client_request change = new client_request();

            change.TopLevel   = false;
            change.AutoScroll = true;
            panelMDI.Controls.Add(change);
            change.Dock = DockStyle.Fill;
            change.Show();

            pictureBox1.Visible = true;
            pictureBox1.Height  = btnClient.Height;
            pictureBox1.Top     = btnClient.Top;
        }