示例#1
0
        private void FillParentLineList()
        {
            string sql = "ZoneId NOT IN ('" + this.ZoneId.ToString() + "')";

            string[] orderBy = new string[] { "ZoneCode" };
            WorkplaceZoneEx.LoadCombo(ref cboParent, "ZoneCode", true, true, "", sql, orderBy);
        }
示例#2
0
        /// <summary>
        /// Fills the zone list.
        /// </summary>
        public void FillZoneList()
        {
            WorkplaceZoneEx.LoadCombo(ref cboZone, "ZoneName", true);

            if (ConfigHelper.CurrentZoneId != Guid.Empty)
            {
                cboZone.SelectedValue = ConfigHelper.CurrentZoneId;
            }
        }
示例#3
0
 private void FillZone()
 {
     WorkplaceZoneEx.LoadCombo(ref cboZone, "ZoneName", true);
 }