A C# Stock Ticker

A running stock market ticker-tape with realtime updates.
The Problem
In order to write this program, I had to solve three main problems:

1. How to draw a Form based window and manipulate it without a menu bar.

2. How to get the stock data from the web server.

3. How to display the data as a running stream.

As it turns out, it is quite easy to supress the menu bar, two things are required. Set the ControlBox of the Form control to false, and the Text field to blank. To move the window around the screen first capture the MouseDown, MouseMove and MouseUp events save the mouse-down point, calculate how far the mouse has moved and redraw the Form there.
Twitter Digg Delicious Stumbleupon Technorati Facebook Email

No comments yet... Be the first to leave a reply!