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

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