コード例 #1
0
        protected override void Setup(ApplicationInfo info)
        {
            base.Setup(info);

            DemoWindowTemplate demoTmpl = new DemoWindowTemplate()
            {
                HasFrame    = true,
                HasNext     = true,
                HasPrevious = false
            };

            pages.Add(new Page1(demoTmpl));

            demoTmpl.HasNext     = false;
            demoTmpl.HasPrevious = true;
            pages.Add(new Page2(demoTmpl));

            SetWindow(pages[0]);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: AIBrain/ochregui
        protected override void Setup(ApplicationInfo info)
        {
            base.Setup(info);

            DemoWindowTemplate demoTmpl = new DemoWindowTemplate()
            {
                HasFrame = true,
                HasNext = true,
                HasPrevious = false
            };

            pages.Add(new Page1(demoTmpl));

            demoTmpl.HasNext = false;
            demoTmpl.HasPrevious = true;
            pages.Add(new Page2(demoTmpl));

            SetWindow(pages[0]);
        }
コード例 #3
0
ファイル: DemoWindow.cs プロジェクト: AIBrain/ochregui
 public DemoWindow(DemoWindowTemplate template)
     : base(template)
 {
     hasNext = template.HasNext;
     hasPrev = template.HasPrevious;
 }
コード例 #4
0
 public DemoWindow(DemoWindowTemplate template)
     : base(template)
 {
     hasNext = template.HasNext;
     hasPrev = template.HasPrevious;
 }
コード例 #5
0
ファイル: Page2.cs プロジェクト: AIBrain/ochregui
 public Page2(DemoWindowTemplate template)
     : base(template)
 {
 }
コード例 #6
0
ファイル: Page2.cs プロジェクト: vanattab/ochregui
 public Page2(DemoWindowTemplate template)
     : base(template)
 {
 }