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); } }
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(); } }
private void txtGeneAOA_KeyPress(object sender, KeyPressEventArgs e) { ChanGenTool.InputLimit(sender as TextBox, e, ChanGenTool.InputMod.UInt); }
private void txtInputUFloat_KeyPress(object sender, KeyPressEventArgs e) { ChanGenTool.InputLimit(sender as TextBox, e, ChanGenTool.InputMod.UFloat); }