void SetOrgData(VOrgLevel org) { if (null == org) return; rowData = org; this.txtAddress.Text = org.Address; this.cltCity.Properties.KeyValue = org.CityCode; this.txtCnFullName.Text = org.cnFullName; this.txtCnName.Text = org.cnName; this.checkEditEnabled.Checked = org.Enabled == "1" ? true : false; this.txtEnFullName.Text = org.enFullName; this.txtEnName.Text = org.enName; this.txtOrgCode.Text = org.OrgCode; this.txtOurCompany.Text = org.OurCompany; this.txtPostCode.Text = org.Postcode; this.txtRemark.Text = org.Remark; this.txtWebsite.Text = org.Website; }
void treeViewOperator_CreatingObject(VOrgLevel newobj) { newobj.Org_ID = new mOrg().CreateID(); }
void treeViewOperator_AfterAdd(VOrgLevel newobj) { if (AfterAdd != null) AfterAdd(treeList1, newobj); }
void treeViewOperator_AfterDelete(VOrgLevel newobj) { if (AfterDelete != null) AfterDelete(treeList1, newobj); }