private void SelectBasePath_Click(object sender, EventArgs e) { if (BrowsePath.ShowDialog() != DialogResult.OK) { return; } Settings.Default.TempEventBasePath = BrowsePath.SelectedPath.ToString(); }
private void SelectBackupBasePathButton_Click(object sender, EventArgs e) { if (BrowsePath.ShowDialog() != DialogResult.OK) { return; } Settings.Default.TempBackupBasePath = BrowsePath.SelectedPath; }
private void button4_Click(object sender, EventArgs e) { if (BrowsePath.ShowDialog() != DialogResult.OK) { return; } Settings.Default.ExistingEventPath = BrowsePath.SelectedPath; }
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; }
private void button1_Click(object sender, EventArgs e) { BrowsePath.ShowDialog(); }