public VideoServiceVideoSource()
        {
            TabText = Res.Get(StringId.VideoFromVideoService);
            TabBitmap = ResourceHelper.LoadAssemblyResourceBitmap("Video.VideoService.Images.VideoServiceTab.png");
            Name = "VideoServiceSource";

            _listBoxVideos = new VideoListBoxControl();
            _listBoxVideos.Initialize();

            _sidebarService = new SidebarListBox<IVideoService>();
            _sidebarService.Initialize();

            _videoLoginStatusControl = new LoginStatusControl();
            _videoLoginStatusControl.ShowLoginButton = false;

            _videoPagingControl = new VideoPagingControl();
            _videoPagingControl.RightToLeft = BidiHelper.IsRightToLeft ? RightToLeft.Yes : RightToLeft.No;

            _videoRequestComboBox = new VideoRequestTypeComboBox();
            _videoRequestComboBox.Visible = false;

            _videoLoginControl = new PanelLoginControl();

            SuspendLayout();
            Controls.Add(_listBoxVideos);
            Controls.Add(_sidebarService);
            Controls.Add(_videoLoginStatusControl);
            Controls.Add(_videoPagingControl);
            Controls.Add(_videoRequestComboBox);
            Controls.Add(_videoLoginControl);
            ResumeLayout();

            _sidebarService.AccessibleName = Res.Get(StringId.Plugin_Video_Provider_Select);
        }
        public VideoServiceVideoSource()
        {
            TabText   = Res.Get(StringId.VideoFromVideoService);
            TabBitmap = ResourceHelper.LoadAssemblyResourceBitmap("Video.VideoService.Images.VideoServiceTab.png");
            Name      = "VideoServiceSource";

            _listBoxVideos = new VideoListBoxControl();
            _listBoxVideos.Initialize();

            _sidebarService = new SidebarListBox <IVideoService>();
            _sidebarService.Initialize();

            _videoLoginStatusControl = new LoginStatusControl();
            _videoLoginStatusControl.ShowLoginButton = false;

            _videoPagingControl             = new VideoPagingControl();
            _videoPagingControl.RightToLeft = BidiHelper.IsRightToLeft ? RightToLeft.Yes : RightToLeft.No;

            _videoRequestComboBox         = new VideoRequestTypeComboBox();
            _videoRequestComboBox.Visible = false;

            _videoLoginControl = new PanelLoginControl();

            SuspendLayout();
            Controls.Add(_listBoxVideos);
            Controls.Add(_sidebarService);
            Controls.Add(_videoLoginStatusControl);
            Controls.Add(_videoPagingControl);
            Controls.Add(_videoRequestComboBox);
            Controls.Add(_videoLoginControl);
            ResumeLayout();

            _sidebarService.AccessibleName = Res.Get(StringId.Plugin_Video_Provider_Select);
        }