Esempio n. 1
0
		public PlayListMenu(Rect2D Rect, List<T> list, List<TableSetingsModel> TableSettings) : base(Rect)
		{
			this.RowList = list;
			this.TableSettings = TableSettings;

			Scrollbar = new UI.OldSlider(new UI.Rect2D { X = this.Rect.W - 7, Y = 0, W = 7, H = this.Rect.H }, "Slider1", UI.OldSlider.SliderOrientation.Vertical);

			Scrollbar.Anchor = System.Windows.Forms.AnchorStyles.Top |
				System.Windows.Forms.AnchorStyles.Bottom |
				System.Windows.Forms.AnchorStyles.Right;

			Scrollbar.Change += ScrollbarChange;

			this.Click += PlaylistClickedSingle;
			this.DoubleClick += PlaylistClickedDouble;
		}
Esempio n. 2
0
        //private SolidBrush testBrush = new SolidBrush(Color.FromArgb(200, 31, 31));
        #endregion

        public VLC(Rect2D rect) : base(rect)
        {
            this.VlcBmp = new System.Drawing.Bitmap(500, 500);

            player = new Vlc.DotNet.Core.VlcMediaPlayer(new DirectoryInfo(@"D:\LibVlc"));
            player.SetMedia(new FileInfo("J:\\Video\\Klipai\\√Bestamvsofalltime ▪ Aevum AMV.mp4"));

            //player.VideoHostControlHandle = this.Handle;



            //v.Video.Tracks.Current.
            player.Play();

            //VlcBmp.
        }
Esempio n. 3
0
 public Container(Rect2D rect) : base(rect)
 {
     this.Nodes = new List <UIElement>();
 }
Esempio n. 4
0
 public OldButton(Rect2D rect) : base(rect)
 {
 }