<?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%2FGUI_Form%2FListBox</id>
		<title>Visual C++ .NET/GUI Form/ListBox - История изменений</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%2FGUI_Form%2FListBox"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/GUI_Form/ListBox&amp;action=history"/>
		<updated>2026-04-29T16:43:20Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/GUI_Form/ListBox&amp;diff=3796&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/GUI_Form/ListBox&amp;diff=3796&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/GUI_Form/ListBox&amp;diff=3797&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/GUI_Form/ListBox&amp;diff=3797&amp;oldid=prev"/>
				<updated>2010-05-26T12:06:07Z</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;==List Transfers==&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;
  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::ListBox^  LBDest;&lt;br /&gt;
        System::Windows::Forms::Button^  bnR2L;&lt;br /&gt;
        System::Windows::Forms::Button^  bnL2R;&lt;br /&gt;
        System::Windows::Forms::ListBox^  LBOrg;&lt;br /&gt;
        System::Windows::Forms::Label^  label2;&lt;br /&gt;
        System::Windows::Forms::Label^  label1;&lt;br /&gt;
    void InitializeComponent(void)&lt;br /&gt;
    {&lt;br /&gt;
            this-&amp;gt;LBDest = (gcnew System::Windows::Forms::ListBox());&lt;br /&gt;
            this-&amp;gt;bnR2L = (gcnew System::Windows::Forms::Button());&lt;br /&gt;
            this-&amp;gt;bnL2R = (gcnew System::Windows::Forms::Button());&lt;br /&gt;
            this-&amp;gt;LBOrg = (gcnew System::Windows::Forms::ListBox());&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;SuspendLayout();&lt;br /&gt;
            // &lt;br /&gt;
            // LBDest&lt;br /&gt;
            // &lt;br /&gt;
            this-&amp;gt;LBDest-&amp;gt;FormattingEnabled = true;&lt;br /&gt;
            this-&amp;gt;LBDest-&amp;gt;Location = System::Drawing::Point(213, 46);&lt;br /&gt;
            this-&amp;gt;LBDest-&amp;gt;Name = L&amp;quot;LBDest&amp;quot;;&lt;br /&gt;
            this-&amp;gt;LBDest-&amp;gt;SelectionMode = &lt;br /&gt;
                System::Windows::Forms::SelectionMode::MultiSimple;&lt;br /&gt;
            this-&amp;gt;LBDest-&amp;gt;Size = System::Drawing::Size(134, 134);&lt;br /&gt;
            this-&amp;gt;LBDest-&amp;gt;TabIndex = 10;&lt;br /&gt;
            this-&amp;gt;LBDest-&amp;gt;DoubleClick += &lt;br /&gt;
                gcnew System::EventHandler(this, &amp;amp;Form1::LBDest_DoubleClick);&lt;br /&gt;
            // &lt;br /&gt;
            // bnR2L&lt;br /&gt;
            // &lt;br /&gt;
            this-&amp;gt;bnR2L-&amp;gt;Location = System::Drawing::Point(167, 108);&lt;br /&gt;
            this-&amp;gt;bnR2L-&amp;gt;Name = L&amp;quot;bnR2L&amp;quot;;&lt;br /&gt;
            this-&amp;gt;bnR2L-&amp;gt;Size = System::Drawing::Size(33, 20);&lt;br /&gt;
            this-&amp;gt;bnR2L-&amp;gt;TabIndex = 9;&lt;br /&gt;
            this-&amp;gt;bnR2L-&amp;gt;Text = L&amp;quot;&amp;lt;==&amp;quot;;&lt;br /&gt;
            this-&amp;gt;bnR2L-&amp;gt;Click += &lt;br /&gt;
                gcnew System::EventHandler(this, &amp;amp;Form1::bnR2L_Click);&lt;br /&gt;
            // &lt;br /&gt;
            // bnL2R&lt;br /&gt;
            // &lt;br /&gt;
            this-&amp;gt;bnL2R-&amp;gt;Location = System::Drawing::Point(167, 80);&lt;br /&gt;
            this-&amp;gt;bnL2R-&amp;gt;Name = L&amp;quot;bnL2R&amp;quot;;&lt;br /&gt;
            this-&amp;gt;bnL2R-&amp;gt;Size = System::Drawing::Size(33, 20);&lt;br /&gt;
            this-&amp;gt;bnL2R-&amp;gt;TabIndex = 8;&lt;br /&gt;
            this-&amp;gt;bnL2R-&amp;gt;Text = L&amp;quot;==&amp;gt;&amp;quot;;&lt;br /&gt;
            this-&amp;gt;bnL2R-&amp;gt;Click += &lt;br /&gt;
                gcnew System::EventHandler(this, &amp;amp;Form1::bnL2R_Click);&lt;br /&gt;
            // &lt;br /&gt;
            // LBOrg&lt;br /&gt;
            // &lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;FormattingEnabled = true;&lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;Items-&amp;gt;AddRange(gcnew cli::array&amp;lt; System::Object^&amp;gt;(10)&lt;br /&gt;
                {L&amp;quot;System&amp;quot;, L&amp;quot;System::Collections&amp;quot;, L&amp;quot;System::Data&amp;quot;, &lt;br /&gt;
                 L&amp;quot;System::Drawing&amp;quot;, L&amp;quot;System::IO&amp;quot;, L&amp;quot;System::Net&amp;quot;, &lt;br /&gt;
                 L&amp;quot;System::Threading&amp;quot;, L&amp;quot;System::Web&amp;quot;, &lt;br /&gt;
                 L&amp;quot;System::Windows::Forms&amp;quot;, L&amp;quot;System::Xml&amp;quot;});&lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;Location = System::Drawing::Point(20, 46);&lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;Name = L&amp;quot;LBOrg&amp;quot;;&lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;SelectionMode = &lt;br /&gt;
                System::Windows::Forms::SelectionMode::MultiExtended;&lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;Size = System::Drawing::Size(133, 134);&lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;Sorted = true;&lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;TabIndex = 6;&lt;br /&gt;
            this-&amp;gt;LBOrg-&amp;gt;DoubleClick += &lt;br /&gt;
                gcnew System::EventHandler(this, &amp;amp;Form1::LBOrg_DoubleClick);&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(213, 17);&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(104, 13);&lt;br /&gt;
            this-&amp;gt;label2-&amp;gt;TabIndex = 7;&lt;br /&gt;
            this-&amp;gt;label2-&amp;gt;Text = L&amp;quot;Unsorted Multisimple&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(20, 17);&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(107, 13);&lt;br /&gt;
            this-&amp;gt;label1-&amp;gt;TabIndex = 5;&lt;br /&gt;
            this-&amp;gt;label1-&amp;gt;Text = L&amp;quot;Sorted Multiextended&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(367, 196);&lt;br /&gt;
            this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;LBDest);&lt;br /&gt;
            this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;bnR2L);&lt;br /&gt;
            this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;bnL2R);&lt;br /&gt;
            this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;LBOrg);&lt;br /&gt;
            this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;label2);&lt;br /&gt;
            this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;label1);&lt;br /&gt;
            this-&amp;gt;Name = L&amp;quot;Form1&amp;quot;;&lt;br /&gt;
            this-&amp;gt;Text = L&amp;quot;List Box Transfers&amp;quot;;&lt;br /&gt;
            this-&amp;gt;ResumeLayout(false);&lt;br /&gt;
            this-&amp;gt;PerformLayout();&lt;br /&gt;
    }&lt;br /&gt;
        System::Void LBOrg_DoubleClick(System::Object^ sender, &lt;br /&gt;
                                       System::EventArgs^ e)&lt;br /&gt;
        {&lt;br /&gt;
            if (LBOrg-&amp;gt;SelectedItem != nullptr)&lt;br /&gt;
            {&lt;br /&gt;
                LBDest-&amp;gt;Items-&amp;gt;Add(LBOrg-&amp;gt;SelectedItem); &lt;br /&gt;
                LBOrg-&amp;gt;Items-&amp;gt;Remove(LBOrg-&amp;gt;SelectedItem); &lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        System::Void LBDest_DoubleClick(System::Object^ sender, &lt;br /&gt;
                                        System::EventArgs^ e)&lt;br /&gt;
        {&lt;br /&gt;
            if (LBDest-&amp;gt;SelectedItem != nullptr)&lt;br /&gt;
            {&lt;br /&gt;
                LBOrg-&amp;gt;Items-&amp;gt;Add(LBDest-&amp;gt;SelectedItem); &lt;br /&gt;
                LBDest-&amp;gt;Items-&amp;gt;Remove(LBDest-&amp;gt;SelectedItem); &lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        System::Void bnL2R_Click(System::Object^ sender, System::EventArgs^ e)&lt;br /&gt;
        {&lt;br /&gt;
            array&amp;lt;Object^&amp;gt;^ tmp = &lt;br /&gt;
                gcnew array&amp;lt;Object^&amp;gt;(LBOrg-&amp;gt;SelectedItems-&amp;gt;Count); &lt;br /&gt;
            LBOrg-&amp;gt;SelectedItems-&amp;gt;CopyTo(tmp, 0); &lt;br /&gt;
            LBDest-&amp;gt;Items-&amp;gt;AddRange(tmp); &lt;br /&gt;
            for (int i = 0; i &amp;lt; tmp-&amp;gt;Length; i++) &lt;br /&gt;
                LBOrg-&amp;gt;Items-&amp;gt;Remove(tmp[i]); &lt;br /&gt;
        }&lt;br /&gt;
        System::Void bnR2L_Click(System::Object^ sender, System::EventArgs^ e)&lt;br /&gt;
        {&lt;br /&gt;
            array&amp;lt;Object^&amp;gt;^ tmp = &lt;br /&gt;
                gcnew array&amp;lt;Object^&amp;gt;(LBDest-&amp;gt;SelectedItems-&amp;gt;Count);&lt;br /&gt;
            LBDest-&amp;gt;SelectedItems-&amp;gt;CopyTo(tmp, 0); &lt;br /&gt;
            LBOrg-&amp;gt;Items-&amp;gt;AddRange(tmp); &lt;br /&gt;
            for (int i = 0; i &amp;lt; tmp-&amp;gt;Length; i++) &lt;br /&gt;
                LBDest-&amp;gt;Items-&amp;gt;Remove(tmp[i]); &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;
  // Enabling Windows XP visual effects before any controls are created&lt;br /&gt;
  Application::EnableVisualStyles();&lt;br /&gt;
  Application::SetCompatibleTextRenderingDefault(false); &lt;br /&gt;
  // Create the main window and run it&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>