2010-07-28 3 views

답변

5

이 사용 LINQ 같은 것을 할 수있는 :

var forms = from f in Application.OpenForms.OfType<Form1>() 
      select f; 

을 또는 당신은 추가 기준, 같은이 있다면 :

var forms = from f in Application.OpenForms.OfType<CustomerForm>() 
      where f.HasChanges 
      select f; 
관련 문제