Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 private void WebpagesDirectoryChangeButton_Click(object sender, EventArgs e)
 {
     if (SelectWebpagesDirectoryDialog.ShowDialog() == DialogResult.OK)
     {
         WebpagesDirectory.Text = PairsGeneral.constructWebpagesDirectory(SelectWebpagesDirectoryDialog.SelectedPath, EventName.Text, EventDatePicker.Value);
     }
 }
Beispiel #3
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();
        }