/// <summary> /// Deprecated Method for adding a new object to the OfficeAssignments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfficeAssignments(OfficeAssignments officeAssignment) { base.AddObject("OfficeAssignments", officeAssignment); }
private void viewOffices_Click(object sender, EventArgs e) { OfficeAssignments officeForm = new OfficeAssignments(); officeForm.Visible = true; }