Exemplo n.º 1
0
 private void ValidatePadding(TextBox source)
 {
     try
     {
         var tmp = (Padding)paddConv.ConvertFromString(source.Text);
         source.BackColor = Color.White;
     } catch (Exception) { source.BackColor = Color.Red; }
 }