public void Run(System.Drawing.Rectangle rectButton) { HighScoreViewer t; #if ST_2_1 t = new HighScoreViewer(true); #else if (m_reportView != null) { t = new HighScoreViewer(m_reportView); } else { t = new HighScoreViewer(m_dailyView); } #endif t.Activities = activities; }
public System.Windows.Forms.Control CreatePageControl() { if (m_control == null) { #if !ST_2_1 m_control = new HighScoreViewer(this, m_view); #else control = new HighScoreViewer(); #endif } m_control.Activities = m_activities; return m_control; }
internal void setViewer(HighScoreViewer hsViewer) { this.hsViewer = hsViewer; }