private void MirrorTimeSignForm(int seond, bool omitHourDisplay, TextBgColor colorOrder)
 {
     _timeSignForm.UpdateTimeText(seond, omitHourDisplay);
     if (colorOrder != null)
     {
         _timeSignForm.ChangeColor(colorOrder);
     }
 }
 public void ChangeColor(TextBgColor color)
 {
     if (color == null)
     {
         return;
     }
     BackColor = color.BackGround;
     timeTextType.ForeColor = color.Text;
     timeText.ForeColor     = color.Text;
 }
 private void ChangeColor(TextBgColor color)
 {
     if (color == null)
     {
         return;
     }
     signPanel.BackColor    = color.BackGround;
     timeTextType.ForeColor = color.Text;
     timeText.ForeColor     = color.Text;
 }
Exemple #4
0
 public AddChangeColorForm()
 {
     InitializeComponent();
     TextBgColor = new TextBgColor();
 }