private void GitIgnore_Contents_SelectedIndexChanged(object sender, EventArgs e) { if (!m_RemoveOtherSelectedListBox || GitIgnore_Contents.SelectedIndex == -1) { return; } m_RemoveOtherSelectedListBox = false; Info_IgnoreList.ClearSelected(); TreeViewFolders.SelectedNode = null; m_RemoveOtherSelectedListBox = true; if (m_Base == null) { return; } }
private void TreeViewFolders_AfterSelect(object sender, TreeViewEventArgs e) { if (m_Base == null) { return; } m_RemoveOtherSelectedListBox = false; GitIgnore_Contents.ClearSelected(); Info_IgnoreList.ClearSelected(); m_RemoveOtherSelectedListBox = true; m_Selected = getFfhFromNode(e.Node); remakeIgnoreContents(); }