public SearchPage()
 {
     this.InitializeComponent();
     ListVideo    = new ObservableCollection <Models.Video>();
     ListChanel   = new ObservableCollection <Models.Chanel>();
     ListPlaylist = new ObservableCollection <Models.Playlist>();
     conn         = new Models.SqlConnection();
     conn.LoadDatabase();
 }
 public ListVideo()
 {
     this.InitializeComponent();
     conn          = new Models.SqlConnection();
     VideoLiked    = new ObservableCollection <Models.Video>();
     VideoPlaylist = new ObservableCollection <Models.Video>();
     conn.LoadDatabase();
     this.GetLikedVideo();
 }