예제 #1
0
 protected Page(PageDefinitions.Page aPageDefinition)
     : base(aPageDefinition.Name, aPageDefinition.Name)
 {
     iLock           = new object();
     iSessionModels  = new Dictionary <Session, IPageModel>();
     iPageDefinition = aPageDefinition;
 }
예제 #2
0
        protected BasePage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
            : base(aPageDefinition)
        {
            iPageDefinition = aPageDefinition;
            iPageControl    = aPageControl;

            ModelInstance.Instance.Network.GetNetworkChangeWatcher().EventNetworkChanged += NetworkChangedHandler;
        }
예제 #3
0
        protected string GetActionValue(PageDefinitions.Page aPage, string aId)
        {
            // this code only needs to use the old style actions i.e. ActionBasic
            foreach (PageDefinitions.Action action in aPage.Actions)
            {
                if (action.Id == aId)
                {
                    PageDefinitions.ActionBasic actionBasic = action as PageDefinitions.ActionBasic;

                    if (actionBasic != null)
                    {
                        return(actionBasic.Parameter);
                    }
                }
            }
            return(string.Empty);
        }
예제 #4
0
 public Entry(PageDefinitions.Page aPageDefinition, Page aPage)
 {
     iPageDefinition = aPageDefinition;
     iPage           = aPage;
 }
예제 #5
0
 public StandardPage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
     : base(aPageControl, aPageDefinition)
 {
 }
예제 #6
0
 public WizardView(PageDefinitions.Page aPageDef, string aResourcePath)
 {
     iPageDef      = aPageDef;
     iResourcePath = aResourcePath;
 }
예제 #7
0
 public ReprogramPage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
     : base(aPageControl, aPageDefinition)
 {
 }
예제 #8
0
 public HelpPage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
     : base(aPageControl, aPageDefinition)
 {
 }
예제 #9
0
 public StreamPage(PageControl aPageControl, PageDefinitions.Page aPageDefinintion)
     : base(aPageControl, aPageDefinintion)
 {
 }
예제 #10
0
 public DiscoveryPage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
     : base(aPageControl, aPageDefinition)
 {
 }