Forum: C# 5 Hours Ago |
| Replies: 24 Views: 312 For a multiple form interface, you will need to keep a list of all of the open forms and keep the list current when forms are closed or opened. You will also need a method to reference the 'current... |
Forum: C# 1 Day Ago |
| Replies: 24 Views: 312 Now we're getting into scope a bit (and its a big topic) but class-level variables only exist once, regardless of the number of instances of the class.
Based on your example, where you want... |
Forum: C# 1 Day Ago |
| Replies: 24 Views: 312 Yes that would be a valid example.
Another example would be a 'person' class. Each person has attributes: name, address, phone number, birthday, ...
But any two instances of 'person' are... |
Forum: C# 1 Day Ago |
| Replies: 24 Views: 312 I apparently wrote this while Ryshad was replying. He covers most of it in a more elegant fashion, but I'll post it anyway.
Local variables work like you mentioned your i did in VBA. If you... |
Forum: C# Jan 10th, 2009 |
| Replies: 1 Views: 866 I think your only option is to change the color of the characters.
Take a look at this snippet (http://www.daniweb.com/code/snippet134.html)
If you set your 'default' color to grey or light... |
Forum: C# Nov 25th, 2008 |
| Replies: 10 Views: 1,369 As a side note to the discussion, although it is convenient in this context to have the default Car constructor generate a random car, the constructor seems to be doing an awful lot, including adding... |