private void EditSelectedBackupNote() { var row = SelectedBackup; if (row == null) { return; } var dlg = new frmEditNote { BackupName = row.Name, BackupNote = row.Note }; if (dlg.ShowDialog() == DialogResult.OK) { row.Name = dlg.BackupName; row.Note = dlg.BackupNote; UcBackupViewController.SaveBackupSettings(); } }
private void EditSelectedBackupNote() { var row = SelectedBackup; if (row == null) return; var dlg = new frmEditNote { BackupName = row.Name, BackupNote = row.Note }; if (dlg.ShowDialog() == DialogResult.OK) { row.Name = dlg.BackupName; row.Note = dlg.BackupNote; UcBackupViewController.SaveBackupSettings(); } }