예제 #1
0
 internal static void SetControlPageRecursive(Control control, int page)
 {
     if (control.HasControls())
     {
         foreach (Control child in control.Controls)
         {
             MobileControl mobileChild = child as MobileControl;
             if (mobileChild != null)
             {
                 mobileChild.SetControlPage(page);
             }
             else
             {
                 SetControlPageRecursive(child, page);
             }
         }
     }
 }