Esempio n. 1
0
        public DirDiffControl()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            m_ActiveTree = TreeA;

            TreeA.ImageList = Images;
            TreeB.ImageList = Images;

            UpdateButtons();
            UpdateColors();

            m_OptionsChangedHandler = new EventHandler(DiffOptionsChanged);
            DiffOptions.OptionsChanged += m_OptionsChangedHandler;
        }
Esempio n. 2
0
 private void TreeView_Enter(object sender, System.EventArgs e)
 {
     m_ActiveTree = (DirDiffTreeView)sender;
     UpdateButtons();
 }