Ejemplo n.º 1
0
        //protected override void OnCreate()
        //{
        //    base.OnCreate();
        //    Activate();
        //}

        public void Activate()
        {
            NUIApplication.GetDefaultWindow().BackgroundColor = WINDOW_COLOR;
            //NUIApplication.GetDefaultWindow().KeyEvent += OnKeyEvent;

            mContactCardLayouter = new ContactCardLayouter();

            for (int i = 0; i < ContactData.itemSize; i++)
            {
                mContactCardLayouter.AddContact(ContactData.itmes[i].name, ContactData.itmes[i].address, ContactData.itmes[i].imagePath);
            }
        }
Ejemplo n.º 2
0
        //protected override void OnCreate()
        //{
        //    base.OnCreate();
        //    Activate();
        //}

        public void Activate()
        {
            Window.Instance.BackgroundColor = WINDOW_COLOR;
            //Window.Instance.KeyEvent += OnKeyEvent;

            mContactCardLayouter = new ContactCardLayouter();

            for (int i = 0; i < ContactData.itemSize; i++)
            {
                mContactCardLayouter.AddContact(ContactData.itmes[i].name, ContactData.itmes[i].address, ContactData.itmes[i].imagePath);
            }
        }