private void CW_ChangeButton_Click(object sender, EventArgs e) { if (DatabaseChangeDialog.ShowDialog() == DialogResult.OK) { CW_RootFolder.Text = PairsGeneral.constructWebpagesDirectory(DatabaseChangeDialog.SelectedPath, m_eventInformation.eventName, m_eventInformation.eventDate); } }
private void WebpagesDirectoryChangeButton_Click(object sender, EventArgs e) { if (SelectWebpagesDirectoryDialog.ShowDialog() == DialogResult.OK) { WebpagesDirectory.Text = PairsGeneral.constructWebpagesDirectory(SelectWebpagesDirectoryDialog.SelectedPath, EventName.Text, EventDatePicker.Value); } }
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(); }