Esempio n. 1
0
        private void SelectBasePath_Click(object sender, EventArgs e)
        {
            if (BrowsePath.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            Settings.Default.TempEventBasePath = BrowsePath.SelectedPath.ToString();
        }
Esempio n. 2
0
        private void SelectBackupBasePathButton_Click(object sender, EventArgs e)
        {
            if (BrowsePath.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            Settings.Default.TempBackupBasePath = BrowsePath.SelectedPath;
        }
Esempio n. 3
0
        private void button4_Click(object sender, EventArgs e)
        {
            if (BrowsePath.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            Settings.Default.ExistingEventPath = BrowsePath.SelectedPath;
        }
Esempio n. 4
0
        private void SelectNewEventPath_Click(object sender, EventArgs e)
        {
            if (BrowsePath.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            Settings.Default.Eventpath     = BrowsePath.SelectedPath;
            Settings.Default.FullEventPath = Path.Combine(Settings.Default.Eventpath, Settings.Default.DateSetTemplate.Replace("{Eventname}", EventNameBox.Text));
            if (Settings.Default.SetBackupPath)
            {
                Settings.Default.BackupPath = Path.Combine(Settings.Default.BackupBasePath, Settings.Default.DateSetTemplate.Replace("{Eventname}", EventNameBox.Text));
                return;
            }
            Settings.Default.BackupPath = Settings.Default.FullEventPath;
        }
Esempio n. 5
0
 private void button1_Click(object sender, EventArgs e)
 {
     BrowsePath.ShowDialog();
 }