Ejemplo n.º 1
0
        private void CheckNextVal()
        {
            if (currentRectNode == null)
            {
                return;
            }

            XmlAttributeCollection attributesList = currentRectNode.Attributes;
            string currentNodeName = currentRectNode.Attributes[XMLPreparer.ATT_NAME].Value;

            foreach (XmlAttribute att in attributesList)
            {
                if (NodeUnFinished(att.Value))
                {
                    this.missingAttName = att;
                    mouseCoordinator.ShowMouseNotification(currentNodeName);
                    return;
                }
            }

            currentRectNode = rectNodesList[++nodesIndexer];

            if (LastElement())
            {
                remotePicFrame.OnDone();
                new RemoteDimensHandler().SetRemoteDimens(xmlDocument, remotePicFrame.GetRemotePic());
                valuesWriterCallback.OnWritingEnd(xmlDocument);
                return;
            }

            CheckNextVal();
        }
Ejemplo n.º 2
0
 public void PrepareForNextHex()
 {
     nextNodeName = xmlModifier.GetNextValName();
     mouseCoordinator.ShowMouseNotification(nextNodeName);
     HandleTextToSpeech(nextNodeName);
     userCommandsListener.ListinToUserCommands();
     readHexTask = Task.Run(() =>
     {
         hexListener.ListenToHex();
     });
 }