public void EditClass_Click(object sender, EventArgs e) { int ID = Convert.ToInt32(ClassControl.listView.SelectedItems[0].SubItems[0]); AddClassForm addCla = new AddClassForm(); addCla.ShowForm(ID); }
public void AddClass_Click(object sender, EventArgs e) { AddClassForm addCla = new AddClassForm(); addCla.ShowForm(); }