Example #1
0
 private void pageUI_ReportCtrlChanged(object sender, ArrayChangedEventArgs <ReportCtrl> e)
 {
     if (e.ChangeType == ArrayChangedType.ItemAdded)
     {
         ReportCtrl rc = e.Item;
         ZooomReportControl(rc);
     }
 }
Example #2
0
 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();
     }
 }