예제 #1
0
        private void thietbiGUI_Load(object sender, EventArgs e)
        {
            quanlythietbiUC tb = new quanlythietbiUC();

            tb.Dock = System.Windows.Forms.DockStyle.Fill;
            pnmain.Controls.Add(tb);
        }
예제 #2
0
        private void btthietbi_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            pnmain.Controls.Clear();
            quanlythietbiUC tb = new quanlythietbiUC();

            tb.Dock = System.Windows.Forms.DockStyle.Fill;
            pnmain.Controls.Add(tb);
        }