Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to pass Collection values from one form to another form in windows application c#?

public TemplateForm(object collChecked)
{
}

i passed like this. but i want to count my Collection

ex:
If(collChecked.Count > 0) // i want this condition to do
{

}
Posted
Updated 28-Aug-15 20:27pm
v2

1 solution

As the question turned out to be very popular, and my previous answers often were not well understood, probably were not clear enough, I decided to write a Tips/Trick article complete with detailed code samples and explanations: Many Questions Answered at Once — Collaboration between Windows Forms or WPF Windows.

—SA
 
Share this answer
 
Comments
Sathish km 29-Aug-15 2:43am    
please give clear idea.
Sergey Alexandrovich Kryukov 29-Aug-15 2:52am    
I wrote whole article and digested so many detail. Who thoroughly did you read it? What is still unclear?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900