/// <summary>
        /// Xử lý sự kiện thêm
        /// </summary>
        private void Them()
        {
            Window window = new Window();
            ucKhachHangThanhVienBinhKhanh uc = new ucKhachHangThanhVienBinhKhanh();

            uc.TthaiNvu = "";
            window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            window.Title = DatabaseConstant.layNgonNguTieuDeForm(uc.function);

            window.Content = uc;
            window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            window.ShowDialog();
        }
        /// <summary>
        /// Xử lý sự kiện sửa
        /// </summary>
        private void Xem()
        {
            DataRowView dr = (DataRowView)grKhachHangDS.SelectedItem;

            if (dr == null)
            {
                LMessage.ShowMessage("M.DungChung.ChuaChonBanGhi", LMessage.MessageBoxType.Warning);
            }
            else
            {
                Window window = new Window();
                ucKhachHangThanhVienBinhKhanh uc = new ucKhachHangThanhVienBinhKhanh(Convert.ToInt32(dr["ID"]), dr["TTHAI_NVU"].ToString(), DatabaseConstant.Action.XEM);
                window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
                window.Title   = DatabaseConstant.layNgonNguTieuDeForm(uc.function);
                window.Content = uc;
                window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
                window.ShowDialog();
            }
        }
        /// <summary>
        /// Xử lý sự kiện sửa
        /// </summary>
        private void Sua()
        {
            DataRowView dr = (DataRowView)grKhachHangDS.SelectedItem;

            if (dr == null)
            {
                LMessage.ShowMessage("Chưa có bản ghi nào được chọn", LMessage.MessageBoxType.Warning);
                return;
            }
            else
            {
                Window window = new Window();
                ucKhachHangThanhVienBinhKhanh uc = new ucKhachHangThanhVienBinhKhanh(Convert.ToInt32(dr["ID"]), dr["TTHAI_NVU"].ToString(), DatabaseConstant.Action.SUA);
                window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
                window.Title   = DatabaseConstant.layNgonNguTieuDeForm(uc.function);
                window.Content = uc;
                window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
                window.ShowDialog();
            }
        }