private void d2DPainterBox1_D2DPaint(object sender, BalthasarLib.D2DPainter.D2DPaintEventArgs e)
 {
     if (isDrawing)
     {
         return;
     }
     isDrawing = true;
     try
     {
         PianoRollPoint sp = pprops.getPianoStartPoint();
         DrawPianoTrackArea(sender, e, sp);
         DrawPianoRollArea(sender, e);
         DrawPianoTitleArea(sender, e, sp);
     }
     catch {; }
     isDrawing = false;
 }
Beispiel #2
0
 private void d2DPainterBox1_D2DPaint(object sender, BalthasarLib.D2DPainter.D2DPaintEventArgs e)
 {
     if (isDrawing)
     {
         return;
     }
     isDrawing = true;
     try
     {
         PianoRollPoint sp = pprops.getPianoStartPoint();
         DrawParameterLinesArea(sender, e, sp);
         DrawParameterButtonsArea(sender, e, sp);
         e.D2DGraphics.DrawLine(new Point(0, 1), new Point(d2DPainterBox1.Width, 1), SystemColors.Control);
     }
     catch {; }
     isDrawing = false;
 }