コード例 #1
0
        public ThemKH(ucQuanLyThongTinKhachHang ff)
        {
            InitializeComponent();
            CapDoDao cd = new CapDoDao();

            foreach (var item in cd.GetCapDo())
            {
                comboBoxEdit1.Properties.Items.Add(item);
            }
            f = ff;
            KhachHangDao kh = new KhachHangDao();

            txtMaKH.Text = kh.getlastkhachhang();
        }
コード例 #2
0
        private void btnQuanLyKhachHang_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ucQuanLyThongTinKhachHang ucQuanLyThongTinKhachHang = new ucQuanLyThongTinKhachHang(taikhoanhientai);

            AddTabControl(ucQuanLyThongTinKhachHang, "Quản lý thông tin khách hàng", "");
        }