/// <summary> /// Create a new OfficeAssignment object. /// </summary> /// <param name="instructorID">Initial value of the InstructorID property.</param> /// <param name="location">Initial value of the Location property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> public static OfficeAssignment CreateOfficeAssignment(global::System.Int32 instructorID, global::System.String location, global::System.Byte[] timestamp) { OfficeAssignment officeAssignment = new OfficeAssignment(); officeAssignment.InstructorID = instructorID; officeAssignment.Location = location; officeAssignment.Timestamp = timestamp; return officeAssignment; }
private void viewOffices_Click(object sender, EventArgs e) { OfficeAssignment officeForm = new OfficeAssignment(); officeForm.Visible = true; }