private static void RemoveAllFormTabs(IUIForm uiForm)
 {
     foreach (var formTab in uiForm.ToArray())
     {
         uiForm.Remove(formTab);
     }
 }