public AIOMusicController( AIODatabase aiodb ) : base(aiodb) { // // TODO: Add constructor logic here // }
public frmSubInfo(AIOSubInfoType type, AIODatabase db) { // // Required for Windows Form Designer support // InitializeComponent(); this.subInfoType = type; this.aioDb = db; }
public frmMusicInfo( AIODatabase aioDb, AIOMusicController controller, string ID ) { // // Required for Windows Form Designer support // InitializeComponent(); this.aioDb = aioDb; this.musicControler = ( AIOMusicController )controller; this.music = ( AIOMusic )this.musicControler.Select( ID ); // // TODO: Add any constructor code after InitializeComponent call // }
public frmBookInfo(AIODatabase aioDb, AIOCommonController controller, string ID) { // // Required for Windows Form Designer support // InitializeComponent(); this.aioDb = aioDb; this.controller = (AIOBookController)controller; this.book = (AIOBook)this.controller.Select(ID); //Init for udYear udYear.Maximum = DateTime.Now.Year; }
public frmMovieInfo( AIODatabase aioDb, AIOCommonController controller, string ID ) { // // Required for Windows Form Designer support // InitializeComponent(); this.aioDb = aioDb; this.movieController = ( AIOMovieController )controller; this.movie = ( AIOMovie )this.movieController.Select( ID ); nudYear.Maximum = DateTime.Now.Year; // // TODO: Add any constructor code after InitializeComponent call // }
public AIOBookController(AIODatabase aioDb) : base(aioDb) { }
public frmAIOMain() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // tree = new AIOFolderTree(); aioDb = new AIODatabase(); aioDb.ConnectToDB(DatabaseType.Access, "AIOManager.mdb"); //Choose a controller switch (curModule) { case AIOModule.MODULE_BOOK: controller = new AIOBookController(aioDb); break; } tree.CreateRoot(AIOConstant.GetModuleName(curModule)); tree.AioDatabase = aioDb; tree.Controller = controller; logicalExplorer1.SetTree(tree); logicalExplorer1.AioDatabase = aioDb; }
public AIOCommonController(AIODatabase aioDb) { this.aioDb = aioDb; }
public AIOMusicController(AIODatabase aiodb) : base(aiodb) { // // TODO: Add constructor logic here // }