public static void RegisterTab(ITab tab, Type userControl) { var uc = (UserControl)Activator.CreateInstance(userControl); tab.SetContent(uc); TabsDic.Add(tab, uc); }