public void endAnimation() { dispatcherTimer.Stop(); referenceElementsTimer.Stop(); TransformsTimer.Stop(); referencesTimer.Stop(); referencesCounter = 0; status = 0; referencesSteps = 0; xPathArrayCounter = 0; transformSteps = 0; transformsCounter = 0; if (!soap.CheckSecurityHeader()) { soap.CreateSecurityHeaderAndSoapHeader(); } if (!signed) { soap.SignElementsManual(this.elementsToSign); } presentation.animationRunning = false; animationRunning = false; soap.CreateInfoMessage("Animation end"); soap.ShowSecuredSoap(); }
public void endAnimation() { dispatcherTimer.Stop(); soap.ShowSecuredSoap(); presentation.animationRunning = false; soap.CreateInfoMessage("Animation end"); }
private void IamgeMouseLeftButtonDownEventHandler(object sender, MouseButtonEventArgs e) { ClearBoxes(_securedSoapItem); if (!animationRunning) { _namespacesTable.Clear(); Image img = (Image)sender; string name = img.Name; string[] splitter = name.Split(new char[] { '_' }); if (splitter.Length > 1) { name = splitter[0] + ":" + splitter[1]; } else { name = splitter[0]; } XmlElement[] array = new XmlElement[1]; array[0] = (XmlElement)_soap.SecuredSoap.GetElementsByTagName(name)[0]; _soap.AddIdToElement(name); if (_soap.GotKey) { _soap.EncryptElements(array); if (!_soap.GetIsShowEncryptionsSteps()) { _soap.ShowSecuredSoap(); } else { _encryptionAnimator = new EncryptionAnimator(ref this.treeView, ref _soap); _encryptionAnimator.startAnimation(array); animationRunning = true; } } else { _soap.CreateErrorMessage("No key for encryption available. Create one in a Web Service Plugin"); } } }