public FormRecordingRectBar(FormRecordingRect rect) { InitializeComponent(); this.Rect = rect; this.Cursor = Cursors.SizeAll; }
public FormRecorder(FormRecordingRect formrect, Action<DragCallback> callback) { InitializeComponent(); this.Rect = formrect; this.Callback = callback; }
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(); }