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; }
private void TreeView_Enter(object sender, System.EventArgs e) { m_ActiveTree = (DirDiffTreeView)sender; UpdateButtons(); }