Beispiel #1
0
        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();
        }
Beispiel #2
0
        private void Info_IgnoreList_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (!m_RemoveOtherSelectedListBox || Info_IgnoreList.SelectedIndex == -1)
            {
                return;
            }
            m_RemoveOtherSelectedListBox = false;

            GitIgnore_Contents.ClearSelected();
            TreeViewFolders.SelectedNode = null;

            m_RemoveOtherSelectedListBox = true;

            if (m_Base == null || m_Selected == null)
            {
                return;
            }

            m_RemoveOtherSelectedListBox = false;

            GitIgnore_Contents.SelectedIndex = m_Selected.m_Effects[Info_IgnoreList.SelectedIndex].m_LineIndex;

            m_RemoveOtherSelectedListBox = true;
        }