Beispiel #1
0
        private void InitialzeEdit()
        {
            annotation           = new Annotation();
            annotation.TifEditor = this;
            eventHandler         = new EditEventHandler();
            eventHandler.Editor  = this;

            SuspendLayout();
            _annAutomation.Container.Objects.ItemAdded    += new EventHandler <RasterCollectionEventArgs <AnnObject> >(eventHandler.Objects_ItemAddedRemoved);
            _annAutomation.Container.BeforeDrawingObjects += new EventHandler <AnnPaintEventArgs>(Container_BeforeDrawingObjects);

            ResumeLayout();
        }
Beispiel #2
0
        private void InitialzeEdit()
        {
            annotation = new Annotation();
            annotation.TifEditor = this;
            eventHandler = new EditEventHandler();
            eventHandler.Editor = this;

            SuspendLayout();
            _annAutomation.Container.Objects.ItemAdded += new EventHandler<RasterCollectionEventArgs<AnnObject>>(eventHandler.Objects_ItemAddedRemoved);
            _annAutomation.Container.BeforeDrawingObjects += new EventHandler<AnnPaintEventArgs>(Container_BeforeDrawingObjects);
         
            ResumeLayout();
        }