Пример #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            fStack = new Stack <int>();
            fInput = new CFileBase();

            bMove = false;

            fData = new CData();
            fData.configureData(this);
            fData.setInputFile(fInput);
            //fData.createData();

            fbitMapReal          = new Bitmap(1000, 250);
            fbitMapImag          = new Bitmap(1000, 250);
            fbitMapFFT           = new Bitmap(1000, 500);
            fbitMapDFT           = new Bitmap(1000, 500);
            fbitMapHis           = new Bitmap(1000, 500);
            fbitMapConstellation = new Bitmap(1000, 500);
            fPlot = new CPlot();
            //fData.processData();


            fPlot.configureCPlot(fbitMapReal, fbitMapImag, fbitMapFFT, fbitMapDFT, fbitMapHis, fData, this, fbitMapConstellation);
            realPicBox.Image       = fbitMapReal;
            imagPixBox.Image       = fbitMapImag;
            fftPicBox.Image        = fbitMapFFT;
            dftPicBox.Image        = fbitMapDFT;
            hisPicBox.Image        = fbitMapHis;
            picConstellation.Image = fbitMapConstellation;
            statusTimer.Start();
            //自适应FFT点数
            //checkBox2.Checked = true;


            ToolTip toolTip1 = new ToolTip();

            // Set up the delays for the ToolTip.
            toolTip1.AutoPopDelay = 50000;
            toolTip1.InitialDelay = 500;
            toolTip1.ReshowDelay  = 200;
            // Force the ToolTip text to be displayed whether or not the form is active.
            toolTip1.ShowAlways = true;

            // Set up the ToolTip text for the Button and Checkbox.
            toolTip1.SetToolTip(this.button5, "读取下一部分数据");
            toolTip1.SetToolTip(this.button8, "选择缩放或者移动数据");
            toolTip1.SetToolTip(this.button2, "返回上一次操作的数据");
            toolTip1.SetToolTip(this.button6, "显示全部数据");
            toolTip1.SetToolTip(this.button4, "显示一个数据");
        }
Пример #2
0
 /// <summary>
 /// 设置输出CFile文件操作类
 /// </summary>
 /// <param name="mOutput">从界面传过来的文件操作类</param>
 /// <returns>成功返回true</returns>
 public bool setOutputFile(CFileBase mOutput)
 {
     fOutputFile = mOutput;
     return(true);
 }
Пример #3
0
 /// <summary>
 /// 设置输入CFile文件操作类
 /// </summary>
 /// <param name="mInput">从界面传过来的文件操作类</param>
 /// <returns>成功返回true</returns>
 public bool setInputFile(CFileBase mInput)
 {
     fInputFile = mInput;
     return(true);
 }