Index: trunk/sources/HeuristicLab.Hive.Client.Console/IPAdressTextBox.cs
===================================================================
--- trunk/sources/HeuristicLab.Hive.Client.Console/IPAdressTextBox.cs	(revision 717)
+++ trunk/sources/HeuristicLab.Hive.Client.Console/IPAdressTextBox.cs	(revision 752)
@@ -46,11 +46,11 @@
     private System.ComponentModel.Container components = null;
 
-    private IPNotation ipNotation = IPNotation.IPv4Decimal;
-    private IPNotation newIPNotation = IPNotation.IPv4Decimal;
-    private bool bOverwrite = true;
-    private bool bPreventLeave = true;
+    private IPNotation m_ipNotation = IPNotation.IPv4Decimal;
+    private IPNotation m_newIPNotation = IPNotation.IPv4Decimal;
+    private bool m_bOverwrite = true;
+    private bool m_bPreventLeave = true;
     private System.Windows.Forms.ErrorProvider error;
-    private Regex regexValidNumbers = new Regex("[0-9]");
-    private ArrayList arlDelimeter = new ArrayList(new char[] { '.' });
+    private Regex m_regexValidNumbers = new Regex("[0-9]");
+    private ArrayList m_arlDelimeter = new ArrayList(new char[] { '.' });
 
 
@@ -218,6 +218,6 @@
       set {
         try {
-          if (IPAddressTextBox.ValidateIP(value, this.newIPNotation, this.arlDelimeter))
-            base.Text = IPAddressTextBox.MakeValidSpaces(value, this.newIPNotation, this.arlDelimeter);
+          if (IPAddressTextBox.ValidateIP(value, this.m_newIPNotation, this.m_arlDelimeter))
+            base.Text = IPAddressTextBox.MakeValidSpaces(value, this.m_newIPNotation, this.m_arlDelimeter);
         }
         catch {
@@ -237,9 +237,9 @@
     public bool OverWriteMode {
       get {
-        return this.bOverwrite;
+        return this.m_bOverwrite;
       }
       set {
-        if (value != this.bOverwrite) {
-          this.bOverwrite = value;
+        if (value != this.m_bOverwrite) {
+          this.m_bOverwrite = value;
           this.OnOverWriteChanged(value);
         }
@@ -257,9 +257,9 @@
     public bool PreventLeaveAtError {
       get {
-        return this.bPreventLeave;
+        return this.m_bPreventLeave;
       }
       set {
-        if (value != this.bPreventLeave) {
-          this.bPreventLeave = value;
+        if (value != this.m_bPreventLeave) {
+          this.m_bPreventLeave = value;
           this.OnPreventLeaveChanged(value);
         }
@@ -277,13 +277,13 @@
     public IPNotation Notation {
       get {
-        return this.ipNotation;
+        return this.m_ipNotation;
       }
       set {
-        if (value != this.ipNotation) {
+        if (value != this.m_ipNotation) {
           try {
-            this.newIPNotation = value;
-            this.ChangeNotation(this.ipNotation, this.newIPNotation);
-            this.ipNotation = this.newIPNotation;
-            this.OnNotationChanged(this.newIPNotation);
+            this.m_newIPNotation = value;
+            this.ChangeNotation(this.m_ipNotation, this.m_newIPNotation);
+            this.m_ipNotation = this.m_newIPNotation;
+            this.OnNotationChanged(this.m_newIPNotation);
           }
           catch (Exception LastError) {
@@ -346,22 +346,22 @@
     private void ChangeNotation(IPNotation arg_oldValue, IPNotation arg_newValue) {
       string sTo = "";
-      ArrayList arlFrom = new ArrayList(this.Text.Replace(" ", "").Split((char[])this.arlDelimeter.ToArray(typeof(char))));
+      ArrayList arlFrom = new ArrayList(this.Text.Replace(" ", "").Split((char[])this.m_arlDelimeter.ToArray(typeof(char))));
 
       switch (arg_newValue) {
         case IPNotation.IPv4Decimal:
-          this.regexValidNumbers = new Regex("[0-9]");
-          this.arlDelimeter = new ArrayList(new char[] { '.' });
+          this.m_regexValidNumbers = new Regex("[0-9]");
+          this.m_arlDelimeter = new ArrayList(new char[] { '.' });
           break;
         case IPNotation.IPv4DecimalCIDR:
-          this.regexValidNumbers = new Regex("[0-9]");
-          this.arlDelimeter = new ArrayList(new char[] { '.', '/' });
+          this.m_regexValidNumbers = new Regex("[0-9]");
+          this.m_arlDelimeter = new ArrayList(new char[] { '.', '/' });
           break;
         case IPNotation.IPv4Binary:
-          this.regexValidNumbers = new Regex("[01]");
-          this.arlDelimeter = new ArrayList(new char[] { '.' });
+          this.m_regexValidNumbers = new Regex("[01]");
+          this.m_arlDelimeter = new ArrayList(new char[] { '.' });
           break;
         case IPNotation.IPv4BinaryCIDR:
-          this.regexValidNumbers = new Regex("[01]");
-          this.arlDelimeter = new ArrayList(new char[] { '.', '/' });
+          this.m_regexValidNumbers = new Regex("[01]");
+          this.m_arlDelimeter = new ArrayList(new char[] { '.', '/' });
           break;
         default:
@@ -502,5 +502,6 @@
           }
           break;
-
+        default:
+          break;
       }
 
@@ -544,5 +545,5 @@
         if ((char.IsLetterOrDigit(Convert.ToChar(e.KeyValue)) || e.KeyCode == Keys.NumPad0)//Numpad0=96 --> `
           && iPos < this.TextLength) {
-          if (this.arlDelimeter.Contains(cText[iPos]))
+          if (this.m_arlDelimeter.Contains(cText[iPos]))
             iPos += 1;
           this.SelectionStart = iPos;
@@ -573,5 +574,5 @@
       if ((char.IsLetterOrDigit(Convert.ToChar(e.KeyValue)) || e.KeyCode == Keys.NumPad0)//Numpad0=96 --> `
         && iPos < this.TextLength) {
-        if (this.arlDelimeter.Contains(cText[iPos]))
+        if (this.m_arlDelimeter.Contains(cText[iPos]))
           iPos += 1;
 
@@ -590,5 +591,5 @@
       //valid input charachters
       if (char.IsControl(e.KeyChar) ||
-        regexValidNumbers.IsMatch(e.KeyChar.ToString())) {
+        m_regexValidNumbers.IsMatch(e.KeyChar.ToString())) {
         e.Handled = false;
       } else {
@@ -637,5 +638,5 @@
     protected override void OnValidating(CancelEventArgs e) {
       //e.Cancel = true;//suppress cancel-signal = not validated
-      e.Cancel = (!this.ValidateIP() && this.bPreventLeave);
+      e.Cancel = (!this.ValidateIP() && this.m_bPreventLeave);
       base.OnValidating(e);
     }
@@ -729,10 +730,10 @@
     public string GetPureIPAddress() {
       string s = "";
-      ArrayList arlIP = new ArrayList(this.Text.Replace(" ", "").Split((char[])this.arlDelimeter.ToArray(typeof(char))));
+      ArrayList arlIP = new ArrayList(this.Text.Replace(" ", "").Split((char[])this.m_arlDelimeter.ToArray(typeof(char))));
       for (int i = 0; i < arlIP.Count; i++) {
         while (arlIP[i].ToString().StartsWith("0"))
           arlIP[i] = arlIP[i].ToString().Substring(1);
       }
-      s = IPAddressTextBox.MakeIP((string[])arlIP.ToArray(typeof(string)), this.ipNotation);
+      s = IPAddressTextBox.MakeIP((string[])arlIP.ToArray(typeof(string)), this.m_ipNotation);
       return s;
     }
@@ -923,5 +924,5 @@
     /// <returns>true/false valid/not</returns>
     private bool ValidateIP() {
-      if (IPAddressTextBox.ValidateIP(this.Text, this.newIPNotation, this.arlDelimeter))
+      if (IPAddressTextBox.ValidateIP(this.Text, this.m_newIPNotation, this.m_arlDelimeter))
         return true;
       else
