Example #1
0
 public InfoFormManager(InformationAddress ea = null)
 {
     editAddress   = ea;
     infoObservers = new List <IStructureObserver <InformationAddress> >();
     if (editAddress != null)
     {
         vcm = new ValueCategoriesharedManager(new Dictionary <int, int>(ea.ValueCategories));
     }
     else
     {
         vcm = new ValueCategoriesharedManager(new Dictionary <int, int>());
     }
 }
        public XYFormManager(XYRegion ox = null)
        {
            oldXY = ox;

            if (oldXY != null)
            {
                vcm = new ValueCategoriesharedManager(new Dictionary <int, int>(ox.ValueCategories));
            }
            else
            {
                vcm = new ValueCategoriesharedManager(new Dictionary <int, int>());
            }

            observers = new List <IStructureObserver <XYRegion> >();
        }