<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Visual_C%2B%2B_.NET%2FReflection%2FReflection_Util</id>
		<title>Visual C++ .NET/Reflection/Reflection Util - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Visual_C%2B%2B_.NET%2FReflection%2FReflection_Util"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Reflection/Reflection_Util&amp;action=history"/>
		<updated>2026-04-30T02:52:23Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Reflection/Reflection_Util&amp;diff=3674&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Reflection/Reflection_Util&amp;diff=3674&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Reflection/Reflection_Util&amp;diff=3675&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Reflection/Reflection_Util&amp;diff=3675&amp;oldid=prev"/>
				<updated>2010-05-26T12:05:51Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Reflecting==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
  using namespace System;&lt;br /&gt;
  using namespace System::ComponentModel;&lt;br /&gt;
  using namespace System::Collections;&lt;br /&gt;
  using namespace System::Windows::Forms;&lt;br /&gt;
  using namespace System::Data;&lt;br /&gt;
  using namespace System::Drawing;&lt;br /&gt;
  using namespace System::Reflection;&lt;br /&gt;
  public ref class Form1 : public System::Windows::Forms::Form&lt;br /&gt;
  {&lt;br /&gt;
  public:&lt;br /&gt;
    Form1(void)&lt;br /&gt;
    {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
    }&lt;br /&gt;
    System::Windows::Forms::Label^  label3;&lt;br /&gt;
    System::Windows::Forms::Label^  label4;&lt;br /&gt;
    System::Windows::Forms::Label^  label5;&lt;br /&gt;
    System::Windows::Forms::ListBox^  lbMethods;&lt;br /&gt;
    System::Windows::Forms::ListBox^  lbProperties;&lt;br /&gt;
    System::Windows::Forms::ListBox^  lbVariables;&lt;br /&gt;
    System::Windows::Forms::GroupBox^  groupBox1;&lt;br /&gt;
    System::Windows::Forms::ComboBox^  cbDataTypes;&lt;br /&gt;
    System::Windows::Forms::ComboBox^  cbAssemblies;&lt;br /&gt;
    System::Windows::Forms::Label^  label2;&lt;br /&gt;
    System::Windows::Forms::Label^  label1;&lt;br /&gt;
    array&amp;lt;Type^&amp;gt;^ types;&lt;br /&gt;
    static array&amp;lt;String^&amp;gt;^ assemblies =&lt;br /&gt;
             {&lt;br /&gt;
                 &amp;quot;System&amp;quot;,&lt;br /&gt;
                 &amp;quot;System.Drawing&amp;quot;,&lt;br /&gt;
                 &amp;quot;System.Xml&amp;quot;,&lt;br /&gt;
                 &amp;quot;System.Windows.Forms&amp;quot;,&lt;br /&gt;
                 &amp;quot;System.Data&amp;quot;,&lt;br /&gt;
                 &amp;quot;mscorlib&amp;quot;&lt;br /&gt;
             };&lt;br /&gt;
    System::ComponentModel::Container ^components;&lt;br /&gt;
    void InitializeComponent(void)&lt;br /&gt;
    {&lt;br /&gt;
      this-&amp;gt;label3 = (gcnew System::Windows::Forms::Label());&lt;br /&gt;
      this-&amp;gt;label4 = (gcnew System::Windows::Forms::Label());&lt;br /&gt;
      this-&amp;gt;label5 = (gcnew System::Windows::Forms::Label());&lt;br /&gt;
      this-&amp;gt;lbMethods = (gcnew System::Windows::Forms::ListBox());&lt;br /&gt;
      this-&amp;gt;lbProperties = (gcnew System::Windows::Forms::ListBox());&lt;br /&gt;
      this-&amp;gt;lbVariables = (gcnew System::Windows::Forms::ListBox());&lt;br /&gt;
      this-&amp;gt;groupBox1 = (gcnew System::Windows::Forms::GroupBox());&lt;br /&gt;
      this-&amp;gt;cbDataTypes = (gcnew System::Windows::Forms::ComboBox());&lt;br /&gt;
      this-&amp;gt;cbAssemblies = (gcnew System::Windows::Forms::ComboBox());&lt;br /&gt;
      this-&amp;gt;label2 = (gcnew System::Windows::Forms::Label());&lt;br /&gt;
      this-&amp;gt;label1 = (gcnew System::Windows::Forms::Label());&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;SuspendLayout();&lt;br /&gt;
      this-&amp;gt;SuspendLayout();&lt;br /&gt;
      // &lt;br /&gt;
      // label3&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;label3-&amp;gt;AutoSize = true;&lt;br /&gt;
      this-&amp;gt;label3-&amp;gt;Location = System::Drawing::Point(15, 94);&lt;br /&gt;
      this-&amp;gt;label3-&amp;gt;Name = L&amp;quot;label3&amp;quot;;&lt;br /&gt;
      this-&amp;gt;label3-&amp;gt;Size = System::Drawing::Size(51, 13);&lt;br /&gt;
      this-&amp;gt;label3-&amp;gt;TabIndex = 11;&lt;br /&gt;
      this-&amp;gt;label3-&amp;gt;Text = L&amp;quot;Methods:&amp;quot;;&lt;br /&gt;
      // &lt;br /&gt;
      // label4&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;label4-&amp;gt;AutoSize = true;&lt;br /&gt;
      this-&amp;gt;label4-&amp;gt;Location = System::Drawing::Point(320, 94);&lt;br /&gt;
      this-&amp;gt;label4-&amp;gt;Name = L&amp;quot;label4&amp;quot;;&lt;br /&gt;
      this-&amp;gt;label4-&amp;gt;Size = System::Drawing::Size(57, 13);&lt;br /&gt;
      this-&amp;gt;label4-&amp;gt;TabIndex = 12;&lt;br /&gt;
      this-&amp;gt;label4-&amp;gt;Text = L&amp;quot;Properties:&amp;quot;;&lt;br /&gt;
      // &lt;br /&gt;
      // label5&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;label5-&amp;gt;AutoSize = true;&lt;br /&gt;
      this-&amp;gt;label5-&amp;gt;Location = System::Drawing::Point(585, 94);&lt;br /&gt;
      this-&amp;gt;label5-&amp;gt;Name = L&amp;quot;label5&amp;quot;;&lt;br /&gt;
      this-&amp;gt;label5-&amp;gt;Size = System::Drawing::Size(53, 13);&lt;br /&gt;
      this-&amp;gt;label5-&amp;gt;TabIndex = 13;&lt;br /&gt;
      this-&amp;gt;label5-&amp;gt;Text = L&amp;quot;Variables:&amp;quot;;&lt;br /&gt;
      // &lt;br /&gt;
      // lbMethods&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;lbMethods-&amp;gt;FormattingEnabled = true;&lt;br /&gt;
      this-&amp;gt;lbMethods-&amp;gt;Location = System::Drawing::Point(15, 114);&lt;br /&gt;
      this-&amp;gt;lbMethods-&amp;gt;Name = L&amp;quot;lbMethods&amp;quot;;&lt;br /&gt;
      this-&amp;gt;lbMethods-&amp;gt;Size = System::Drawing::Size(293, 251);&lt;br /&gt;
      this-&amp;gt;lbMethods-&amp;gt;TabIndex = 14;&lt;br /&gt;
      // &lt;br /&gt;
      // lbProperties&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;lbProperties-&amp;gt;FormattingEnabled = true;&lt;br /&gt;
      this-&amp;gt;lbProperties-&amp;gt;Location = System::Drawing::Point(320, 114);&lt;br /&gt;
      this-&amp;gt;lbProperties-&amp;gt;Name = L&amp;quot;lbProperties&amp;quot;;&lt;br /&gt;
      this-&amp;gt;lbProperties-&amp;gt;Size = System::Drawing::Size(250, 251);&lt;br /&gt;
      this-&amp;gt;lbProperties-&amp;gt;TabIndex = 15;&lt;br /&gt;
      // &lt;br /&gt;
      // lbVariables&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;lbVariables-&amp;gt;FormattingEnabled = true;&lt;br /&gt;
      this-&amp;gt;lbVariables-&amp;gt;Location = System::Drawing::Point(585, 114);&lt;br /&gt;
      this-&amp;gt;lbVariables-&amp;gt;Name = L&amp;quot;lbVariables&amp;quot;;&lt;br /&gt;
      this-&amp;gt;lbVariables-&amp;gt;Size = System::Drawing::Size(202, 251);&lt;br /&gt;
      this-&amp;gt;lbVariables-&amp;gt;TabIndex = 16;&lt;br /&gt;
      // &lt;br /&gt;
      // groupBox1&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;cbDataTypes);&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;cbAssemblies);&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;label2);&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;label1);&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;Location = System::Drawing::Point(14, 12);&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;Name = L&amp;quot;groupBox1&amp;quot;;&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;Size = System::Drawing::Size(443, 72);&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;TabIndex = 10;&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;TabStop = false;&lt;br /&gt;
      // &lt;br /&gt;
      // cbDataTypes&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;cbDataTypes-&amp;gt;FormattingEnabled = true;&lt;br /&gt;
      this-&amp;gt;cbDataTypes-&amp;gt;Location = System::Drawing::Point(120, 41);&lt;br /&gt;
      this-&amp;gt;cbDataTypes-&amp;gt;Name = L&amp;quot;cbDataTypes&amp;quot;;&lt;br /&gt;
      this-&amp;gt;cbDataTypes-&amp;gt;Size = System::Drawing::Size(287, 21);&lt;br /&gt;
      this-&amp;gt;cbDataTypes-&amp;gt;TabIndex = 3;&lt;br /&gt;
      this-&amp;gt;cbDataTypes-&amp;gt;SelectedIndexChanged += gcnew System::EventHandler(this, &amp;amp;Form1::cbDataTypes_SelectedIndexChanged);&lt;br /&gt;
      // &lt;br /&gt;
      // cbAssemblies&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;cbAssemblies-&amp;gt;FormattingEnabled = true;&lt;br /&gt;
      this-&amp;gt;cbAssemblies-&amp;gt;Location = System::Drawing::Point(120, 16);&lt;br /&gt;
      this-&amp;gt;cbAssemblies-&amp;gt;Name = L&amp;quot;cbAssemblies&amp;quot;;&lt;br /&gt;
      this-&amp;gt;cbAssemblies-&amp;gt;Size = System::Drawing::Size(287, 21);&lt;br /&gt;
      this-&amp;gt;cbAssemblies-&amp;gt;TabIndex = 2;&lt;br /&gt;
      this-&amp;gt;cbAssemblies-&amp;gt;SelectedIndexChanged += gcnew System::EventHandler(this, &amp;amp;Form1::cbAssemblies_SelectedIndexChanged);&lt;br /&gt;
      // &lt;br /&gt;
      // label2&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;label2-&amp;gt;AutoSize = true;&lt;br /&gt;
      this-&amp;gt;label2-&amp;gt;Location = System::Drawing::Point(24, 44);&lt;br /&gt;
      this-&amp;gt;label2-&amp;gt;Name = L&amp;quot;label2&amp;quot;;&lt;br /&gt;
      this-&amp;gt;label2-&amp;gt;Size = System::Drawing::Size(87, 13);&lt;br /&gt;
      this-&amp;gt;label2-&amp;gt;TabIndex = 1;&lt;br /&gt;
      this-&amp;gt;label2-&amp;gt;Text = L&amp;quot;Select data type:&amp;quot;;&lt;br /&gt;
      // &lt;br /&gt;
      // label1&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;label1-&amp;gt;AutoSize = true;&lt;br /&gt;
      this-&amp;gt;label1-&amp;gt;Location = System::Drawing::Point(24, 19);&lt;br /&gt;
      this-&amp;gt;label1-&amp;gt;Name = L&amp;quot;label1&amp;quot;;&lt;br /&gt;
      this-&amp;gt;label1-&amp;gt;Size = System::Drawing::Size(86, 13);&lt;br /&gt;
      this-&amp;gt;label1-&amp;gt;TabIndex = 0;&lt;br /&gt;
      this-&amp;gt;label1-&amp;gt;Text = L&amp;quot;Select assembly:&amp;quot;;&lt;br /&gt;
      // &lt;br /&gt;
      // Form1&lt;br /&gt;
      // &lt;br /&gt;
      this-&amp;gt;AutoScaleDimensions = System::Drawing::SizeF(6, 13);&lt;br /&gt;
      this-&amp;gt;AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;&lt;br /&gt;
      this-&amp;gt;ClientSize = System::Drawing::Size(801, 377);&lt;br /&gt;
      this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;label3);&lt;br /&gt;
      this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;label4);&lt;br /&gt;
      this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;label5);&lt;br /&gt;
      this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;lbMethods);&lt;br /&gt;
      this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;lbProperties);&lt;br /&gt;
      this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;lbVariables);&lt;br /&gt;
      this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;groupBox1);&lt;br /&gt;
      this-&amp;gt;Name = L&amp;quot;Form1&amp;quot;;&lt;br /&gt;
      this-&amp;gt;Text = L&amp;quot;Assembly Viewer&amp;quot;;&lt;br /&gt;
      this-&amp;gt;Load += gcnew System::EventHandler(this, &amp;amp;Form1::Form1_Load);&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;ResumeLayout(false);&lt;br /&gt;
      this-&amp;gt;groupBox1-&amp;gt;PerformLayout();&lt;br /&gt;
      this-&amp;gt;ResumeLayout(false);&lt;br /&gt;
      this-&amp;gt;PerformLayout();&lt;br /&gt;
    }&lt;br /&gt;
        System::Void Form1_Load(System::Object^ sender, System::EventArgs^  e)&lt;br /&gt;
        {&lt;br /&gt;
            for each (String ^assembly  in assemblies)&lt;br /&gt;
            {&lt;br /&gt;
                cbAssemblies-&amp;gt;Items-&amp;gt;Add(assembly);&lt;br /&gt;
            }&lt;br /&gt;
            cbAssemblies-&amp;gt;SelectedIndex = 0;&lt;br /&gt;
        }&lt;br /&gt;
        System::Void cbAssemblies_SelectedIndexChanged(System::Object^ sender,&lt;br /&gt;
                                                       System::EventArgs^  e)&lt;br /&gt;
        {&lt;br /&gt;
            Assembly^ assembly = Assembly::LoadWithPartialName(&lt;br /&gt;
                                 assemblies[cbAssemblies-&amp;gt;SelectedIndex]);&lt;br /&gt;
            types = assembly-&amp;gt;GetTypes();&lt;br /&gt;
            cbDataTypes-&amp;gt;Items-&amp;gt;Clear();&lt;br /&gt;
            for (int i = 0; i &amp;lt; types-&amp;gt;Length; i++)&lt;br /&gt;
            {&lt;br /&gt;
                cbDataTypes-&amp;gt;Items-&amp;gt;Add(types[i]-&amp;gt;ToString());&lt;br /&gt;
            }&lt;br /&gt;
            cbDataTypes-&amp;gt;SelectedIndex = 0;&lt;br /&gt;
        }&lt;br /&gt;
        System::Void cbDataTypes_SelectedIndexChanged(System::Object^ sender,&lt;br /&gt;
                                                      System::EventArgs^  e)&lt;br /&gt;
        {&lt;br /&gt;
            Type ^type = types[cbDataTypes-&amp;gt;SelectedIndex];&lt;br /&gt;
            array &amp;lt;MemberInfo^&amp;gt;^ methods = type-&amp;gt;GetMethods();&lt;br /&gt;
            lbMethods-&amp;gt;Items-&amp;gt;Clear();&lt;br /&gt;
            for (int i = 0; i &amp;lt; methods-&amp;gt;Length; i++)&lt;br /&gt;
            {&lt;br /&gt;
                lbMethods-&amp;gt;Items-&amp;gt;Add(methods[i]-&amp;gt;ToString());&lt;br /&gt;
            }&lt;br /&gt;
            array &amp;lt;PropertyInfo^&amp;gt;^ properties = type-&amp;gt;GetProperties();&lt;br /&gt;
            lbProperties-&amp;gt;Items-&amp;gt;Clear();&lt;br /&gt;
            for (int i = 0; i &amp;lt; properties-&amp;gt;Length; i++)&lt;br /&gt;
            {&lt;br /&gt;
                lbProperties-&amp;gt;Items-&amp;gt;Add(properties[i]-&amp;gt;ToString());&lt;br /&gt;
            }&lt;br /&gt;
            array &amp;lt;MemberInfo^&amp;gt;^ variables = type-&amp;gt;GetFields();&lt;br /&gt;
            lbVariables-&amp;gt;Items-&amp;gt;Clear();&lt;br /&gt;
            for (int i = 0; i &amp;lt; variables-&amp;gt;Length; i++)&lt;br /&gt;
            {&lt;br /&gt;
                lbVariables-&amp;gt;Items-&amp;gt;Add(variables[i]-&amp;gt;ToString());&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    };&lt;br /&gt;
[STAThreadAttribute]&lt;br /&gt;
int main(array&amp;lt;System::String ^&amp;gt; ^args)&lt;br /&gt;
{&lt;br /&gt;
  Application::Run(gcnew Form1());&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>