public void ADD_Group(int id_group, string name) { Group a = new Group(); a.id_group = id_group; a.name = name; this.Group.InsertOnSubmit(a); this.SubmitChanges(); }
private void group_menu_Click(object sender, EventArgs e) { Group group = new Group(); group.Show(); }