コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="feature"></param>
 protected virtual void AfterFeatureRemove(GridFeature feature)
 {
     this.Controls.Remove(feature);
     this.LazyItems.Remove(feature);
     feature.FeatureRemoved();
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="feature"></param>
 protected virtual void AfterFeatureAdd(GridFeature feature)
 {
     this.Controls.Add(feature);
     this.LazyItems.Add(feature);
     feature.FeatureAdded();
 }