public override void RefreshCollections()
 {
     InternalCollection.Clear();
     foreach (DataRowView item in InternalDataView)
     {
         InternalCollection.Add(new FamilyComponentType(item, SQLiteConnection, ActiveUser));
     }
 }
Exemplo n.º 2
0
 public override void RefreshCollections()
 {
     if (InternalCollection != null)
     {
         InternalCollection.Clear();
         foreach (DataRowView item in InternalDataSet.Tables[TableNames.FF_FamilyComponents].DefaultView)
         {
             this.AddElement(new FamilyComponent(item, SQLiteConnection, ActiveUser, ADSKApplciation), true);
         }
     }
 }
Exemplo n.º 3
0
 public override void RefreshCollections(string sortColumn, string filter)
 {
     if (InternalCollection != null)
     {
         InternalCollection.Clear();
         foreach (DataRowView item in InternalDataView)
         {
             this.AddElement(new FamilyComponent(item, SQLiteConnection, ActiveUser, ADSKApplciation), true);
         }
     }
 }
 public override void RefreshCollections()
 {
     if (InternalCollection != null)
     {
         InternalCollection.Clear();
         foreach (DataRowView item in InternalDataView)
         {
             this.AddElement(new ReferencePlane(item, SQLiteConnection, ActiveUser), true);
         }
     }
 }
Exemplo n.º 5
0
 public override void RefreshCollections()
 {
     if (InternalCollection != null)
     {
         InternalCollection.Clear();
         foreach (DataRowView item in InternalDataView)
         {
             this.AddElement(new FamilyTemplate(item, SQLiteConnection, ActiveUser, ADSKApplciation), true);
         }
     }
 }
 public override void RefreshCollections(string sortColumn, string filter)
 {
     if (InternalCollection != null)
     {
         InternalDataView.Sort      = sortColumn;
         InternalDataView.RowFilter = filter;
         InternalCollection.Clear();
         foreach (DataRowView item in InternalDataView)
         {
             this.AddElement(new ReferencePlane(item, SQLiteConnection, ActiveUser), true);
         }
     }
 }
Exemplo n.º 7
0
 public void Clear() => InternalCollection.Clear();
Exemplo n.º 8
0
 public void Clear()
 {
     collection.Clear();
 }
 protected override void ClearItems()
 {
     InternalCollection.Clear();
 }