Exemplo n.º 1
0
        public RemotePicFrame(IRemotePicFrameCallback remotePicFrameCallback)
        {
            this.remotePicFrameCallback = remotePicFrameCallback;
            this.HookEventsManager      = new HookEventsManager();
            this.squaresPainter         = new SquaresPainter(this);
            SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw, true);

            this.RectanglesList = new List <Rectangle>();
            InitializeComponent();
            this.DoubleBuffered = true;
        }
 public void WaitForUserActions()
 {
     HookEventsManager.WaitForUserAction(this);
 }