I've been doing some more work on my website and have now programmed it so different sections appear in the correct pages by looking up in the database the relevant data.
http://www.colinjensen.co.uk/~gibboco/index.php?pg=home
This blog was originally created when I was a student at Nottingham Trent University. I am now using it occasionally for blog posts on my various multimedia projects and tutorials.
Thursday, September 25, 2008
Monday, September 22, 2008
C# Event Handling
In an attempt to broaden my programming skills, and more specifically my C# skills, I have been learning how to create event listeners with Visual C#. I am learning how to recreate the interface in my flash version of wizED (which I still havn't uploaded yet, I am going to work on a webpage to put it, and the finished game on soon).
Here are some sites I have been looking on for the information:
http://articles.techrepublic.com.com/5100-10878_11-1050284.html This is nice and basic, starting from how events are added when you add a control to the form, etc.
http://articles.techrepublic.com.com/5100-10878_11-1053743.html?tag=rbxccnbtr1 This article follows on and goes into more depth about custom added events, dynamic events etc
http://secure.codeproject.com/KB/cs/event_fundamentals.aspx - goes into more depth about delegates and dynami event handling. A lot to read, but useful.
Update: although I understood the concept, I was still struggling getting a click event to work until I came across this page which made it really reallly simple: http://www.csharp-station.com/Articles/EventHandlingInCSharp.aspx
And then this to go into more detail: http://msdn.microsoft.com/en-us/library/aa289500(VS.71).aspx
Labels:
C#,
code,
editor,
home project,
learning,
programming,
Visual Studios,
wizards,
wizED
Subscribe to:
Posts (Atom)