private void pageUI_ReportCtrlChanged(object sender, ArrayChangedEventArgs <ReportCtrl> e) { if (e.ChangeType == ArrayChangedType.ItemAdded) { ReportCtrl rc = e.Item; ZooomReportControl(rc); } }
private void GraphicsList_DrawObjsChanged(object sender, ArrayChangedEventArgs <DrawObject> e) { if (e.ChangeType == ArrayChangedType.ItemAdded) { Invalidate(); } else if (e.ChangeType == ArrayChangedType.ItemRemoved) { Cursor = Cursors.Default; Invalidate(); } }