示例#1
0
 public frmMain()
 {
     InitializeComponent();
     //rpcSearch.Text = TagResources.SearchTools;
     InitNavBarGroups();
     SkinHelper.InitSkinGallery(rgbiSkins);
     RibbonButtonsInitialize();
     modulesNavigator = new ModulesNavigator(ribbonControl1, pcMain);
     zoomManager = new ZoomManager(ribbonControl1, modulesNavigator, beiZoom);
     modulesNavigator.ChangeGroup(navBarControl1.ActiveGroup, this);
     NavigationInitialize();
     SetPageLayoutStyle();
 }
 public FrmMain()
 {
     InitializeComponent();
     //rpcSearch.Text = TagResources.SearchTools;
     InitNavBarGroups();
     SkinHelper.InitSkinGallery(rgbiSkins);
     RibbonButtonsInitialize();
     _modulesNavigator = new ModulesNavigator(ribbonControl1, pcMain);
     _zoomManager      = new ZoomManager(ribbonControl1, _modulesNavigator, beiZoom);
     _modulesNavigator.ChangeGroup(navBarControl1.ActiveGroup, this);
     NavigationInitialize();
     SetPageLayoutStyle();
 }
示例#3
0
 public frmMain()
 {
     TaskbarHelper.InitDemoJumpList(TaskbarAssistant.Default, this);
     InitializeComponent();
     rpcSearch.Text = TagResources.SearchTools;
     InitNavBarGroups();
     SkinHelper.InitSkinGallery(rgbiSkins);
     RibbonButtonsInitialize();
     modulesNavigator = new ModulesNavigator(ribbonControl1, pcMain);
     zoomManager      = new ZoomManager(ribbonControl1, modulesNavigator, beiZoom);
     modulesNavigator.ChangeGroup(navBarControl1.ActiveGroup, this);
     NavigationInitialize();
     SetPageLayoutStyle();
 }
示例#4
0
        public frmMain()
        {
            InitializeComponent();
            InitNavBarGroups();
            SkinHelper.InitSkinGallery(rgbiSkins);
            RibbonButtonsInitialize();
            modulesNavigator = new ModulesNavigator(ribbonControl1, pcMain);
            modulesNavigator.ChangeGroup(navBarControl1.ActiveGroup, this);
            NavigationInitialize();
            SetPageLayoutStyle();repositoryItemComboBox1.Items.Add(5);
            repositoryItemComboBox1.Items.Add(10);
            repositoryItemComboBox1.Items.Add(15);

            //((ComboBoxEdit) repositoryItemComboBox1.ac).SelectedIndex = 1;
            var grille =(Grille)modulesNavigator.CurrentModule;
            ucPlaning1.ChangeMediaEvent += grille.grillePub.ChangementInsertion;
            ucPlaning1.placebo();
        }
        private void navBarControl1_ActiveGroupChanged(object sender, NavBarGroupEventArgs e)
        {
            object data = GetModuleData((NavBarGroupTagObject)e.Group.Tag);

            _modulesNavigator.ChangeGroup(e.Group, data);
        }