internal void button1_Click(object sender, EventArgs e) { Isotope_System IS = new Isotope_System(textBox1.Text, textBox2.Text, Convert.ToInt32(textBox3.Text), Convert.ToDouble(textBox4.Text) * 1000000); Master.isc.Add_To_Collection(IS); TheParent.IS_List_Changed(); Close(); }
public void Add_To_Collection(Isotope_System a) { Isotope_List.Add(a); }