Beispiel #1
0
 public StageEditor(StageDao dao)
     : base()
 {
     this.dao        = dao;
     this.projectDao = new ProjectDao();
     InitializeComponent();
     InitData();
 }
Beispiel #2
0
 public BuildingEditor(BuildingDao dao)
     : base()
 {
     this.dao        = dao;
     this.projectDao = new ProjectDao();
     this.stageDao   = new StageDao();
     InitializeComponent();
     InitData();
 }
Beispiel #3
0
 public OutputUtils()
 {
     this.projectDao   = new ProjectDao();
     this.stageDao     = new StageDao();
     this.buildingDao  = new BuildingDao();
     this.floorplanDao = new FloorplanDao();
     this.apartmentDao = new ApartmentDao();
     this.mediaDao     = new MediaDao();
 }
Beispiel #4
0
	public static StageDao CreateStageDao () {
		if (sStageDao == null) {
			sStageDao = new StageDbDao ();
		}
		return  sStageDao;
	}