示例#1
0
 /// <summary>
 /// Gets the index of the child form in the MDIChildren collection
 /// </summary>
 /// <param name="childName">Form that needs to be validated</param>
 /// <returns>An int representing the index</returns>
 public static int GetChildIndex(string childName)
 {
     return(ChildCollection.IndexOf(childName));
 }