I did this,
byte aGroup = new byte;
for (int index = 0; index < SecurityGroups.Items.Count; index++)
aGroup[index] = 1;
When you add controls to a group box through the GUI interface for form building, the controls are accessable directly from anywhere in your form class. Just use the control names. If for some strange reason you need to, you can also use the group box's Controls property to get at them as well, though that's usually only used in special situations.
That is a good possiblity. However, i wrote to a regualr txt file using stream writer and i was able to write to a folder on my root. So is it safe to say that if i could write to C:\MyFolder, that i should be able to write to the root directly i.e. C:\??
What are some good software products that I can use to design the classes, class hiearchies, system, subsystems, messages, (even UML), etc... of an application that I am working on? Does Visual Studio 2005 facilitate such functionality. I am a C++/C# developer (actually I'm a newbie).
If you have questions about Visual Studio or what IDE to use for your .NET development, I suggest you visit Microsoft's Visual Studio site and read-up on that product and what's available, and/or use Google to search for more.
This board pertains to specific C# development code questions, and not IDE related questions such as yours.
At BoneSoft.com I have a tool that uses a pseudo code language similar to C# specifically for building models. It's kind of a happy medium between real code and UML. It's a language, but it's small and concise so it's easier to visualize and requires a lot less time to type than full code. It sounds somewhat like what you are looking for.
The language is very similar to C# in syntax with the exception that specifying classes looks more like interfaces. The tool expands your pseudo code spec to full code in various languages, including C# and VB.Net. It can also build code models from XML, XSD, and SQL Server databases.
The tool gives you some control on how the output code is formatted, and can include XML serialization attributes as well.
Other than that, there are several decent UML tools out there, but most that can round trip C# code are pretty pricy.
In the project options, you can choose if your application should be a Windows Application or a Console Application.
The difference is just that a console app has a console window and a Windows app doesn't (so Console.WriteLine in a Windows app gets displayed nowhere).
In both application types, you can reference System.Windows.Forms to display forms.