Пример #1
0
        public singleplay(uint Selected)
        {
            InitializeComponent();
            conf = Structures.Load()[Selected];
            var Player = new InjectedAutoPlayer(conf.SinglePlay, conf, TypePlayer.HD);

            Player.Dock = DockStyle.Fill;
            Controls.Add(Player);
            triggerLabel1.Visible = conf.PTZ && conf.SinglePlay != TypeViewers.FFPLAY;
        }
Пример #2
0
 private void MonitorsPlay_Load(object sender, EventArgs e)
 {
     SizeSET = monitor.Monitors.Length;
     for (int i = 0; i < monitor.GetMonitorsSortPosition.Length; i++)
     {
         var m      = monitor.GetMonitorsSortPosition[i];
         var Player = new InjectedAutoPlayer(m.GetCamera.MonitorPlay, m.GetCamera);
         flowLayoutPanel1.Controls.Add(Player);
     }
     flowLayoutPanel1.ResizeF();
 }
Пример #3
0
        private void GroupPlay_Load(object sender, EventArgs e)
        {
            var cams = Structures.Load();

            SizeSET = cams.Length;
            for (int i = 0; i < cams.Length; i++)
            {
                if (cams[i].IsActive)
                {
                    var Player = new InjectedAutoPlayer(cams[i].GroupPlay, cams[i]);
                    flowLayoutPanel1.Controls.Add(Player);
                }
            }
            flowLayoutPanel1.ResizeF();
        }