コード例 #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();
        }
コード例 #2
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();
            }

            //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;
        }
コード例 #4
0
 private void PrepareExit()
 {
     if (m_AppInput != null)
     {
         RscPageArgsRet appOutput = m_AppInput.CreateOutPut();
         appOutput.SetFlag(0, "Ok");
         appOutput.SetOutput();
     }
 }