Answered by:
Visual Studio 2010 ultimate

Question
-
I have a situation in which i am having multiple window forms...n with d help of it i hav created a small question answer typ software...how can i generate forms randomly?hlp me with d coding part!if i use panel then how can i generate panel randomly?
Sunday, June 24, 2012 1:46 PM
Answers
-
You could store your forms in a List<> and pop up the forms based on a random number generated from the C# Random class. Check this http://msdn.microsoft.com/en-us/library/system.random.aspx for more information about the Random class.Monday, June 25, 2012 4:46 AM
-
Did you know that this is the forum for System Base, (which is the base class of .Net) and related questions.
Your question can be typical for the System.Windows.Forms forums, however in fact is your question more a program language question as it is direct related to that.
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral
Success
Cor- Edited by Cor Ligthert Monday, June 25, 2012 5:43 AM
- Proposed as answer by Mike Feng Thursday, June 28, 2012 9:52 AM
- Marked as answer by Mike Feng Sunday, July 8, 2012 9:28 AM
Monday, June 25, 2012 5:43 AM
All replies
-
You could store your forms in a List<> and pop up the forms based on a random number generated from the C# Random class. Check this http://msdn.microsoft.com/en-us/library/system.random.aspx for more information about the Random class.Monday, June 25, 2012 4:46 AM
-
Did you know that this is the forum for System Base, (which is the base class of .Net) and related questions.
Your question can be typical for the System.Windows.Forms forums, however in fact is your question more a program language question as it is direct related to that.
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral
Success
Cor- Edited by Cor Ligthert Monday, June 25, 2012 5:43 AM
- Proposed as answer by Mike Feng Thursday, June 28, 2012 9:52 AM
- Marked as answer by Mike Feng Sunday, July 8, 2012 9:28 AM
Monday, June 25, 2012 5:43 AM -
Hi Saswat,
Welcome to the MSDN Forum.
How about Sezhiyan's suggestion?
As Cor said, if you want to implement it in C# or VB, please try the dedicated forum for better support.
Best regards,
Mike Feng
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Thursday, June 28, 2012 9:56 AM