public void Activate()
        { //XXXXX Entry Point to CodeHints
          //verify password and if verified, show MainMenuDialog
          // if a user presses "Cancel", do nothing and just return
          //string password = null;
          //if (!terminalDevice.GetPassword(ref password)) return;

            terminalDevice.ShowMainMenuDialog();
        }
Exemple #2
0
        public void Activate()
        {
            string password = null;

            if (!terminalDevice.GetPassword(ref password))
            {
                return;
            }
            if (admin.CheckPassword(password) == true)
            {
                terminalDevice.ShowMainMenuDialog(this);
            }
        }
Exemple #3
0
        public void Activate()
        {
            //verify password and if verified, show MainMenuDialog
            // if a user presses "Cancel", do nothing and just return
            string password = null;

            if (!terminalDevice.GetPassword(ref password))
            {
                return;
            }
            // you need to verify the password

            terminalDevice.ShowMainMenuDialog(this);
        }