Пример #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);
 }