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); } }
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(); }