public void QueryData(MCompanyPackage vcp) { CUtil.EnableForm(false, this); MCompanyPackage cp = CMasterReference.GetCompanyPackage(true); if (cp != null) { vcp.SetDbObject(cp.GetDbObject().Clone()); vcp.InitChildItems(); vcp.NotifyAllPropertiesChanged(); } CUtil.EnableForm(true, this); vw.IsModified = false; }
private void loadCompanyPackage() { CUtil.EnableForm(false, this); companyPackage = CMasterReference.GetCompanyPackage(false); CUtil.EnableForm(true, this); }