Ejemplo n.º 1
0
 private void ChangeDatabaseButton_Click(object sender, EventArgs e)
 {
     if (DatabaseChangeDialog.ShowDialog() == DialogResult.OK)
     {
         CD_DatabaseFileName.Text = PairsGeneral.constructDatabaseFileName(DatabaseChangeDialog.SelectedPath, m_eventInformation.eventName, m_eventInformation.eventDate);
     }
 }
Ejemplo n.º 2
0
        private void LoadSummaryButton_Click(object sender, EventArgs e)
        {
            String summaryText = Utilities.compressText_(Summary.Text);

            m_eventInformation = PairsGeneral.getEventInformation_(summaryText);
            m_eventInformation.databaseFileName  = PairsGeneral.constructDatabaseFileName(Globals.m_rootDirectory, m_eventInformation.eventName, m_eventInformation.eventDate);
            m_eventInformation.webpagesDirectory = PairsGeneral.constructWebpagesDirectory(Globals.m_rootDirectory, m_eventInformation.eventName, m_eventInformation.eventDate);
            EventInformationDisplay eventInformationDisplayDialog = new EventInformationDisplay(m_eventInformation);

            eventInformationDisplayDialog.ShowDialog();
            m_eventInformation = eventInformationDisplayDialog.m_eventInformation;
            eventInformationDisplayDialog.Dispose();
            createDatabaseTab();
        }