void ExecuteRangeOrValidatecommand()
 {
     if (PrintRange)
     {
         string answer = CidrHelper.GetAddresssRagngeFormCidrNotation(RangeOrValidTxt.Trim());
         if (answer != "BAD RANGE!")
         {
             var originAddress = RangeOrValidTxt.Split('/');
             FirstResultText = "Range: " + originAddress[0].Trim() + " - " + answer;
         }
         else
         {
             FirstResultText = answer;
         }
     }
     else
     {
         FirstResultText = "Validity: " + RangeOrValidTxt.Trim() + " = " + ((CidrHelper.ValidateGivenCidrAddressNotation(RangeOrValidTxt.Trim())) ? "Good" : "Bad");
     }
 }
 void ExecuteCheckOverlapCommand()
 {
     try
     {
         OverlapResult = OverlapFirst.Trim() + " And " + OverlapSecond.Trim() + " = " + ((CidrHelper.CheckCidrIpAddressOverlap(OverlapFirst.Trim(), OverlapSecond.Trim())) ? "Overlaping" : "Not overlaping");
     }catch (Exception)
     {
         OverlapResult = "One or more of the address is an invalid CIDR address";
     }
 }