예제 #1
0
        private void nameTextEdit_EditValueChanged(object sender, EventArgs e)
        {
            this.summaryTextEdit.Text  = nameTextEdit.Text;
            this.nameFTTextEdit.Text   = QT.Entities.Common.UnicodeToKoDauFulltext(nameTextEdit.Text).ToString();
            this.hashNameTextEdit.Text = QT.Entities.Common.GetHashNameProduct(_company.Domain, nameTextEdit.Text).ToString();

            //Name Image
            NameImagetextEdit.Text = QT.Entities.Common.UnicodeToKoDauAndGach(nameTextEdit.Text);
            if (_company.Status == QT.Entities.Common.CompanyStatus.WEB_NOMERCHANT)
            {
                long productid = 0;
                var  idredis   = _productMapRedisServer.IncreaseBy("WSS_MERCHANT_PRODUCT_ID", 1000000777);

                detailUrlTextEdit.Text = QT.Entities.Common.GetDetailUrlProductNomerchant(_company.Domain.Replace(".websosanh.vn", ""), nameTextEdit.Text, idredis, out productid);
                iDTextBox.Text         = productid.ToString();
            }
        }