OOP Class8
esse quam videri
Contents
Motorvehicle Diagram
http://iam.colum.edu/oop/browser/browser.aspx?f=/classsource/class7/Motor
Windows forms
Events
- events from a windows form or web page are handled by event handlers. Events are raised when a user interacts with interface elements and handled by the event handlers.
http://www.csharphelp.com/archives/archive253.html
Examaple of event handlers and classes
http://iam.colum.edu/oop/MotorvehicleRace.zip
<csharp> private void button1_Click(object sender, EventArgs e)
{ Console.WriteLine("button1 Clicked"); MessageBox.Show("button1 Clicked"); }
</csharp>
Home Work
use Pair Programming to make tests and classes from the following UML
If you need to add any supporting methods or properties that are not on the diagram feel free.