示例#1
0
        private void m_AppFrame_OnNext(object sender, EventArgs e)
        {
            if (m_AppInput != null)
            {
                RscPageArgsRet appOutput = m_AppInput.CreateOutPut();
                appOutput.SetFlag(0, "Next");
                appOutput.SetOutput();
            }

            this.NavigationService.GoBack();
        }
        protected override void OnBackKeyPress(CancelEventArgs e)
        {
            base.OnBackKeyPress(e);

            if (m_AppInput != null)
            {
                RscPageArgsRet appOutput = m_AppInput.CreateOutPut();
                appOutput.SetFlag(0, "Back");
                appOutput.SetOutput();
            }

            //e.Cancel = true;
        }
示例#3
0
        protected override void OnBackKeyPress(CancelEventArgs e)
        {
            base.OnBackKeyPress(e);

            if (m_AppInput != null)
            {
                RscPageArgsRet appOutput = m_AppInput.CreateOutPut();
                appOutput.SetFlag(0, "Back");
                appOutput.SetOutput();

                //Maybe user deleted some items...
                m_RegHistory.Flush();
            }

            //e.Cancel = true;
        }
 private void PrepareExit()
 {
     if (m_AppInput != null)
     {
         RscPageArgsRet appOutput = m_AppInput.CreateOutPut();
         appOutput.SetFlag(0, "Ok");
         appOutput.SetOutput();
     }
 }