Ejemplo n.º 1
0
 public AnimationController(WebServicePresentation presentation)
 {
     this._presentation             = presentation;
     this._controllerTimer          = new DispatcherTimer();
     this._controllerTimer.Interval = new TimeSpan(0, 0, 0, 1, 0);
     this._controllerTimer.Tick    += new EventHandler(ControllerTimerTickEventHandler);
 }
Ejemplo n.º 2
0
 public DecryptionAnimation(WebServicePresentation presentation)
 {
     this.presentation            = presentation;
     allowExecute                 = false;
     opacityAnimation             = new DoubleAnimation(1, 0.0, TimeSpan.FromSeconds(1));
     opacityAnimation1            = new DoubleAnimation(1, 0.0, TimeSpan.FromSeconds(1));
     TextSizeAnimation            = new DoubleAnimation(11, 16, TimeSpan.FromSeconds(1));
     TextSizeAnimationReverse     = new DoubleAnimation(16, 11, TimeSpan.FromSeconds(1));
     TextSizeAnimation1           = new DoubleAnimation(11, 16, TimeSpan.FromSeconds(1));
     TextSizeAnimationReverse1    = new DoubleAnimation(16, 11, TimeSpan.FromSeconds(1));
     encryptedKeyTreeviewElements = new ArrayList();
     _decryptionTimer             = new DispatcherTimer();
     _decryptionTimer.Interval    = new TimeSpan(0, 0, 0, 1, 0);
     _decryptionTimer.Tick       += new EventHandler(decryptionTimer_Tick);
 }
Ejemplo n.º 3
0
        public WebService()
        {
            this._wsdlDocument          = new XmlDocument();
            this._modifiedInputDocument = new XmlDocument();
            this._wsdlMethod            = new string[1];
            this._wsdlMethod[0]         = "\n" + @"   
            public ServiceDescription getWsdl(){
            ServiceDescription s1;
            ServiceDescriptionReflector serviceDescriptionReflector = new ServiceDescriptionReflector();
            serviceDescriptionReflector.Reflect(typeof(Service), null);
            System.IO.StringWriter stringWriter = new System.IO.StringWriter();
            serviceDescriptionReflector.ServiceDescriptions[0].Write(stringWriter);
            s1 = serviceDescriptionReflector.ServiceDescriptions[0];
            XmlSchema schema = s1.Types.Schemas[0];
            string theWsdl = stringWriter.ToString();
            return s1;
            }}";

            this._stringToCompile[0]           = @" using System;
            using System.Web;
            using System.Web.Services;
            using System.Web.Services.Protocols;
            using System.Web.Services.Description;
            using System.Xml;
            using System.Xml.Schema;
            using System.IO;";
            this._stringToCompile[1]           = @"
            
            public class Service : System.Web.Services.WebService
            {
              public Service()
             {
     
              }";
            this._stringToCompile[2]           = @"[WebMethod]";
            this.PropertyChanged              += new PropertyChangedEventHandler(WebServicePropertyChangedEventHandler);
            this.presentation                  = new WebServicePresentation(this);
            this._settings.PropertyChanged    += new PropertyChangedEventHandler(SettingsPropertyChangedEventHandler);
            this.WebServiceSettings.Test       = 1;
            this.WebServiceSettings.Integer    = 1;
            this.WebServiceSettings.MethodName = "methodName";
            CspParameters parameters = new CspParameters();

            parameters.KeyContainerName    = "Container";
            this._rsaCryptoServiceProvider = new RSACryptoServiceProvider(parameters);
        }