コード例 #1
0
        /// <summary>
        /// Crée et retourne une nouvelle instance de la ToolBar liée à ce controller.
        /// </summary>
        /// <returns>Une nouvelle instance de la ToolBar</returns>
        protected override Misp.Kernel.Ui.Base.ToolBar getNewToolBar()
        {
            BrowserToolBar toolbar = new BrowserToolBar();

            toolbar.NewButton.Visibility = System.Windows.Visibility.Hidden;
            return(toolbar);
        }
コード例 #2
0
        protected override Kernel.Ui.Base.ToolBar getNewToolBar()
        {
            BrowserToolBar toolBar = new BrowserToolBar();

            toolBar.NewButton.Visibility = System.Windows.Visibility.Collapsed;
            return(toolBar);
        }
コード例 #3
0
        protected override Misp.Kernel.Ui.Base.ToolBar getNewToolBar()
        {
            BrowserToolBar bar = (BrowserToolBar)base.getNewToolBar();

            bar.NewButton.Visibility  = System.Windows.Visibility.Hidden;
            bar.SaveButton.Visibility = System.Windows.Visibility.Visible;
            return(bar);
        }