Can I see source code of built-in controls? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
开发者_高级运维 Improve this questionhow do i view source code of text box that developed by microsoft in visual studio 2008 while i am programming with c# language in visual studio 2008?
.NET Reflector
If the text box is part of the .net framwork you can see its source by following theses steps Link
Reflector is good. But did you also try using the Microsoft Symbol server?
Link
http://msdn.microsoft.com/en-us/library/b8ttk8zy(VS.71).aspx
http://msdn.microsoft.com/en-us/library/b8ttk8zy.aspx
http://weblogs.asp.net/rajbk/archive/2010/04/21/setting-up-visual-studio-2010-to-step-into-microsoft-net-source-code.aspx
Unfortunately the .NET Framework is not Open-Source and you cannot browse the source code.
You can use Reflector to look into the Microsoft Assembly, but you won'ìt have direct access to the raw code.
In Visual Studio 2010, under Tools -> Options -> Debugging, if you enable "Enable .NET Framework Source Stepping" you will be able to do that.
VS will download symbols from the MS symbols server.
精彩评论