SoFunction
Updated on 2025-04-05

Small examples of initializing text boxes


private void ClearAllText( contrl)
  {
      int ctl_count=;
   for (int i=0;i<ctl_count;i )
   {
    foreach(Control ctl in [i].Controls)
    {
     if (())
     {
      ClearAllText();
     }
     else
     {
      if (ctl is TextBox)
       (ctl as TextBox).Text="";
     }
    }
   }
  }