Пример #1
0
        public Spektrogram(PictureBox pbSpektrogram, PictureBox pbSkalaA, PictureBox pbSkalaB, HScrollBar scrollSpektrogram, Panel legendaSpektrogramu,
            CWT cwt, Oscylogram oscylogram, FrmMain mForm, PaletaKolorow paletaKolorow, bool logarytmicznaSkala)
        {
            this.pbSpektrogram = pbSpektrogram;
            this.scrollSpektrogram = scrollSpektrogram;
            this.cwt = cwt;
            this.paletaKolorow = paletaKolorow;
            this.logarytmicznaSkala = logarytmicznaSkala;
            this.oscylogram = oscylogram;
            this.mForm = mForm;

            if (cwt.Falka is FalkaCiagla)
            {
                startA = ((FalkaCiagla)cwt.Falka).StartA;
                stopA = ((FalkaCiagla)cwt.Falka).StopA;
                krokA = ((FalkaCiagla)cwt.Falka).KrokA;
                iloscA = cwt.IloscA;
            }

            skala = new SkalaSpektrogram(this, oscylogram, pbSpektrogram, pbSkalaB, pbSkalaA);
            legenda = new LegendaSpektrogramu(legendaSpektrogramu, this);
            legenda.Rysuj();
        }
Пример #2
0
 public Spektrogram(PictureBox pbSpektrogram, PictureBox pbSkalaA, PictureBox pbSkalaB, HScrollBar scrollSpektrogram, Panel legendaSpektrogramu, CWT cwt, Oscylogram oscylogram, FrmMain mForm)
     : this(pbSpektrogram, pbSkalaA, pbSkalaB,scrollSpektrogram, legendaSpektrogramu, cwt, oscylogram, mForm, new Paleta768Standard(), true)
 {
 }