private void AddX_Click(object sender, EventArgs e) { try { double a = Convert.ToDouble(Param_K.Text); double b = Convert.ToInt32(Param_B.Text); Num_F.Add_SinCosLn_To_Summand(a, b, SinCosLn); Num_F.AddToSumTextBox(text_values[SinCosLn] + Param_K.Text + "x+ " + Param_B.Text + " )"); Num_F.SetVisable(true); this.Dispose(); } catch (Exception ex) { ErrorBox.Text = ex.Message; } }
protected override void OnFormClosing(FormClosingEventArgs e) { Num_F.SetVisable(true); base.OnFormClosing(e); }