• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Navigator.KryptonPage类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ComponentFactory.Krypton.Navigator.KryptonPage的典型用法代码示例。如果您正苦于以下问题:C# KryptonPage类的具体用法?C# KryptonPage怎么用?C# KryptonPage使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



KryptonPage类属于ComponentFactory.Krypton.Navigator命名空间,在下文中一共展示了KryptonPage类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: KryptonContextMenuEventArgs

 /// <summary>
 /// Initialize a new instance of the KryptonContextMenuEventArgs class.
 /// </summary>
 /// <param name="page">Page effected by event.</param>
 /// <param name="index">Index of page in the owning collection.</param>
 /// <param name="contextMenu">Prepopulated context menu ready for display.</param>
 public KryptonContextMenuEventArgs(KryptonPage page, 
                                    int index,
                                    KryptonContextMenu contextMenu)
     : base(page, index)
 {
     _contextMenu = contextMenu;
 }
开发者ID:Cocotteseb,项目名称:Krypton,代码行数:13,代码来源:KryptonContextMenuStripEventArgs.cs


示例2: PageLoadingEventArgs

 /// <summary>
 /// Initialize a new instance of the PageLoadingEventArgs class.
 /// </summary>
 /// <param name="workspace">Reference to owning workspace control.</param>
 /// <param name="page">Reference to owning workspace cell page.</param>
 /// <param name="xmlReader">Xml reader for persisting custom data.</param>
 public PageLoadingEventArgs(KryptonWorkspace workspace,
                             KryptonPage page,
                             XmlReader xmlReader)
     : base(workspace, xmlReader)
 {
     _page = page;
 }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:13,代码来源:PageLoadingEventArgs.cs


示例3: DirectionActionEventArgs

 /// <summary>
 /// Initialize a new instance of the DirectionActionEventArgs class.
 /// </summary>
 /// <param name="page">Page effected by event.</param>
 /// <param name="index">Index of page in the owning collection.</param>
 /// <param name="action">Previous/Next action to take.</param>
 public DirectionActionEventArgs(KryptonPage page, 
     int index,
     DirectionButtonAction action)
     : base(page, index)
 {
     _action = action;
 }
开发者ID:yp25,项目名称:Krypton,代码行数:13,代码来源:DirectionActionEventArgs.cs


示例4: CreatePage

        private KryptonPage CreatePage()
        {
            // Give each page a unique number
            string pageNumber = (_count++).ToString();

            // Create a new page and give it a name and image
            KryptonPage page = new KryptonPage();
            page.Text = "P" + pageNumber;
            page.TextTitle = "P" + pageNumber + " Title";
            page.TextDescription = "P" + pageNumber + " Description";
            page.ImageSmall = imageList.Images[_count % imageList.Images.Count];
            page.MinimumSize = new Size(200, 250);

            // Create a rich text box with some sample text inside
            KryptonRichTextBox rtb = new KryptonRichTextBox();
            rtb.Text = "This page (" + page.Text + ") contains a rich text box control as example content. Your application could place anything you like here such as data entry controls, charts, data grids etc.\n\nTry dragging the page headers in order to rearrange the workspace layout.";
            rtb.Dock = DockStyle.Fill;
            rtb.StateCommon.Border.Draw = InheritBool.False;

            // Add rich text box as the contents of the page
            page.Padding = new Padding(5);
            page.Controls.Add(rtb);

            return page;
        }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:25,代码来源:Form1.cs


示例5: DockPageLoadingEventArgs

 /// <summary>
 /// Initialize a new instance of the DockPageLoadingEventArgs class.
 /// </summary>
 /// <param name="manager">Reference to owning docking manager instance.</param>
 /// <param name="xmlReading">Xml reader for persisting custom data.</param>
 /// <param name="page">Reference to page being loaded.</param>
 public DockPageLoadingEventArgs(KryptonDockingManager manager,
                                 XmlReader xmlReading,
                                 KryptonPage page)
     : base(manager, xmlReading)
 {
     _page = page;
 }
开发者ID:Cocotteseb,项目名称:Krypton,代码行数:13,代码来源:DockPageLoadingEventArgs.cs


示例6: buttonAddPage_Click

 private void buttonAddPage_Click(object sender, EventArgs e)
 {
     KryptonPage newPage = new KryptonPage();
     newPage.Text = "Page " + _newPage.ToString();
     newPage.ImageSmall = imageList1.Images[_newPage++ % imageList1.Images.Count];
     kryptonNavigator1.Pages.Add(newPage);
 }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:7,代码来源:Form1.cs


示例7: CloseActionEventArgs

 /// <summary>
 /// Initialize a new instance of the CloseActionEventArgs class.
 /// </summary>
 /// <param name="page">Page effected by event.</param>
 /// <param name="index">Index of page in the owning collection.</param>
 /// <param name="action">Close action to take.</param>
 public CloseActionEventArgs(KryptonPage page, 
                             int index, 
                             CloseButtonAction action)
     : base(page, index)
 {
     _action = action;
 }
开发者ID:Cocotteseb,项目名称:Krypton,代码行数:13,代码来源:CloseActionEventArgs.cs


示例8: PageSavingEventArgs

 /// <summary>
 /// Initialize a new instance of the PageSavingEventArgs class.
 /// </summary>
 /// <param name="workspace">Reference to owning workspace control.</param>
 /// <param name="page">Reference to owning workspace cell page.</param>
 /// <param name="xmlWriter">Xml writer for persisting custom data.</param>
 public PageSavingEventArgs(KryptonWorkspace workspace,
                            KryptonPage page,
                            XmlWriter xmlWriter)
     : base(workspace, xmlWriter)
 {
     _page = page;
 }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:13,代码来源:PageSavingEventArgs.cs


示例9: DockPageSavingEventArgs

 /// <summary>
 /// Initialize a new instance of the DockPageSavingEventArgs class.
 /// </summary>
 /// <param name="manager">Reference to owning docking manager instance.</param>
 /// <param name="xmlWriter">Xml writer for persisting custom data.</param>
 /// <param name="page">Reference to page being saved.</param>
 public DockPageSavingEventArgs(KryptonDockingManager manager,
                                XmlWriter xmlWriter,
                                KryptonPage page)
     : base(manager, xmlWriter)
 {
     _page = page;
 }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:13,代码来源:DockPageSavingEventArgs.cs


示例10: PopupPageEventArgs

 /// <summary>
 /// Initialize a new instance of the PopupPageEventArgs class.
 /// </summary>
 /// <param name="page">Page effected by event.</param>
 /// <param name="index">Index of page in the owning collection.</param>
 /// <param name="screenRect">Screen rectangle for showing the popup.</param>
 public PopupPageEventArgs(KryptonPage page, 
                           int index, 
                           Rectangle screenRect)
     : base(page, index)
 {
     _screenRect = screenRect;
 }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:13,代码来源:PopupPageEventArgs.cs


示例11: ViewDrawNavOutlookStack

 /// <summary>
 /// Initialize a new instance of the ViewDrawNavOutlookStack class.
 /// </summary>
 /// <param name="navigator">Owning navigator instance.</param>
 /// <param name="page">Page this check button represents.</param>
 /// <param name="orientation">Orientation for the check button.</param>
 public ViewDrawNavOutlookStack(KryptonNavigator navigator,
                                KryptonPage page,
                                VisualOrientation orientation)
     : base(navigator, page, orientation)
 {
     // Are we mapping for the full or the mini mode?
     _full = (navigator.NavigatorMode == NavigatorMode.OutlookFull);
 }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:14,代码来源:ViewDrawNavOutlookStack.cs


示例12: ContextPageEventArgs

 /// <summary>
 /// Initialize a new instance of the ContextPageEventArgs class.
 /// </summary>
 /// <param name="page">Page associated with the context menu.</param>
 /// <param name="contextMenu">Context menu that can be customized.</param>
 /// <param name="cancel">Initial value for the cancel property.</param>
 public ContextPageEventArgs(KryptonPage page, 
                             KryptonContextMenu contextMenu,
                             bool cancel)
     : base(cancel)
 {
     _page = page;
     _contextMenu = contextMenu;
 }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:14,代码来源:ContextPageEventArgs.cs


示例13: ContextActionEventArgs

 /// <summary>
 /// Initialize a new instance of the ContextActionEventArgs class.
 /// </summary>
 /// <param name="page">Page effected by event.</param>
 /// <param name="index">Index of page in the owning collection.</param>
 /// <param name="action">Close action to take.</param>
 /// <param name="contextMenu">Prepopulated context menu ready for display.</param>
 public ContextActionEventArgs(KryptonPage page, 
                               int index, 
                               ContextButtonAction action,
                               KryptonContextMenu contextMenu)
     : base(page, index, contextMenu)
 {
     _action = action;
 }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:15,代码来源:ContextActionEventArgs.cs


示例14: PageReorderEventArgs

 /// <summary>
 /// Initialize a new instance of the PageReorderEventArgs class.
 /// </summary>
 /// <param name="pageMoving">Reference to page being moved.</param>
 /// <param name="pageTarget">Reference to target paged.</param>
 /// <param name="movingBefore">True if moving page is to be positioned before the target; otherwise after the target.</param>
 public PageReorderEventArgs(KryptonPage pageMoving, 
                             KryptonPage pageTarget, 
                             bool movingBefore)
 {
     _pageMoving = pageMoving;
     _pageTarget = pageTarget;
     _movingBefore = movingBefore;
 }
开发者ID:Cocotteseb,项目名称:Krypton,代码行数:14,代码来源:PageReorderEventArgs.cs


示例15: ViewLayoutPopupPage

        /// <summary>
        /// Initialize a new instance of the ViewLayoutPopupPage class.
        /// </summary>
        /// <param name="navigator">Reference to owning navigator control.</param>
        /// <param name="page">Page to the positioned.</param>
        public ViewLayoutPopupPage(KryptonNavigator navigator,
                                   KryptonPage page)
        {
            Debug.Assert(navigator != null);
            Debug.Assert(page != null);

            _navigator = navigator;
            _page = page;
        }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:14,代码来源:ViewLayoutPopupPage.cs


示例16: PageDragEndEventArgs

        /// <summary>
        /// Initialize a new instance of the PageDragEndEventArgs class.
        /// </summary>
        /// <param name="dropped">True if a drop was performed; otherwise false.</param>
        /// <param name="pages">Array of event associated pages.</param>
        public PageDragEndEventArgs(bool dropped,
                                    KryptonPage[] pages)
        {
            _dropped = dropped;
            _pages = new KryptonPageCollection();

            if (pages != null)
                _pages.AddRange(pages);
        }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:14,代码来源:PageDragEndEventArgs.cs


示例17: KryptonPageActionList

        /// <summary>
        /// Initialize a new instance of the KryptonPageActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonPageActionList(KryptonPageDesigner owner)
            : base(owner.Component)
        {
            // Remember designer and actual component instance being designed
            _page = (KryptonPage)owner.Component;

            // Cache service used to notify when a property has changed
            _serviceComponentChange = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
开发者ID:ComponentFactory,项目名称:Krypton,代码行数:13,代码来源:KryptonPageActionList.cs


示例18: PageDragEventArgs

        /// <summary>
        /// Initialize a new instance of the KryptonPageDragEventArgs class.
        /// </summary>
        /// <param name="screenPoint">Screen point of the mouse.</param>
        /// <param name="pages">Array of event associated pages.</param>
        public PageDragEventArgs(Point screenPoint,
            KryptonPage[] pages)
        {
            _screenPoint = screenPoint;
            _pages = new KryptonPageCollection();

            if (pages != null)
                _pages.AddRange(pages);
        }
开发者ID:yp25,项目名称:Krypton,代码行数:14,代码来源:PageDragEventArgs.cs


示例19: CellDragCancelEventArgs

 /// <summary>
 /// Initialize a new instance of the CellDragCancelEventArgs class.
 /// </summary>
 /// <param name="screenPoint">Screen point of the mouse.</param>
 /// <param name="screenOffset">Screen offset of the mouse to the source element.</param>
 /// <param name="c">Control that started the drag operation.</param>
 /// <param name="pages">Array of event associated pages.</param>
 /// <param name="cell">Workspace cell associated with pages.</param>
 public CellDragCancelEventArgs(Point screenPoint,
                                Point screenOffset,
                                Control c,
                                KryptonPage[] pages,
                                KryptonWorkspaceCell cell)
     : base(screenPoint, screenOffset, c, pages)
 {
     _cell = cell;
 }
开发者ID:Cocotteseb,项目名称:Krypton,代码行数:17,代码来源:CellDragCancelEventArgs.cs


示例20: AutoHiddenSeparatorResizeEventArgs

 /// <summary>
 /// Initialize a new instance of the AutoHiddenSeparatorResizeEventArgs class.
 /// </summary>
 /// <param name="separator">Reference to separator control instance.</param>
 /// <param name="dockspace">Reference to dockspace control instance.</param>
 /// <param name="page">Reference to page contained in the dockspace.</param>
 /// <param name="resizeRect">Initial resizing rectangle.</param>
 public AutoHiddenSeparatorResizeEventArgs(KryptonSeparator separator,
                                           KryptonDockspace dockspace,
                                           KryptonPage page,
                                           Rectangle resizeRect)
 {
     _separator = separator;
     _dockspace = dockspace;
     _page = page;
     _resizeRect = resizeRect;
 }
开发者ID:Cocotteseb,项目名称:Krypton,代码行数:17,代码来源:AutoHiddenSeparatorResizeEventArgs.cs



注:本文中的ComponentFactory.Krypton.Navigator.KryptonPage类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Toolkit.PaletteRedirect类代码示例发布时间:2022-05-24
下一篇:
C# zlib.ZStream类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap