Esempio n. 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]);
        }
Esempio n. 2
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]);
        }
Esempio n. 3
0
 public DemoWindow(DemoWindowTemplate template)
     : base(template)
 {
     hasNext = template.HasNext;
     hasPrev = template.HasPrevious;
 }
Esempio n. 4
0
 public DemoWindow(DemoWindowTemplate template)
     : base(template)
 {
     hasNext = template.HasNext;
     hasPrev = template.HasPrevious;
 }
Esempio n. 5
0
 public Page2(DemoWindowTemplate template)
     : base(template)
 {
 }
Esempio n. 6
0
 public Page2(DemoWindowTemplate template)
     : base(template)
 {
 }