Changeset 2764


Ignore:
Timestamp:
Feb 21, 2011, 7:36:15 PM (11 years ago)
Author:
Tim Podeszwa
Message:

code cleaned

Location:
trunk/CrypPlugins/WebService
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WebService/AnimationController.cs

    r2631 r2764  
    114114                    this._controllerTimer.Interval = new TimeSpan(0, 0, 0, 5, 0);
    115115                    this._controllerTimer.Stop();
    116                     this._presentation.getSignatureTimer().Start();
     116                    this._presentation.SignatureTimer.Start();
    117117                    if (this._actualSecurityElementNumber + 1 < this._wsSecurityElementsCounter)
    118118                    {
  • trunk/CrypPlugins/WebService/DecryptionAnimation.cs

    r2763 r2764  
    360360                      status++;
    361361                      this._decryptionTimer.Stop();
    362                       this.presentation.getAnimationController().ControllerTimer.Start();
     362                      this.presentation.AnimationController().ControllerTimer.Start();
    363363                   break;
    364364                case 13:
  • trunk/CrypPlugins/WebService/WebServicePresentation.xaml

    r2763 r2764  
    4545                        <Canvas Margin="16,379,15,2" Grid.Column="2" VerticalAlignment="Stretch">
    4646
    47                             <Button Height="23" Name="button1" Width="75" Click="button1_Click_3" VerticalContentAlignment="Center" Canvas.Left="16" Canvas.Top="17" HorizontalAlignment="Center" Grid.Column="2" Margin="0,0,103,22" VerticalAlignment="Bottom" HorizontalContentAlignment="Center">Play</Button>
    48                         <Button Name="resetButton" Width="75" Height="23.338" Click="resetButton_Click" VerticalContentAlignment="Center" Canvas.Left="109" Canvas.Top="17" HorizontalAlignment="Right" Grid.Column="2" Margin="0,0,6,22" VerticalAlignment="Bottom">Reset</Button>
     47                            <Button Height="23" Name="button1" Width="75" Click="Button1Click3EventHandler" VerticalContentAlignment="Center" Canvas.Left="16" Canvas.Top="17" HorizontalAlignment="Center" Grid.Column="2" Margin="0,0,103,22" VerticalAlignment="Bottom" HorizontalContentAlignment="Center">Play</Button>
     48                        <Button Name="resetButton" Width="75" Height="23.338" Click="ResetButtonClickEventHandler" VerticalContentAlignment="Center" Canvas.Left="109" Canvas.Top="17" HorizontalAlignment="Right" Grid.Column="2" Margin="0,0,6,22" VerticalAlignment="Bottom">Reset</Button>
    4949                        </Canvas>
    5050                        <TextBox Height="29" HorizontalAlignment="Left" Name="_indicatorTextBox" VerticalAlignment="Top" Width="37" ClipToBounds="True" Opacity="1" Margin="3,0,0,0" />
  • trunk/CrypPlugins/WebService/WebServicePresentation.xaml.cs

    r2763 r2764  
    131131            {
    132132                this._soapInputItem = value;
     133            }
     134        }
     135        public AnimationController AnimationController
     136        {
     137            get
     138            {
     139                return this._animationController;
     140            }
     141        }
     142
     143        public DispatcherTimer SignatureTimer
     144        {
     145            get
     146            {
     147                return this._dispatcherTimer;
    133148            }
    134149        }
     
    823838        }
    824839
    825         private void SettingsPropertyChangedEventHandler(object sender, System.ComponentModel.PropertyChangedEventArgs e)
    826         {
    827             if (e.PropertyName == "TargetFilename")
    828             {
    829                 string filename = this._webService.WebServiceSettings.TargetFilename;
    830 
    831                 {
    832                     this.Save(filename);
    833                 }
    834             }
    835         }
    836 
    837840
    838841        private void AnimateTextBlock(string animatedBlockName)
     
    10241027
    10251028
    1026         public AnimationController getAnimationController()
    1027         {
    1028             return this._animationController;
    1029         }
    1030 
    1031 
    1032 
    1033 
    1034 
    1035 
    10361029        private void button1_Click_1(object sender, RoutedEventArgs e)
    10371030        {
     
    10441037            }
    10451038        }
    1046 
    1047         private void playButton_Click(object sender, RoutedEventArgs e)
     1039        private void SettingsPropertyChangedEventHandler(object sender, System.ComponentModel.PropertyChangedEventArgs e)
     1040        {
     1041            if (e.PropertyName == "TargetFilename")
     1042            {
     1043                string filename = this._webService.WebServiceSettings.TargetFilename;
     1044
     1045                {
     1046                    this.Save(filename);
     1047                }
     1048            }
     1049        }
     1050
     1051
     1052
     1053        private void PlayButtonClickEventHandler(object sender, RoutedEventArgs e)
    10481054        {
    10491055
     
    10591065        }
    10601066
    1061         private void resetButton_Click(object sender, RoutedEventArgs e)
     1067        private void ResetButtonClickEventHandler(object sender, RoutedEventArgs e)
    10621068        {
    10631069            this._decryptionAnimation.DecryptionTimer.Stop();
     
    10981104
    10991105        }
    1100         public DispatcherTimer getSignatureTimer()
    1101         {
    1102             return this._dispatcherTimer;
    1103         }
    1104 
    1105         private void button1_Click_3(object sender, RoutedEventArgs e)
     1106
     1107        private void Button1Click3EventHandler(object sender, RoutedEventArgs e)
    11061108        {
    11071109            if (this._soapInputItem != null && this._soapInputItem.Items.Count>0)
Note: See TracChangeset for help on using the changeset viewer.