chernyshyov.2000 4 years ago
parent
commit
c22d13eaa3
1 changed files with 3 additions and 5 deletions
  1. 3 5
      testkonkurs1/Form3.cs

+ 3 - 5
testkonkurs1/Form3.cs

@@ -44,12 +44,10 @@ namespace testkonkurs1
                     DateTime date_2_end = date_2_start.AddDays(Convert.ToInt16(Reader["kol_days"]));
                     // bool intersect = !(date_2_end < date_1start || date_2_start > date_1end);
                     bool intersect = date_2_end >= date_1start && date_2_start <= date_1end;
-                    if (!intersect) { 
+                    if (!intersect) {
 
-
-                    listBox1.Items.Add(Reader["nomer_cvitancii"] + " " + Reader["nomer_mesta"]);
-
-                    }                       s
+           
+                    }
                     }