Question: In the Rooms class library project, create both a pure interface IClassroomManager and a class ClassroomManager that implements the interface. The class ( and therefore

In the Rooms class library project, create both a pure interface IClassroomManager and a class ClassroomManager that implements the interface. The class (and therefore the interface) capture the responsibilities of maintaining/recording/storing classroom records. The sub-points b to f below define the methods that need to be in the pure interface, and therefore in the class as well to implement that interface in c#(22 marks) Develop code to complete the existing Windows Form, i.e. MainForm, that allows users to
add new and update existing Classroom objects, validating all user input, and has the ability to show all
classrooms, or possibly filtering down by campus and/or capacity.
a. The obvious way to store users would be for your MainForm object to have a
IClassroomManager object (whose class is defined in the Rooms class library so you will need a
project reference to it) as a private data field.
i. That is, an object that is responsible for storing and retrieving Classroom objects and
encapsulates all the file IO details.
ii. And while it is important that your Form object maintains a preference to the
IClassroomManager interface, the actual instance will of course be an instance of the
ClassroomManager class.
b. See the screenshot below for how your Form will look but basically it has 6 input fields (one for
each property above - so 4 textboxes and 2 checkboxes), a label for info (in blue) or error (in
red) messages, a ListBox to display classroom records (possibly constraining them by campus
and/or capacity), and 5 buttons, namely:
Just explain it to me in a short form, I am getting confused about it. Its C# winforms
In the Rooms class library project, create both a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!