/// <summary> /// Loading platform /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void frmMain_Load(object sender, EventArgs e) { rchMML.LanguageOption = RichTextBoxLanguageOptions.UIFonts; rchMML.Font = new Font(Resources.DefaultFontName, 9); waveGen = new WaveGenIF(); waveGen.CreateWaveGen(Handle); }
private void frmADSRParam_Load(object sender, EventArgs e) { waveGen = new WaveGenIF(); waveGen.CreateWaveGen(Handle); txtAPower.Text = "1.00"; txtATime.Text = "0.05"; txtDTime.Text = "0.03"; txtSPower.Text = "0.80"; txtRTime.Text = "0.10"; drawADSR(picGraphic); }