public void LoadForm(HTMLRankings htmlRankings) { _htmlRankings = htmlRankings; if (_htmlRankings.IsTeams) { _sHtmlRankings = string.Format("{0}\n\n{1}\n\n{2}", _htmlRankings.PlayersRanking, _htmlRankings.TeamsRanking, _htmlRankings.PlayersChickenHandsRanking); } else { _sHtmlRankings = string.Format("{0}\n\n{1}", _htmlRankings.PlayersRanking, _htmlRankings.PlayersChickenHandsRanking); } _form.SetRankingHTMLText(_sHtmlRankings); CopyHtmlClicked(); }
public HTMLViewerForm(HTMLRankings htmlRankings) { InitializeComponent(); _presenter = Injector.provideHTMLViewerPresenter(this); _htmlRankings = htmlRankings; }
public void GoToHTMLViewer(HTMLRankings htmlRankings) { new HTMLViewerForm(htmlRankings).ShowDialog(); }