Click here to Skip to main content
Licence CPOL
First Posted 27 Jan 2008
Views 8,013
Downloads 126
Bookmarked 6 times

Addin to create the Dependent Upon Add-in

By | 27 Jan 2008 | Article
Addin to create the Dependent Upon Add-in

Introduction

When you use Visual Studio .Net, sometimes you want to separate the class to many files, and put those to a group like the way I do with InputForm. The class InputForm is separated to 3 files: Heheh.cs, InputForm.Designer.cs and InputForm.resx. However the Visual Studio .Net doesn't support any function or macro to do this

You can do this by open the project file by notepad and group those files by the tag <DependentUpon>. However it isn't convenient, isn't it

This link http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=66418&SiteID=1 give a solution for this case but there isn't any completed solution

Background

I think you like this article even though you are the C# beginer.

Using the code

You can download the source code and rebuild it, then use Add-in Manager of Visual Studio .Net to attach this add-in to a tool bar button.

If you can't use this source, you can create a new C# add-in project, then copy the file InputForm.Designer.cs and InputForm.resx to your project, then copy 2 function: Exec,AddFileToProject in file Connect.cs to your Connect.cs file. Finally, please rebuild the project, use Add-in Manager to enjoy it


Points of Interest

Did you learn anything interesting/fun/annoying while writing the code? Did you do anything particularly clever or wild or zany?

History

Jan 2008, version 1.0

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

haughtycool

Software Developer (Senior)

Vietnam Vietnam

Member

MCPD Enterprise Application Developer

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionNot working in VS 2010 Sp1 PinmemberDistagon7:00 13 Apr '12  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 27 Jan 2008
Article Copyright 2008 by haughtycool
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid