Пример #1
0
 private void drawWave()
 {
     if (WF2 != null)
     {
         pictureBox1.BackgroundImage = WF2.CreateBitmap(pictureBox1.Width, pictureBox1.Height, -1, -1, true);
     }
     else
     {
         pictureBox1.BackgroundImage = null;
     }
 }
Пример #2
0
 private void DrawWave()
 {
     if (_WF != null)
     {
         this.pictureBoxWaveForm.BackgroundImage = _WF.CreateBitmap(this.pictureBoxWaveForm.Width, this.pictureBoxWaveForm.Height, _zoomStart, _zoomEnd, true);
     }
     else
     {
         this.pictureBoxWaveForm.BackgroundImage = null;
     }
 }