示例#1
0
 public void Hide()
 {
     NavPage.Hide();
     ThreadManage.MissionToMain(() => {
         InputText.Hide();
     });
 }
示例#2
0
 public void Show()
 {
     NavPage.Show();
     ThreadManage.MissionToMain(() => {
         InputText.Show();
     });
 }
示例#3
0
        public void Create(SwapChain p, RawRectangleF m)
        {
            m.Top += 36;
            NavPage.Create(p, m);
            ThreadManage.MissionToMain(() => {
#if phone
                float y = 0;
                if (Component.screenX < Component.screenY)
                {
                    y += 23;
                }
                InputText.Create(App.Main, new Thickness(screenX - 240, y, screenX, 0));
#else
                InputText.Create(App.Main, new Thickness(screenX - 240, 0, screenX, 0));
#endif
            });
        }