private void DatabaseTest() { VideoDatabase vdb = new VideoDatabase(); vdb.MovieName = "ayan"; vdb.StarCast = "suriya"; vdb.Language = "Tamil"; vdb.HasSubtitle = true; vdb.Genre = "Action"; MessageBox.Show(vdb.MovieName); MessageBox.Show(vdb.StarCast); MessageBox.Show(vdb.Language); MessageBox.Show(vdb.Genre); MessageBox.Show(vdb.HasSubtitle.ToString()); vdb.AddMovie("Nala Damayanti"); vdb.AddExtension("dat"); vdb.AddExtension("avi"); vdb.AddSearchPath("F:\\Movies"); vdb.AddSearchPath("L:\\DATA\\Movies"); }
public VideoSnooper(VideoDatabase v) { vdb = v; alFileTypes = vdb.GetExtensions(); }
public VideoSnooper() { vdb = VideoDatabase.Instance(); alFileTypes = vdb.GetExtensions(); }
public VideoLibrary() { InitializeComponent(); vdb = VideoDatabase.Instance(); }
public VideoSnooper() { vdb = new VideoDatabase(); alFileTypes = vdb.GetExtensions(); }
public Configure() { InitializeComponent(); vdb = VideoDatabase.Instance(); }
public ViewDetails() { InitializeComponent(); vdb = VideoDatabase.Instance(); }