예제 #1
0
 public UserInterface(int id, string name, string display, string page, CoreConstants.Module module, CoreConstants.PageType pagetype, CoreConstants.UserInterface linkUI)
 {
     this.Initialise(id, name, display, page, module, pagetype, linkUI);
 }
예제 #2
0
            private void Initialise(int id, string name, string display, string page, CoreConstants.Module module, CoreConstants.PageType pagetype, CoreConstants.UserInterface linkUI)
            {
                this.Id       = id;
                this.Name     = name;
                this.Display  = display;
                this.Page     = page;
                this.Module   = module;
                this.PageType = pagetype;
                this.LinkUI   = linkUI;

                if (pagetype == CoreConstants.PageType.Page)
                {
                    this.Region = CoreConstants.Region.MainRegion;
                }
                else if (pagetype == CoreConstants.PageType.ContentPage)
                {
                    this.Region = CoreConstants.Region.ContentRegion;
                }
            }
예제 #3
0
 public UserInterface(int id, string name, string page, CoreConstants.Module module, CoreConstants.PageType pagetype)
 {
     this.Initialise(id, name, name, page, module, pagetype, null);
 }