예제 #1
0
        public static void RegisterTab(ITab tab, Type userControl)
        {
            var uc = (UserControl)Activator.CreateInstance(userControl);

            tab.SetContent(uc);
            TabsDic.Add(tab, uc);
        }