/// <summary>
        /// Konstruktor, setzt DoubleBuffered-Eigenschaften auf True und initialisiert das DBGraphics-Objekt
        /// </summary>
        public DPanel()
        {
            // Set the value of the double-buffering style bits to true.
            this.SetStyle(ControlStyles.OptimizedDoubleBuffer |
              ControlStyles.UserPaint |
              ControlStyles.AllPaintingInWmPaint,
              true);

            this.DoubleBuffered = true;

            this.UpdateStyles();

            blockRedraw = false;

            DBpanelgr = new DBGraphics();
        }
Пример #2
0
        /// <summary>
        /// Konstruktor, setzt DoubleBuffered-Eigenschaften auf True und initialisiert das DBGraphics-Objekt
        /// </summary>
        public DPanel()
        {
            // Set the value of the double-buffering style bits to true.
            this.SetStyle(ControlStyles.OptimizedDoubleBuffer |
                          ControlStyles.UserPaint |
                          ControlStyles.AllPaintingInWmPaint,
                          true);

            this.DoubleBuffered = true;

            this.UpdateStyles();

            blockRedraw = false;

            DBpanelgr = new DBGraphics();
        }