Changeset 831


Ignore:
Timestamp:
Nov 8, 2009, 8:44:54 PM (12 years ago)
Author:
weyers
Message:

Presentation added!

Location:
trunk/CrypPlugins/Transposition
Files:
2 added
2 edited

Legend:

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

    r827 r831  
    2424        private String output = "";
    2525        private TranspositionSettings settings;
     26        private TranspositionPresentation myPresentation;
    2627
    2728        private char[,] read_in_matrix;
    2829        private char[,] permuted_matrix;
    2930        private int[] key;
    30         # endregion
     31        # endregion       
    3132
    3233        /// <summary>
     
    3637        {
    3738            this.settings = new TranspositionSettings();
     39            myPresentation = new TranspositionPresentation();
     40            Presentation = myPresentation;
    3841        }
    3942
     
    151154        {
    152155            ProcessTransposition();
     156            myPresentation.main(Read_in_matrix,Permuted_matrix,key,Keyword,Input,Output,this.settings.Permutation,this.settings.ReadIn,this.settings.ReadOut);
     157           
    153158        }
    154159
     
    181186        public System.Windows.Controls.UserControl Presentation
    182187        {
    183             get { return null; }
     188            get;
     189            private set;
    184190        }
    185191
    186192        public System.Windows.Controls.UserControl QuickWatchPresentation
    187193        {
    188             get { return null; }
     194            get { return Presentation; }
    189195        }
    190196
  • trunk/CrypPlugins/Transposition/Transposition.csproj

    r827 r831  
    5454    <Reference Include="System.Data" />
    5555    <Reference Include="System.Xml" />
     56    <Reference Include="UIAutomationProvider">
     57      <RequiredTargetFramework>3.0</RequiredTargetFramework>
     58    </Reference>
    5659    <Reference Include="WindowsBase">
    5760      <RequiredTargetFramework>3.0</RequiredTargetFramework>
     
    6164    <Compile Include="Transposition.cs" />
    6265    <Compile Include="Properties\AssemblyInfo.cs" />
     66    <Compile Include="TranspositionPresentation.xaml.cs">
     67      <DependentUpon>TranspositionPresentation.xaml</DependentUpon>
     68    </Compile>
    6369    <Compile Include="TranspositionSettings.cs" />
    6470  </ItemGroup>
     
    7379      <SubType>Designer</SubType>
    7480    </Resource>
     81  </ItemGroup>
     82  <ItemGroup>
     83    <Page Include="TranspositionPresentation.xaml">
     84      <SubType>Designer</SubType>
     85      <Generator>MSBuild:Compile</Generator>
     86    </Page>
    7587  </ItemGroup>
    7688  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Note: See TracChangeset for help on using the changeset viewer.