示例#1
0
        private void buttonItem2_Click(object sender, EventArgs e)
        {
            controlPanel.Controls.Clear();
            ucProductManagement ucpm = new ucProductManagement();

            ucpm.Dock = DockStyle.Fill;
            controlPanel.Controls.Add(ucpm);
        }
示例#2
0
        private void buttonItem2_Click_1(object sender, EventArgs e)
        {
            ucProductManagement product = new ucProductManagement();

            controlPanel.Controls.Clear();

            product.Dock = DockStyle.Fill;
            controlPanel.Controls.Add(product);
        }