Exemplo n.º 1
0
        public void RedrawAllComponents()
        {
            RightToLeftConverter.ConvertRecursive(this);

            foreach (ToolStripItem item in TopMenu.Items)
            {
                if (item is IStatusUpdate)
                {
                    ((IStatusUpdate)item).UpdateText();
                }
            }

            foreach (IViewContent content in workbenchContentCollection)
            {
                content.RedrawContent();
                if (content.WorkbenchWindow != null)
                {
                    content.WorkbenchWindow.RedrawContent();
                }
            }

            foreach (PadDescriptor content in viewContentCollection)
            {
                content.RedrawContent();
            }

            if (layout != null)
            {
                layout.RedrawAllComponents();
            }

            StatusBarService.RedrawStatusbar();
        }
Exemplo n.º 2
0
        public void RedrawAllComponents()
        {
            foreach (IViewContent content in _workbenchContentCollection)
            {
                content.RedrawContent();
                if (content.WorkbenchWindow != null)
                {
                    content.WorkbenchWindow.RedrawContent();
                }
            }

            foreach (IPadContent content in _viewContentCollection)
            {
                content.RedrawContent();
            }

            if (_layout != null)
            {
                _layout.RedrawAllComponents();
            }
        }