Esempio n. 1
0
        public void SowModule(NavBarGroup group)
        {
            ModuleModel m = (ModuleModel)group.Tag;

            if (m == null)
            {
                return;
            }
            Form frm = m.LoadForm(this);

            if (frm == null)
            {
                return;
            }
            frm.Show();
            frm.Activate();
            xtraTabbedMdiManager1.Pages[frm].Image = Image.FromHbitmap(frm.Icon.ToBitmap().GetHbitmap());
        }