Exemplo n.º 1
0
        public Recoder(AImageResourcePanel srcPanel, ProjectionPanel dstPanel)
        {
            this.srcPanel = srcPanel;
            this.dstPanel = dstPanel;

            this.srcPanel.ImageFrameArrived += SrcPanel_ImageFrameArrived;
        }
Exemplo n.º 2
0
 public Transporter(AImageResourcePanel srcPanel, int ImageIndex, ProjectionPanel dstPanel)
 {
     this.m_srcPanel = srcPanel;
     this.m_dstPanel = dstPanel;
     this.m_imageIndex = ImageIndex;
     this.m_dstPanel.AddSenderList(this);
     this.m_srcPanel.ImageFrameArrived += M_srcPanel_ImageFrameArrived;
     Random r = new Random();
     this.MainColor = Color.FromArgb(255, (byte)r.Next(100, 255), (byte)r.Next(100, 255), (byte)r.Next(100, 255));
     this.AddCanvasSrc(srcPanel.Grid_Image, ImageIndex);
     this.AddCanvasDst(dstPanel.Grid_Image);
     this.IsInitWrap = false;
 }