예제 #1
0
 /// <summary>
 /// Override this to made changes before category load.
 /// </summary>
 protected override void OnDeserializing(bool designMode)
 {
     Properties = new GXPropertyCollection();
     Statistics = new GXCategoryStatistics();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the GXCategory class.
 /// </summary>
 public GXCategory(string name)
 {
     if (name != null)
     {
         Name = name;
     }
     Properties = new GXPropertyCollection();
     Statistics = new GXCategoryStatistics();
 }