Changeset 128


Ignore:
Timestamp:
Dec 8, 2008, 4:45:23 PM (13 years ago)
Author:
Timo Eckhardt
Message:

Added Tab "Count of Primes" to "Primes in natural numbers"

Location:
trunk/CrypPlugins/Primes
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Primes/Primes/Resources/lang/WpfControls/Distribution/Distribution.Designer.cs

    r106 r128  
    729729       
    730730        /// <summary>
     731        ///   Looks up a localized string similar to Anzahl der Primzahlen.
     732        /// </summary>
     733        public static string tabitemgraph {
     734            get {
     735                return ResourceManager.GetString("tabitemgraph", resourceCulture);
     736            }
     737        }
     738       
     739        /// <summary>
    731740        ///   Looks up a localized string similar to Zahlengrid.
    732741        /// </summary>
  • trunk/CrypPlugins/Primes/Primes/Resources/lang/WpfControls/Distribution/Distribution.resx

    r106 r128  
    365365    <value>Die Spirale zoomen</value>
    366366  </data>
     367  <data name="tabitemgraph" xml:space="preserve">
     368    <value>Anzahl der Primzahlen</value>
     369  </data>
    367370</root>
  • trunk/CrypPlugins/Primes/Primes/WpfControls/PrimesDistribution/PrimesInNaturalNumbersControl.xaml

    r4 r128  
    88             xmlns:comps="clr-namespace:Primes.WpfControls.Components"
    99             xmlns:lang="clr-namespace:Primes.Resources.lang.WpfControls.Distribution"
     10             xmlns:graph="clr-namespace:Primes.WpfControls.PrimesDistribution.Graph"
    1011             
    1112    VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
     
    3940        <numberrect:NumberRectangleControl x:Name="numberrectctrl" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
    4041      </comps:HelpTabItem>
     42      <comps:HelpTabItem x:Name="tabItemGraph" Header="{x:Static lang:Distribution.tabitemgraph}" HelpButtonClick="tabitem_HelpButtonClick">
     43        <graph:GraphControl x:Name="graphcontrol" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />
     44      </comps:HelpTabItem>
    4145      <comps:HelpTabItem x:Name="tabItemUlam" Header="{x:Static lang:Distribution.tabitemulam}" HelpButtonClick="tabitem_HelpButtonClick">
    4246        <ulam:PrimesprialControl x:Name="spiralCtrl"/>
  • trunk/CrypPlugins/Primes/Primes/WpfControls/PrimesDistribution/PrimesInNaturalNumbersControl.xaml.cs

    r4 r128  
    300300        OnlineHelp.OnlineHelpAccess.ShowOnlineHelp(Primes.OnlineHelp.OnlineHelpActions.Distribution_Numberline);
    301301      }
     302      else if (sender == tabItemGraph)
     303      {
     304        OnlineHelp.OnlineHelpAccess.ShowOnlineHelp(Primes.OnlineHelp.OnlineHelpActions.Graph_PrimesCount);
     305      }
     306
    302307      e.Handled = true;
    303308
  • trunk/CrypPlugins/Primes/Primes/WpfVisualization/PrimesControl.xaml.cs

    r107 r128  
    303303        case NavigationCommandType.Graph:
    304304          if (m_GraphControl == null) m_GraphControl = new GraphControl();
    305           SetUserControl(m_GraphControl);
     305          if (m_PrimesInNaturalNumbersControl == null) m_PrimesInNaturalNumbersControl = new PrimesInNaturalNumbersControl();
     306
     307          SetUserControl(m_PrimesInNaturalNumbersControl,2);
    306308          break;
    307309        case NavigationCommandType.Start:
  • trunk/CrypPlugins/Primes/PrimesStandalone.sln

    r24 r128  
    99EndProject
    1010Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrypCore", "..\..\CrypCore\CrypCore.csproj", "{FF5D473C-0716-4D3E-9078-2EBD979F94C6}"
    11 EndProject
    12 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrypUiPluginBase", "..\..\CrypUiPluginBase\CrypUiPluginBase.csproj", "{928CF4D4-3967-41C7-9962-BA9FB40FAD9A}"
    1311EndProject
    1412Global
     
    3432                {FF5D473C-0716-4D3E-9078-2EBD979F94C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
    3533                {FF5D473C-0716-4D3E-9078-2EBD979F94C6}.Release|Any CPU.Build.0 = Release|Any CPU
    36                 {928CF4D4-3967-41C7-9962-BA9FB40FAD9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    37                 {928CF4D4-3967-41C7-9962-BA9FB40FAD9A}.Debug|Any CPU.Build.0 = Debug|Any CPU
    38                 {928CF4D4-3967-41C7-9962-BA9FB40FAD9A}.Release|Any CPU.ActiveCfg = Release|Any CPU
    39                 {928CF4D4-3967-41C7-9962-BA9FB40FAD9A}.Release|Any CPU.Build.0 = Release|Any CPU
    4034        EndGlobalSection
    4135        GlobalSection(SolutionProperties) = preSolution
Note: See TracChangeset for help on using the changeset viewer.