[ Main / Coding / C#.NET ]

More: [ Managed Direct X ]


  Stars - A Double Buffer technique example ( 2007-12-17 )
This full code example shows how to activate the 'Double Buffer' technique for standard C#.NET Windows Applications.

The application opens a full screen window (no border) and will randomize 300 stars and update the position every 30 ms, flicker free!


Requirements
Framework.NET 2.0

Files
Stars ( rar )Download [ 39 kB ]

  JPReminder ( 2007-09-06 )
This is an application I made in the eastern of 2004 to get some reminders of personal thing, like dentist appointment.

You can make this application to start up when the computer starts and edit your own reminders. All reminders are saved into an XML file.


Requirements
Framework.NET 2.0

Files
JPReminder.exe ( rar )Download [ 16 kB ]

  IntersectsWith ( 2006-05-23 )
This example shows how to use Rectangle.IntersectsWith(Rectangle rec) in C#.NET.

It's pretty useful to use IntersectsWith in games to see if two objects has collided "Collision Detection". You don't have to draw the rectangles, they can be "invisible" and still used.

Requirements
Framework.NET 2.0
Visual Studio .NET( Only for Source )

Files
Ex_IntersectsWith 1.0 ( everything )Download [ 33 kB ]

  Operator Overloading ( 2006-10-24 )
This code show examples how to overload operators like +, -, ++ and so on in C#.NET.

I use objects allocated from a struct I have created myself and then I use different overloaded operators on this objects.

It also works if you change from struct to class instead.

Requirements
Framework.NET 2.0
Visual Studio .NET( Only for Source )

Files
Ex_OperatorOverload 1.0 ( everything )Download [ 19 kB ]

  Index Overloading ( 2006-10-24 )
This code show examples how to overload index [ ] for a class. I have made a class that are going to hold the information about 32 booleans, all 32 "hidden" in a standard int, instead of having to create 32 different booleans.

Requirements
Framework.NET 2.0
Visual Studio .NET( Only for Source )

Files
Ex_IndexOverloading01 ( everything )Download [ 11 kB ]


webmaster: jimmy.palm@netatonce.net