Пример #1
0
        private void InitializeQuickNetronPanel()
        {
            this.HitEvent       += new HitEventHandler(QuickNetronPanel_HitEvent);
            this.EntitySelected += new StatusEventHandler(QuickNetronPanel_SelectEvent);

            this.shapeProvider      = new TypeShapeVertexProvider(typeof(PropertyGridShape));
            this.connectionProvider = new TypeConnectionEdgeProvider(typeof(SplineConnection));
            this.connectorChooser   = new MinDistanceConnectorChooser();

            ZoomWheelMouseBehavior zoom = new ZoomWheelMouseBehavior();

            zoom.Attach(this);
        }
        private void InitializeQuickNetronPanel()
        {
            this.HitEvent += new HitEventHandler(QuickNetronPanel_HitEvent);
            this.EntitySelected +=new StatusEventHandler(QuickNetronPanel_SelectEvent);

            this.shapeProvider= new TypeShapeVertexProvider(typeof(PropertyGridShape));
            this.connectionProvider = new TypeConnectionEdgeProvider(typeof(SplineConnection));
            this.connectorChooser = new MinDistanceConnectorChooser();

            ZoomWheelMouseBehavior zoom = new ZoomWheelMouseBehavior();
            zoom.Attach(this);
        }