示例#1
0
文件: DataBase.cs 项目: Geliya94/oop
 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();
 }
示例#2
0
文件: Form1.cs 项目: Geliya94/oop
 private void group_menu_Click(object sender, EventArgs e)
 {
     Group group = new Group();
     group.Show();
 }