Changeset 2659


Ignore:
Timestamp:
Feb 11, 2011, 4:21:45 PM (11 years ago)
Author:
Tim Podeszwa
Message:

animation tab modified

Location:
trunk/CrypPlugins/WebService
Files:
2 edited

Legend:

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

    r2635 r2659  
    110110        }
    111111
    112         [PropertyInfo(Direction.InputData, "SOAP input", "Input a SOAP message to be processed by the Web Service", "", false, false, QuickWatchFormat.None,null)]
     112        [PropertyInfo(Direction.InputData, "SOAP input", "Input a SOAP message to be processed by the Web Service", "", false, false, QuickWatchFormat.Text, "XmlInputConverter")]
    113113        public XmlDocument InputString
    114114        {
     
    170170        {
    171171            XmlDocument doc = (XmlDocument)this._outputDocument;
     172            StringWriter stringWriter = new StringWriter();
     173            Object obj = new Object();
     174            try
     175            {
     176                XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
     177                xmlWriter.Formatting = Formatting.Indented;
     178                doc.WriteContentTo(xmlWriter);
     179                obj = (Object)stringWriter.ToString();
     180            }
     181            catch (Exception e)
     182            {
     183                Console.WriteLine(e.ToString());
     184
     185            }
     186
     187
     188            return obj;
     189        }
     190        public Object XmlInputConverter(Object Data)
     191        {
     192            XmlDocument doc = (XmlDocument)this._inputDocument;
    172193            StringWriter stringWriter = new StringWriter();
    173194            Object obj = new Object();
  • trunk/CrypPlugins/WebService/WebServicePresentation.xaml

    r2639 r2659  
    22    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    33    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    4    Height="Auto" Width="Auto" MinWidth="640" MinHeight="480" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="480" d:DesignWidth="668">
    5     <Grid Height="470" Width="664">
     4   Height="Auto" Width="Auto"  mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="496" d:DesignWidth="694">
     5    <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
     6    <Grid>
    67        <Slider Height="38.341" Margin="0,0,5,0" Name="slider1" VerticalAlignment="Top" IsSelectionRangeEnabled="False" IsMoveToPointEnabled="False" IsDirectionReversed="False" ValueChanged="slider1_ValueChanged" HorizontalAlignment="Right" Width="221.711" />
    78        <TabControl Name="tabControl1" BorderBrush="Transparent" Background="AliceBlue" Margin="8,5,12,0">
     
    2425            </TabItem>
    2526            <TabItem IsSelected="True" Name="_animationTab" Header="Animation" Background="AliceBlue">
    26                 <Grid Height="430" Width="629">
     27                <Grid Height="433" Width="662">
    2728                    <Grid.ColumnDefinitions>
    28                         <ColumnDefinition Width="336*"/>
    29                         <ColumnDefinition Width="5"/>
    30                         <ColumnDefinition Width="277*"/>
     29                        <ColumnDefinition Width="404*"/>
     30                        <ColumnDefinition Width="9"/>
     31                        <ColumnDefinition Width="221*"/>
    3132                    </Grid.ColumnDefinitions>
    3233
     
    3536
    3637
    37                     <TextBox  Name="_animationStepsTextBox" Grid.Column="2" Margin="6,0,6,69" />
    38                     <Canvas Grid.Column="2" Margin="31,374,38,0">
    39                         <Button Height="23" Name="button1" Width="75" Click="button1_Click_3" VerticalContentAlignment="Center" Canvas.Left="21" Canvas.Top="17" HorizontalAlignment="Center">Play</Button>
    40                         <Button Name="resetButton" Width="75" Height="23.338" Click="resetButton_Click" VerticalContentAlignment="Center" Canvas.Left="120" Canvas.Top="17" HorizontalAlignment="Center">Reset</Button>
    41                     </Canvas>
     38                    <TextBox  Name="_animationStepsTextBox" Grid.Column="2" Margin="6,0,6,69" HorizontalScrollBarVisibility="Auto" />
    4239
    43                 </Grid>
     40                        <Canvas Margin="16,379,15,2" Grid.Column="2" VerticalAlignment="Stretch">
     41
     42                            <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>
     43                        <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>
     44                        </Canvas>
     45
     46                    </Grid>
    4447            </TabItem>
    4548            <TabItem Name="_securityTraceTab" IsSelected="True" Header="WS-Security Trace" Background="AliceBlue">
    4649               
    47                     <TextBox Name="txtTrace" FontFamily="Courier New" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Width="Auto" />
     50                    <TextBox Name="txtTrace" FontFamily="Courier New" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Width="631" Height="422" />
    4851               
    4952            </TabItem>
    50         </TabControl>
    51     </Grid>
     53
     54            </TabControl>
     55
     56        </Grid>
     57    </ScrollViewer>
    5258</UserControl>
Note: See TracChangeset for help on using the changeset viewer.