示例#1
0
 //dynamic redrawing
 public void Redraw(int offset)
 {
     if (fileLength > 0)
     {
         if (globalFrmbytePlot != null)
         {
             globalFrmbytePlot.Plot(ref fileBufferArray, fileLength, frequency, offset, globalFrmEncode, this);
         }
         if (globalFrmDotPlot != null)
         {
             globalFrmDotPlot.Plot(ref fileBufferArray, fileLength, offset);
         }
         if (globalFrmPresence != null)
         {
             globalFrmPresence.Plot(ref fileBufferArray, fileLength, offset);
         }
         if (globalFrmRGBPlot != null)
         {
             globalFrmRGBPlot.Plot(ref fileBufferArray, fileLength, offset);
         }
         if (globalFrmBitPlot != null)
         {
             globalFrmBitPlot.Plot(ref fileBufferArray, fileLength, offset);
         }
         if (globalFrmAttractor != null)
         {
             globalFrmAttractor.Plot(ref fileBufferArray, fileLength, offset);
         }
         if (globalFrmFrequency != null)
         {
             globalFrmFrequency.PlotHistogramWindow(ref fileBufferArray, fileLength, offset);
         }
         //globalFrmNavigator.setPosition(offset);
     }
 }
示例#2
0
        //RGB plot visualization
        private void rGBPlotToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frmRGBPlot = new FrmRGBPlot(globalFrmNavigator);

            globalFrmRGBPlot     = frmRGBPlot;
            frmRGBPlot.MdiParent = this;
            if (fileLength > 0)
            {
                frmRGBPlot.Plot(ref fileBufferArray, fileLength, 0);
            }
            frmRGBPlot.Show();
        }
示例#3
0
文件: FrmMain.cs 项目: Evan-Sa/binvis
 //RGB plot visualization
 private void rGBPlotToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var frmRGBPlot = new FrmRGBPlot(globalFrmNavigator);
     globalFrmRGBPlot = frmRGBPlot;
     frmRGBPlot.MdiParent = this;
     if (fileLength > 0) frmRGBPlot.Plot(ref fileBufferArray, fileLength, 0);
     frmRGBPlot.Show();
 }