public Graphics3DControl()
        {
            InitializeComponent();
            _drawingContainer = null;

            // double buffering
            SetDoubleBuffered();
            // toolbar event
            ButtonPressed += onButtonPressed;
        }
Example #2
0
        public Graphics3DControl()
        {
            InitializeComponent();
            _drawingContainer = null;

            // double buffering
            SetDoubleBuffered();
            // toolbar event
            ButtonPressed += OnButtonPressed;
        }
Example #3
0
 /// <summary>
 /// Create collection of drawing object.
 /// </summary>
 /// <param name="owner">Container instance of collection.</param>
 internal DrawingObjectCollection(DrawingComponent owner)
 {
     this.Owner = owner;
     this.list  = owner.drawingObjects;
 }