Ignore:
Timestamp:
Jun 17, 2010, 6:10:10 PM (12 years ago)
Author:
Arno Wacker
Message:

Plugins

  • Removed copy local for CrypPluginBase from P2PEditor, PeerToPeer, PeerToPeerBaseProxy, Soap, VigenereAnalyzer, WebService, WorkspaceManager

CrypPluginBase:

  • Added Utils for diagrams: Initial version for a generic histogram control added (working, but not scaling correctly)

Autocorrelation:

  • Added WPF UserControl for presentation
  • Exemplary added the Histogram from CrypPluginBase to the presentation of autocorrelation (just demo, no functionality)
Location:
trunk/CrypPlugins/AutokorrelationFunction
Files:
2 added
2 edited

Legend:

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

    r1660 r1666  
    3636
    3737        private readonly AutokorrelationFunctionSettings settings = new AutokorrelationFunctionSettings();
     38        private AutocorrelationPresentation presentation = new AutocorrelationPresentation();
    3839
    3940        private String cipher = "";                                     //The cipher to be analysed
     
    9394        public UserControl Presentation
    9495        {
    95             get { return null; }
     96            get { return presentation; }
    9697        }
    9798
    9899        public UserControl QuickWatchPresentation
    99100        {
    100             get { return null; }
     101            get { return presentation; }
    101102        }
    102103
     
    107108        public void Execute()
    108109        {
    109 
     110            // testing
     111            presentation.dingens.SetBackground(Brushes.Red);
     112            presentation.dingens.SetHeadline("Here we go.. much to do!");
     113            // testing-end
    110114//START------------------------------------------------------------------------------------------------------------
    111115//Preparations for the Analyse-------------------------------------------------------------------------------------
  • trunk/CrypPlugins/AutokorrelationFunction/AutokorrelationFunction.csproj

    r1623 r1666  
    8585      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    8686    </Reference>
     87    <Reference Include="System.Drawing" />
     88    <Reference Include="System.Windows.Forms" />
    8789    <Reference Include="System.Xaml" />
    8890    <Reference Include="System.Xml.Linq">
     
    99101  </ItemGroup>
    100102  <ItemGroup>
     103    <Compile Include="AutocorrelationPresentation.xaml.cs">
     104      <DependentUpon>AutocorrelationPresentation.xaml</DependentUpon>
     105    </Compile>
    101106    <Compile Include="AutokorrelationFunction.cs" />
    102107    <Compile Include="AutokorrelationFunctionSettings.cs" />
     
    130135    <Resource Include="icon.png" />
    131136  </ItemGroup>
     137  <ItemGroup>
     138    <Page Include="AutocorrelationPresentation.xaml">
     139      <SubType>Designer</SubType>
     140      <Generator>MSBuild:Compile</Generator>
     141    </Page>
     142  </ItemGroup>
    132143  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    133144  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset for help on using the changeset viewer.