コード例 #1
0
ファイル: FamilyComponent.cs プロジェクト: fualsht/FamFactory
 public FamilyComponent(DataRowView view, SQLiteConnection connection, User user, object application) : base(view, connection, user)
 {
     RefferencePlaneItems = new FamilyComponentReferencePlaneViewModel(view.Row.Table.DataSet, connection, user, application);
     FamilyGeometryItems  = new FamilyComponentGeometryViewModel(view.Row.Table.DataSet, connection, user, application);
     ParameterItems       = new FamilyComponentParameterViewModel(view.Row.Table.DataSet, connection, user, application);
     ComponentTypeItems   = new FamilyComponentTypeViewModel(view.Row.Table.DataSet, connection, user);
 }
コード例 #2
0
 public FamFactoryComponentViewModel(DataSet dataSet, System.Data.SQLite.SQLiteConnection sQLiteConnection, User user, object application) : base(dataSet, sQLiteConnection, user, application)
 {
     FamilyComponentTypeItems = new FamilyComponentTypeViewModel(dataSet, sQLiteConnection, user, application);
     ComponentDataView        = InternalDataSet.Tables[TableNames.FF_FamilyComponents].DefaultView;
     RefreshCollections();
 }