private void button1_Click(object sender, EventArgs e) { insert insert = new insert(); insert.id = id; insert.ShowDialog(); id.Add(insert.newid); }
private void button2_Click(object sender, EventArgs e) { var fm = new insert(); fm.ShowDialog(); }