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

            pnHienthi.Controls.Add(benhtheophongkham);
            benhtheophongkham.Dock = System.Windows.Forms.DockStyle.Fill;
        }