Skip to content

Commit

Permalink
Minor Changes. fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
TuMartin committed Jun 16, 2015
1 parent 31b6833 commit 927493e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Softwareprojekt2015/GUI/WorldMap.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static void updateCountry(string countryCode)
if (_shadingDictionary.ContainsKey(countryCode) && _pathDictionary.ContainsKey(countryCode))
{
// Sets color for countries on worldmap
SolidColorBrush packageShading = new SolidColorBrush(Colors.Blue);
SolidColorBrush packageShading = new SolidColorBrush(Colors.Aquamarine);

packageShading.Opacity = _shadingDictionary[countryCode];
_pathDictionary[countryCode].Fill = packageShading;
Expand Down Expand Up @@ -248,7 +248,7 @@ public static void updateCountries()

if (_shadingDictionary.ContainsKey(name))
{
SolidColorBrush packageShading = new SolidColorBrush(Colors.Blue);
SolidColorBrush packageShading = new SolidColorBrush(Colors.Aquamarine);

packageShading.Opacity = _shadingDictionary[name];
p.Fill = packageShading;
Expand Down
4 changes: 2 additions & 2 deletions Softwareprojekt2015/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace NSA4Dummies
{
/// <summary>
/// Interaktionslogik für MainWindow.xaml
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
Expand Down Expand Up @@ -76,7 +76,7 @@ public void updateGUIData(ProgressChangedEventArgs e)
int choice = rnd.Next(0, fileTypes.Length);
((GUIViewModel)this.DataContext).addFileType(fileTypes[choice]);

string[] domains = { "google.com", "facebook.com", "web.de", "gmail.com", "youtube.com", "tu-ilmenau.de" };
string[] domains = { "google.com", "facebook.com", "google.de", "gmail.com", "youtube.com", "tu-ilmenau.de" };
choice = rnd.Next(0, domains.Length);
((GUIViewModel)this.DataContext).addDomain(domains[choice]);

Expand Down
6 changes: 3 additions & 3 deletions Softwareprojekt2015/PacketSniffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class PacketSniffer
/// </summary>
public PacketSniffer()
{
// get list of all devices
// Get list of all connected devices
deviceList = LibPcapLiveDeviceList.Instance;

snifferWorker = new BackgroundWorker();
Expand All @@ -76,7 +76,7 @@ public bool SnifferRunning()
}

/// <summary>
/// Gets called when the thread finishes it work or gets cancled and stops capturing of packets
/// Gets called when the thread finishes its work or gets canceled and stops capturing packets
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
Expand Down Expand Up @@ -149,7 +149,7 @@ public void StartSniffer()
}

/// <summary>
/// Contains the main loop of the sniffing thread and reports packets to all registert handlers
/// Contains the main loop of the sniffing thread and reports packets to all registered handlers
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
Expand Down

0 comments on commit 927493e

Please sign in to comment.