コード例 #1
0
 internal override bool ReleaseSubobject(EditableSubobject editableSubobject)
 {
     if (base.ReleaseSubobject(editableSubobject))
     {
         return(true);
     }
     if (editableSubobject == movieEditObject)
     {
         movieEditObject = null;
         return(true);
     }
     if (editableSubobject == movieCompanyEditObject)
     {
         movieCompanyEditObject = null;
         return(true);
     }
     if (editableSubobject == movieArtistEditObject)
     {
         movieArtistEditObject = null;
         return(true);
     }
     if (editableSubobject == movieItemsEditObject)
     {
         movieItemsEditObject = null;
         return(true);
     }
     if (editableSubobject == movieAddItemsEditObject)
     {
         movieAddItemsEditObject = null;
         return(true);
     }
     return(false);
 }
コード例 #2
0
ファイル: MovieEdit.cs プロジェクト: jannisk/VideoRent
 public MovieEdit(MovieEditObject editObject, ModuleObjectDetail detail)
     : base(editObject, detail)
 {
     MovieGenreEditData  = new MovieGenreEditData();
     MovieRatingEditData = new MovieRatingEditData();
 }