/// <summary> /// Returns true if all fields (other than ID) are empty. /// </summary> /// <param name="r"></param> /// <returns></returns> private bool IsEmptyRecord(ITCLib.Region r) { if (string.IsNullOrEmpty(r.RegionName) && (r.RegionID == 0 && NewRecord)) { return(true); } else { return(false); } }
private void Bs_PositionChanged(object sender, EventArgs e) { CurrentRegion = (ITCLib.Region)bs.Current; PopulateTree(); }
private void RegionDetails_Load(object sender, EventArgs e) { CurrentRegion = (ITCLib.Region)bs.Current; }