unexpected problem in windows form - C#