public FormRecordingRectBar(FormRecordingRect rect)
        {
            InitializeComponent();

            this.Rect = rect;
            this.Cursor = Cursors.SizeAll;
        }
Example #2
0
        public FormRecorder(FormRecordingRect formrect, Action<DragCallback> callback)
        {
            InitializeComponent();

              this.Rect = formrect;
              this.Callback = callback;
        }
Example #3
0
        void StartAnimation()
        {
            Rectangle r = new Rectangle(this.Left + this.Selection.Left, this.Top + this.Selection.Top, this.Selection.Width, this.Selection.Height);
              FormRecordingRect frr = new FormRecordingRect(r, 10);
              FormRecorder fr = new FormRecorder(frr, this.DoneDragging);

              frr.Show();
              fr.Show();
        }