Exemple #1
0
 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;
 }
Exemple #2
0
 void treeViewOperator_CreatingObject(VOrgLevel newobj)
 {
     newobj.Org_ID = new mOrg().CreateID();
 }
Exemple #3
0
 void treeViewOperator_AfterAdd(VOrgLevel newobj)
 {
     if (AfterAdd != null)
         AfterAdd(treeList1, newobj);
 }
Exemple #4
0
 void treeViewOperator_AfterDelete(VOrgLevel newobj)
 {
     if (AfterDelete != null)
         AfterDelete(treeList1, newobj);
 }