Ignore:
Timestamp:
Dec 15, 2008, 8:00:38 PM (13 years ago)
Author:
Timo Eckhardt
Message:

Setting Tabs from Navigation menu was buggy

Location:
trunk/CrypPlugins/Primes/Primes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Primes/Primes/WpfControls/PrimesDistribution/PrimesInNaturalNumbersControl.xaml.cs

    r128 r153  
    304304        OnlineHelp.OnlineHelpAccess.ShowOnlineHelp(Primes.OnlineHelp.OnlineHelpActions.Graph_PrimesCount);
    305305      }
     306      else if (sender == tabItemGoldbach)
     307      {
     308        OnlineHelp.OnlineHelpAccess.ShowOnlineHelp(Primes.OnlineHelp.OnlineHelpActions.Distribution_Goldbach);
     309      }
    306310
    307311      e.Handled = true;
  • trunk/CrypPlugins/Primes/Primes/WpfVisualization/PrimesControl.xaml.cs

    r128 r153  
    321321        case NavigationCommandType.PrimeDistrib_Ulam:
    322322          if (m_PrimesInNaturalNumbersControl == null) m_PrimesInNaturalNumbersControl = new PrimesInNaturalNumbersControl();
    323           SetUserControl(m_PrimesInNaturalNumbersControl, 2);
     323          SetUserControl(m_PrimesInNaturalNumbersControl, 3);
    324324          break;
    325325        case NavigationCommandType.PrimeDistrib_Numberline:
     
    335335          if (m_PrimesInNaturalNumbersControl == null) m_PrimesInNaturalNumbersControl = new PrimesInNaturalNumbersControl();
    336336
    337           SetUserControl(m_PrimesInNaturalNumbersControl, 3);
     337          SetUserControl(m_PrimesInNaturalNumbersControl, 4);
    338338          break;
    339339
Note: See TracChangeset for help on using the changeset viewer.