Exemple #1
0
        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");
        }
Exemple #2
0
 public VideoSnooper(VideoDatabase v)
 {
     vdb         = v;
     alFileTypes = vdb.GetExtensions();
 }
Exemple #3
0
 public VideoSnooper()
 {
     vdb         = VideoDatabase.Instance();
     alFileTypes = vdb.GetExtensions();
 }
Exemple #4
0
 public VideoLibrary()
 {
     InitializeComponent();
     vdb = VideoDatabase.Instance();
 }
Exemple #5
0
 public VideoSnooper()
 {
     vdb         = new VideoDatabase();
     alFileTypes = vdb.GetExtensions();
 }
Exemple #6
0
 public Configure()
 {
     InitializeComponent();
     vdb = VideoDatabase.Instance();
 }
Exemple #7
0
 public ViewDetails()
 {
     InitializeComponent();
     vdb = VideoDatabase.Instance();
 }