Example #1
0
        public DopplerBox(ChanGenTool fm, double dopplerFre)
        {
            InitializeComponent();

            cgt = fm;
            txtGeneDoppler.Text = dopplerFre.ToString();
        }
Example #2
0
        public RiceBox(ChanGenTool fm, double riceK, double riceAOA)
        {
            InitializeComponent();

            cgt = fm;
            txtGeneRiceK.Text   = riceK.ToString();
            txtGeneRiceAOA.Text = riceAOA.ToString();
        }
Example #3
0
        public RefBox(ChanGenTool fm, double dielectric, double conductivity, double angSp)
        {
            InitializeComponent();

            cgt = fm;
            txtAeroDielectric.Text   = dielectric.ToString();
            txtAeroConductivity.Text = conductivity.ToString();
            txtAeroAngSp.Text        = angSp.ToString();
        }
Example #4
0
        private void tboxSymbolRate_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == '\b')
            {
                return;
            }

            ChanGenTool.InputLimit(sender as TextBox, e, ChanGenTool.InputMod.UFloat);

            if (e.KeyChar == '\r')
            {
                waveCon.SetRate(sender as TextBox);
            }
        }
Example #5
0
        private void tboxFrequency_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == '\b')
            {
                return;
            }

            ChanGenTool.InputLimit(sender as TextBox, e, ChanGenTool.InputMod.UFloat);

            if (e.KeyChar == '\r')
            {
                cboxFrequencyUnit.Focus();
            }
        }
Example #6
0
        public RiceBox(ChanGenTool fm)
        {
            InitializeComponent();

            cgt = fm;
        }
Example #7
0
 public void SetMainFm(ChanGenTool fm)
 {
     cgt = fm;
 }
Example #8
0
 private void txtGeneAOA_KeyPress(object sender, KeyPressEventArgs e)
 {
     ChanGenTool.InputLimit(sender as TextBox, e, ChanGenTool.InputMod.UInt);
 }
Example #9
0
 private void txtInputUFloat_KeyPress(object sender, KeyPressEventArgs e)
 {
     ChanGenTool.InputLimit(sender as TextBox, e, ChanGenTool.InputMod.UFloat);
 }
Example #10
0
 public WaveTool(ChanGenTool chanGenTool)
 {
     InitializeComponent();
     mainPage = chanGenTool;
 }
Example #11
0
        public DopplerBox(ChanGenTool fm)
        {
            InitializeComponent();

            cgt = fm;
        }