Exemplo n.º 1
0
        private void regenerateWebpageButton_Click(object sender, EventArgs e)
        {
            double oldFontSize = Utilities.fontSize;

            Utilities.fontSize = m_resultsPublishParameters.FontSize;
            KnockoutTeamsDatabaseToWebpages ktdw = new KnockoutTeamsDatabaseToWebpages(m_eventName, m_databaseFileName, Constants.getEventWebpagesFolder(m_eventName));

            ktdw.createWebpages_();
            Utilities.fontSize = oldFontSize;
            showUrl();
        }
Exemplo n.º 2
0
        private void saveScoresButton_Click(object sender, EventArgs e)
        {
            int roundNumber = knockoutRoundsCombobox.SelectedIndex + 1;

            AccessDatabaseUtilities.saveTableToDatabase(m_databaseFileName, Constants.TableName.KnockoutScores + "_" + roundNumber);
            Utilities.showBalloonNotification("Saved " + Constants.KnockoutScoresFileName + " to database successfully", "Save Done");
            KnockoutTeamsDatabaseToWebpages ktdw = new KnockoutTeamsDatabaseToWebpages(m_eventName, m_databaseFileName, Constants.getEventWebpagesFolder(m_eventName));

            ktdw.createWebpages_();
            showUrl();
        }