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

            ModelInstance.Instance.Network.GetNetworkChangeWatcher().EventNetworkChanged += NetworkChangedHandler;
        }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
 public Entry(PageDefinitions.Page aPageDefinition, Page aPage)
 {
     iPageDefinition = aPageDefinition;
     iPage           = aPage;
 }
Exemplo n.º 5
0
 public StandardPage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
     : base(aPageControl, aPageDefinition)
 {
 }
Exemplo n.º 6
0
 public WizardView(PageDefinitions.Page aPageDef, string aResourcePath)
 {
     iPageDef      = aPageDef;
     iResourcePath = aResourcePath;
 }
Exemplo n.º 7
0
 public ReprogramPage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
     : base(aPageControl, aPageDefinition)
 {
 }
Exemplo n.º 8
0
 public HelpPage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
     : base(aPageControl, aPageDefinition)
 {
 }
Exemplo n.º 9
0
 public StreamPage(PageControl aPageControl, PageDefinitions.Page aPageDefinintion)
     : base(aPageControl, aPageDefinintion)
 {
 }
Exemplo n.º 10
0
 public DiscoveryPage(PageControl aPageControl, PageDefinitions.Page aPageDefinition)
     : base(aPageControl, aPageDefinition)
 {
 }