c# - Get selected files in Check In and Pending Changes window? -
my team not have option upgrade vs 2010, , cannot use gatedcheckin feature. developing visual studio plugin fill in gap. instead of coming replica of check in , pending changes window, i'd know if possible "hack" visual studio's. indeed, built-in window allows many things, including checking in subset of files pending changes via tree view/list view checkboxes. approach minimize learning curve of users of plugin, since can continue using familiar interface while our plugin work in background.
how 1 go catching events sent inner elements of visual studio's tool windows? quite easy intercept check in button click (or right-click->check in... event on source explorer), have found no answer this. dialog accessible via
_applicationobject.windows.item("{2456bd12-ecf7-4988-a4a6-67d49173f564}")
but not uihierarchy, there no supported way obtain treeview of files pending changes.
buddybuild, while sharing same purpose, has own gui , doesn't quite offer want.
thank much!
there interface pending changes.
(there's event fired whenever list changes, don't think necessary hook that.)
if "before check-in" event happening on click of check-in button, need query conflicts , make resolved, before auto-creating shelvesets , queuing automated builds.
-samer :)
Comments
Post a Comment