Example #1
0
 /// <summary>
 /// Add the theme in the list
 /// </summary>
 /// <param name="pTheme">Theme</param>
 public void Add(Theme pTheme)
 {
     this.List.Add(pTheme);
     pTheme.SetThemeEvent += new SetThemeDelegate(pTheme_SetThemeEvent);
     pTheme.SetBreakCountEvent += new SetBreakCountDelegate(pTheme_SetBreakCount);
     pTheme.SetHighIsGoodEvent += new SetHighIsGoodDelegate(pTheme_SetHighIsGoodEvent);
 }
Example #2
0
 /// <summary>
 /// Constructor to intialize the legend.
 /// </summary>
 /// <param name="theme"></param>
 public Legends(Theme theme)
 {
     this.Theme = theme;
 }