Example #1
0
        private void comp_add_screen_Click(object sender, EventArgs e)
        {
            company_us_co cm = new company_us_co();

            ADDpanel.Controls.Clear();
            ADDpanel.Controls.Add(cm);
            cm.Dock = DockStyle.Fill;
        }
Example #2
0
        private void update_expire_date_form_Load(object sender, EventArgs e)
        {
            company_us_co com = new company_us_co();

            panelEx1.Controls.Clear();
            panelEx1.Controls.Add(com);
            com.Dock = DockStyle.Fill;
        }