コード例 #1
0
        private void btnSinhlieuThetrang_ItemClick(object sender, ItemClickEventArgs e)
        {
            pnHienthi.Controls.Clear();
            ucSinhlieu sinhlieu = new ucSinhlieu();

            pnHienthi.Controls.Add(sinhlieu);
            sinhlieu.Dock = System.Windows.Forms.DockStyle.Fill;
        }
コード例 #2
0
 private void btnSinhlieuThetrang_ItemClick(object sender, ItemClickEventArgs e)
 {
     pnHienthi.Controls.Clear();
     ucSinhlieu sinhlieu = new ucSinhlieu();
     pnHienthi.Controls.Add(sinhlieu);
     sinhlieu.Dock = System.Windows.Forms.DockStyle.Fill;
 }