private void Initialize() { LanguageEngine.ChangeCaptionLayoutControlGroup(this.Name, ConfigEngine.Language, logDetail); LanguageEngine.ChangeCaptionLayoutControlItem(this.Name, ConfigEngine.Language, new DevExpress.XtraLayout.LayoutControlItem[] { lciLevel1Code, lciLevel1ShortCode, lciVNName, lciENName, lciRank, lciNote, lciDescription }); LanguageEngine.ChangeCaptionCheckEdit(this.Name, ConfigEngine.Language, chkUsed); LanguageEngine.ChangeCaptionSimpleButton(this.Name, ConfigEngine.Language, new SimpleButton[] { btnSaveClose, btnSaveInsert, btnCancel }); }
private void Initialize() { LanguageEngine.ChangeCaptionLayoutControlGroup(this.Name, ConfigEngine.Language, logDetail); LanguageEngine.ChangeCaptionLayoutControlItem(this.Name, ConfigEngine.Language, new DevExpress.XtraLayout.LayoutControlItem[] { lciStoreCode, lciShortCode, lciVNName, lciENName, lciBuildDate, lciEndDate, lciAddressVN, lciAddressEN, lciProvince, lciDistrict, lciPhone, lciFax, lciTaxCode, lciRank, lciRepresentives, lciNote }); LanguageEngine.ChangeCaptionCheckEdit(this.Name, ConfigEngine.Language, new CheckEdit[] { chkIsRoot, chkUsed }); LanguageEngine.ChangeCaptionGridLookUpEdit(this.Name, ConfigEngine.Language, new GridLookUpEdit[] { gluProvince, gluDistrict }); LanguageEngine.ChangeCaptionPictureEdit(this.Name, ConfigEngine.Language, picPhoto); LoadProvince(); }
private async void Initialize() { LanguageEngine.ChangeCaptionLayoutControlItem(this.Name, ConfigEngine.Language, new DevExpress.XtraLayout.LayoutControlItem[] { lciDistrictCode, lciVNName, lciENName, lciProvince, lciNote, lciRank }); LanguageEngine.ChangeCaptionLayoutControlGroup(this.Name, ConfigEngine.Language, logDetail); LanguageEngine.ChangeCaptionCheckEdit(this.Name, ConfigEngine.Language, chkUsed); LanguageEngine.ChangeCaptionSimpleButton(this.Name, ConfigEngine.Language, new SimpleButton[] { btnSaveClose, btnSaveInsert, btnCancel }); LanguageEngine.ChangeCaptionGridLookUpEdit(this.Name, ConfigEngine.Language, gluProvince); await LoadProvince(); }
private void Initialize() { LanguageEngine.ChangeCaptionLayoutControlGroup(this.Name, ConfigEngine.Language, logDetail); LanguageEngine.ChangeCaptionLayoutControlItem(this.Name, ConfigEngine.Language, new DevExpress.XtraLayout.LayoutControlItem[] { lciStallCode, lciVNName, lciENName, lciStore, lciWarehouse, lciRank, lciNote }); LanguageEngine.ChangeCaptionGridLookUpEdit(this.Name, ConfigEngine.Language, new GridLookUpEdit[] { gluStore, gluWarehouse }); LanguageEngine.ChangeCaptionCheckEdit(this.Name, ConfigEngine.Language, chkUsed); LanguageEngine.ChangeCaptionSimpleButton(this.Name, ConfigEngine.Language, new SimpleButton[] { btnSaveClose, btnSaveInsert, btnCancel }); LoadStore(); }
private async void Initialize(SYS_tblUserDTO item) { LanguageEngine.ChangeCaptionLayoutControlGroup(this.Name, ConfigEngine.Language, logDetail); LanguageEngine.ChangeCaptionLayoutControlItem(this.Name, ConfigEngine.Language, new DevExpress.XtraLayout.LayoutControlItem[] { lciUsername, lciPassword, lciGroupUser, lciFullName, lciEffectiveDate, lciToDate, lciLockDate, lciUnlockDate, lciEmail, lciNote }); LanguageEngine.ChangeCaptionSimpleButton(this.Name, ConfigEngine.Language, new SimpleButton[] { btnSaveClose, btnSaveInsert, btnCancel }); LanguageEngine.ChangeCaptionCheckEdit(this.Name, ConfigEngine.Language, new CheckEdit[] { chkIsEmployee, chkLocked, chkCanNotChangePassword, chkChangePassNextTime, chkPasswordNeverExpired }); LanguageEngine.ChangeCaptionGridLookUpEdit(this.Name, ConfigEngine.Language, gluGroupUser); await LoadGroupUser(item); dteEffectiveDate.EditValue = CommonEngine.SystemDateTime; }