How to get the selected items on Source Control History window when creating a Visual Studio Extension?

前端 未结 1 344
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-14 07:36

I develop a Visual Studio extension. I attached a button to the Source Control History Window\'s Context Menu (the menu with \'changeset details\', \'co

相关标签:
1条回答
  • 2021-01-14 08:11

    Maybe this will be helpful for your needs: Tool Window

    I dont know your other code parts, but I guess you initiate a window application, where you want to render the history list. This window application needs:

    private FirstToolWindow window;
    private void ShowToolWindow(object sender, EventArgs e)  
    { 
         window = (FirstToolWindow) this.package.FindToolWindow(typeof(FirstToolWindow), 0, true); 
    ...
    
    0 讨论(0)
提交回复
热议问题