Exemple #1
0
 private void UpdateMarkerPicture()
 {
     if (Marker_CheckSyntax())
     {
         MarkerPicture.Image = IdeX.MainResource.i_blue_smooth_64;
         RedTT.SetToolTip(MarkerPicture, null);
         BlueTT.SetToolTip(MarkerPicture, "Input is OK.");
     }
     else
     {
         MarkerPicture.Image = IdeX.MainResource.i_red_smooth_64;
         RedTT.SetToolTip(MarkerPicture
                          , "Input needs 2-8 alphanumeric chars.");
         BlueTT.SetToolTip(MarkerPicture, null);
     }
 }
Exemple #2
0
 private void UpdateServerIdPicture()
 {
     if (ServerId_CheckSyntax())
     {
         ServerIdPicture.Image = IdeX.MainResource.i_blue_smooth_64;
         RedTT.SetToolTip(ServerIdPicture, null);
         BlueTT.SetToolTip(ServerIdPicture, "Input is OK.");
     }
     else
     {
         ServerIdPicture.Image = IdeX.MainResource.i_red_smooth_64;
         RedTT.SetToolTip(ServerIdPicture
                          , "Input needs 2-20 alphanumeric chars.");
         BlueTT.SetToolTip(ServerIdPicture, null);
     }
 }