Esempio n. 1
0
 void ScoreFont_OnSetButtonClicked(object sender, TextElementEventArgs e)
 {
     _scoreboardData.ScoreboardBoxFont.Bold     = e.Bold;
     _scoreboardData.ScoreboardBoxFont.Color    = e.Color;
     _scoreboardData.ScoreboardBoxFont.FontName = e.FontName;
     _scoreboardData.ScoreboardBoxFont.FontSize = e.FontSize;
     _scoreboardData.ScoreboardBoxFont.Italic   = e.Italic;
 }
Esempio n. 2
0
 void TeamOneName_OnSetButtonClicked(object sender, TextElementEventArgs e)
 {
     _scoreboardData.TeamTwoName.Bold     = e.Bold;
     _scoreboardData.TeamTwoName.Color    = e.Color;
     _scoreboardData.TeamTwoName.FontName = e.FontName;
     _scoreboardData.TeamTwoName.FontSize = e.FontSize;
     _scoreboardData.TeamTwoName.Italic   = e.Italic;
     _scoreboardData.TeamTwoName.Text     = e.Text;
 }