private void NotesBT_Click(object sender, EventArgs e) { if (ReposLV.SelectedItems.Count > 0) { if (ManagerData.Selected_Repo_Copy != null) { NoteEditorFRM EditNotes = new NoteEditorFRM(); EditNotes.ShowDialog(); ReposLV.Select(); } } }
private void SaveRepoChangesBT_Click(object sender, EventArgs e) { if (ManagerData.Selected_Repo != null && ManagerData.Selected_Repo_Copy != null) { if (ManagerData.Selected_Repo.Current_Status != ManagerData.Selected_Repo_Copy.Current_Status) { ManagerData.Selected_Repo.Current_Status = ManagerData.Selected_Repo_Copy.Current_Status; Configuration.Helpers.Serialize_Condensed_All(Properties.Settings.Default.ConfigPath); } } ReposLV.Select(); }