public NavigateBarOptions(NavigateBar tNavigateBar) { navigateBar = tNavigateBar; InitializeComponent(); InitNavigateBarOptions(); }
public NavigateBarOverFlowPanel(NavigateBar tNavigateBar) { NavigateBar = tNavigateBar; this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true); InitNavigateBarOverFlowPanel(); }
public NavigateBarSplitter(NavigateBar tNavigateBar) { navigateBar = tNavigateBar; this.Height = 6; this.Width = 120; this.Cursor = Cursors.SizeNS; this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.ResizeRedraw, true); }
public NavigateBarCollapseButton(NavigateBar tNavigateBar) { this.Size = new Size(14, 14); this.BackColor = Color.Transparent; this.Cursor = Cursors.Hand; this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.ResizeRedraw, true); this.SetStyle(ControlStyles.SupportsTransparentBackColor, true); navigateBar = tNavigateBar; }
public NavigateBarCaption(NavigateBar tNavigateBar) { navigateBar = tNavigateBar; // Control this.Height = 24; this.Dock = DockStyle.Top; this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.ResizeRedraw, true); // Collapse Button collapseButton = new NavigateBarCollapseButton(navigateBar); this.CollapseMode = true; SetNewPositionForCollapseButton(); collapseButton.Top = (this.Height - collapseButton.Size.Height) / 2; collapseButton.MouseClick += new MouseEventHandler(CollapseButton_MouseClick); // this.Controls.Add(collapseButton); }
public NavigateBarButtonCollection(NavigateBar tNavigateBar) { this.NavigationPane = tNavigateBar; }
public NavigateBarCollapsibleScreen(NavigateBar tNavigateBar) { navigateBar = tNavigateBar; this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.ResizeRedraw, true); // Get positon on desktop screen Point p = new Point(navigateBar.Location.X + Width, navigateBar.Location.Y); this.DesktopLocation = this.PointToScreen(p); // Caption info caption = new NavigateBarCaption(navigateBar); caption.Height = 20; caption.CollapseButton.Visible = false; // Controls.Add(caption); Controls.Add(panelControl); // }
public NavigateBarCollapsibleText(NavigateBar tNavigateBar) { this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true); navigateBar = tNavigateBar; this.Cursor = Cursors.Hand; this.TabStop = true; captionBand = new NavigateBarCaption(navigateBar); captionBand.CollapseMode = false; captionBand.Cursor = Cursors.Default; captionBand.CollapseButton.ToolTipText = Properties.Resources.TEXT_COLLAPSE_BUTTON_EXPAND; this.Controls.Add(captionBand); }
public NavigateBarSettings(NavigateBar tNavigateBar) { navigateBar = tNavigateBar; }