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

	<entry>
		<id>http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/GUI_Form/Menu&amp;diff=3802&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/Menu&amp;diff=3802&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/Menu&amp;diff=3803&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/Menu&amp;diff=3803&amp;oldid=prev"/>
				<updated>2010-05-26T12:06:08Z</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;==Simple Menu Demo==&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::ToolStripContainer^  toolStripContainer1;&lt;br /&gt;
        System::Windows::Forms::MenuStrip^  mainMenuStrip;&lt;br /&gt;
        System::Windows::Forms::ToolStripMenuItem^  miFile;&lt;br /&gt;
        System::Windows::Forms::ToolStripMenuItem^  miFileSub;&lt;br /&gt;
        System::Windows::Forms::ToolStripComboBox^  miFileSubThis;&lt;br /&gt;
        System::Windows::Forms::ToolStripMenuItem^  miFileExit;&lt;br /&gt;
        System::Windows::Forms::ToolStripMenuItem^  miFileSubCheck;&lt;br /&gt;
        System::Windows::Forms::ToolStripMenuItem^  miFileSubImage;&lt;br /&gt;
        System::Windows::Forms::ToolStripMenuItem^  miFileSubSayBoo;&lt;br /&gt;
        System::Windows::Forms::ToolStripMenuItem^  miHelp;&lt;br /&gt;
        System::Windows::Forms::ToolStripMenuItem^  miHelpAbout;&lt;br /&gt;
        System::Windows::Forms::ToolStripSeparator^  miFileSep1;&lt;br /&gt;
    void InitializeComponent(void)&lt;br /&gt;
    {&lt;br /&gt;
            System::ComponentModel::ComponentResourceManager^ resources =&lt;br /&gt;
       (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));&lt;br /&gt;
            this-&amp;gt;toolStripContainer1 =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripContainer());&lt;br /&gt;
            this-&amp;gt;mainMenuStrip = (gcnew System::Windows::Forms::MenuStrip());&lt;br /&gt;
            this-&amp;gt;miFile = (gcnew System::Windows::Forms::ToolStripMenuItem());&lt;br /&gt;
            this-&amp;gt;miFileSub =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripMenuItem());&lt;br /&gt;
            this-&amp;gt;miFileSubThis =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripComboBox());&lt;br /&gt;
            this-&amp;gt;miFileSubCheck =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripMenuItem());&lt;br /&gt;
            this-&amp;gt;miFileSubImage =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripMenuItem());&lt;br /&gt;
            this-&amp;gt;miFileSubSayBoo =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripMenuItem());&lt;br /&gt;
            this-&amp;gt;miFileSep1 =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripSeparator());&lt;br /&gt;
            this-&amp;gt;miFileExit =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripMenuItem());&lt;br /&gt;
            this-&amp;gt;miHelp =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripMenuItem());&lt;br /&gt;
            this-&amp;gt;miHelpAbout =&lt;br /&gt;
                (gcnew System::Windows::Forms::ToolStripMenuItem());&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;TopToolStripPanel-&amp;gt;SuspendLayout();&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;SuspendLayout();&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;SuspendLayout();&lt;br /&gt;
            this-&amp;gt;SuspendLayout();&lt;br /&gt;
            //&lt;br /&gt;
            // toolStripContainer1&lt;br /&gt;
            //&lt;br /&gt;
            // toolStripContainer1.ContentPanel&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;ContentPanel-&amp;gt;Size =&lt;br /&gt;
                System::Drawing::Size(292, 249);&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;Dock =&lt;br /&gt;
                System::Windows::Forms::DockStyle::Fill;&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;Location = System::Drawing::Point(0, 0);&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;Name = L&amp;quot;toolStripContainer1&amp;quot;;&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;Size = System::Drawing::Size(292, 273);&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;TabIndex = 0;&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;Text = L&amp;quot;toolStripContainer1&amp;quot;;&lt;br /&gt;
            //&lt;br /&gt;
            // toolStripContainer1.TopToolStripPanel&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;TopToolStripPanel-&amp;gt;Controls-&amp;gt;Add(&lt;br /&gt;
                this-&amp;gt;mainMenuStrip);&lt;br /&gt;
            //&lt;br /&gt;
            // mainMenuStrip&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;Dock =System::Windows::Forms::DockStyle::None;&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;Items-&amp;gt;AddRange(&lt;br /&gt;
                gcnew cli::array&amp;lt; System::Windows::Forms::ToolStripItem^&amp;gt;(2)&lt;br /&gt;
                {this-&amp;gt;miFile, this-&amp;gt;miHelp});&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;Location = System::Drawing::Point(0, 0);&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;Name = L&amp;quot;mainMenuStrip&amp;quot;;&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;Size = System::Drawing::Size(292, 24);&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;TabIndex = 0;&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;Text = L&amp;quot;menuStrip1&amp;quot;;&lt;br /&gt;
            //&lt;br /&gt;
            // miFile&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miFile-&amp;gt;DropDownItems-&amp;gt;AddRange(&lt;br /&gt;
                gcnew cli::array&amp;lt; System::Windows::Forms::ToolStripItem^&amp;gt;(3)&lt;br /&gt;
                {this-&amp;gt;miFileSub, this-&amp;gt;miFileSep1, this-&amp;gt;miFileExit});&lt;br /&gt;
            this-&amp;gt;miFile-&amp;gt;Name = L&amp;quot;miFile&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFile-&amp;gt;Size = System::Drawing::Size(35, 20);&lt;br /&gt;
            this-&amp;gt;miFile-&amp;gt;Text = L&amp;quot;&amp;amp;File&amp;quot;;&lt;br /&gt;
            //&lt;br /&gt;
            // miFileSub&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miFileSub-&amp;gt;DropDownItems-&amp;gt;AddRange(&lt;br /&gt;
                gcnew cli::array&amp;lt; System::Windows::Forms::ToolStripItem^&amp;gt;(4)&lt;br /&gt;
                {this-&amp;gt;miFileSubThis, this-&amp;gt;miFileSubCheck,&lt;br /&gt;
                 this-&amp;gt;miFileSubImage, this-&amp;gt;miFileSubSayBoo});&lt;br /&gt;
            this-&amp;gt;miFileSub-&amp;gt;Name = L&amp;quot;miFileSub&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileSub-&amp;gt;Size = System::Drawing::Size(152, 22);&lt;br /&gt;
            this-&amp;gt;miFileSub-&amp;gt;Text = L&amp;quot;&amp;amp;Sub&amp;quot;;&lt;br /&gt;
            //&lt;br /&gt;
            // miFileSubThis&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miFileSubThis-&amp;gt;Items-&amp;gt;AddRange(&lt;br /&gt;
                gcnew cli::array&amp;lt; System::Object^&amp;gt;(3)&lt;br /&gt;
                {L&amp;quot;This&amp;quot;, L&amp;quot;That&amp;quot;, L&amp;quot;Other Thing&amp;quot;});&lt;br /&gt;
            this-&amp;gt;miFileSubThis-&amp;gt;Name = L&amp;quot;miFileSubThis&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileSubThis-&amp;gt;Size = System::Drawing::Size(121, 21);&lt;br /&gt;
            //&lt;br /&gt;
            // miFileSubCheck&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miFileSubCheck-&amp;gt;Checked = true;&lt;br /&gt;
            this-&amp;gt;miFileSubCheck-&amp;gt;CheckOnClick = true;&lt;br /&gt;
            this-&amp;gt;miFileSubCheck-&amp;gt;CheckState =&lt;br /&gt;
                System::Windows::Forms::CheckState::Checked;&lt;br /&gt;
            this-&amp;gt;miFileSubCheck-&amp;gt;Name = L&amp;quot;miFileSubCheck&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileSubCheck-&amp;gt;Size = System::Drawing::Size(181, 22);&lt;br /&gt;
            this-&amp;gt;miFileSubCheck-&amp;gt;Text = L&amp;quot;Check Me&amp;quot;;&lt;br /&gt;
            //&lt;br /&gt;
            // miFileSubImage&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miFileSubImage-&amp;gt;Image =&lt;br /&gt;
                (cli::safe_cast&amp;lt;System::Drawing::Image^&amp;gt;&lt;br /&gt;
                (resources-&amp;gt;GetObject(L&amp;quot;miFileSubImage.Image&amp;quot;)));&lt;br /&gt;
            this-&amp;gt;miFileSubImage-&amp;gt;Name = L&amp;quot;miFileSubImage&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileSubImage-&amp;gt;Size = System::Drawing::Size(181, 22);&lt;br /&gt;
            this-&amp;gt;miFileSubImage-&amp;gt;Text = L&amp;quot;I have an image&amp;quot;;&lt;br /&gt;
            //&lt;br /&gt;
            // miFileSubSayBoo&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miFileSubSayBoo-&amp;gt;Name = L&amp;quot;miFileSubSayBoo&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileSubSayBoo-&amp;gt;ShortcutKeys =&lt;br /&gt;
                static_cast&amp;lt;System::Windows::Forms::Keys&amp;gt;&lt;br /&gt;
                ((System::Windows::Forms::Keys::Control |&lt;br /&gt;
                  System::Windows::Forms::Keys::S));&lt;br /&gt;
            this-&amp;gt;miFileSubSayBoo-&amp;gt;Size = System::Drawing::Size(181, 22);&lt;br /&gt;
            this-&amp;gt;miFileSubSayBoo-&amp;gt;Text = L&amp;quot;Say Boo&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileSubSayBoo-&amp;gt;Click +=&lt;br /&gt;
                gcnew System::EventHandler(this,&amp;amp;Form1::miFileSubSayBoo_Click);&lt;br /&gt;
            //&lt;br /&gt;
            // miFileSep1&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miFileSep1-&amp;gt;Name = L&amp;quot;miFileSep1&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileSep1-&amp;gt;Size = System::Drawing::Size(149, 6);&lt;br /&gt;
            //&lt;br /&gt;
            // miFileExit&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miFileExit-&amp;gt;Name = L&amp;quot;miFileExit&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileExit-&amp;gt;Size = System::Drawing::Size(152, 22);&lt;br /&gt;
            this-&amp;gt;miFileExit-&amp;gt;Text = L&amp;quot;E&amp;amp;xit&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miFileExit-&amp;gt;Click +=&lt;br /&gt;
                gcnew System::EventHandler(this, &amp;amp;Form1::miFileExit_Click);&lt;br /&gt;
            //&lt;br /&gt;
            // miHelp&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miHelp-&amp;gt;DropDownItems-&amp;gt;AddRange(&lt;br /&gt;
                gcnew cli::array&amp;lt; System::Windows::Forms::ToolStripItem^&amp;gt;(1)&lt;br /&gt;
                {this-&amp;gt;miHelpAbout});&lt;br /&gt;
            this-&amp;gt;miHelp-&amp;gt;Name = L&amp;quot;miHelp&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miHelp-&amp;gt;Size = System::Drawing::Size(40, 20);&lt;br /&gt;
            this-&amp;gt;miHelp-&amp;gt;Text = L&amp;quot;&amp;amp;Help&amp;quot;;&lt;br /&gt;
            //&lt;br /&gt;
            // miHelpAbout&lt;br /&gt;
            //&lt;br /&gt;
            this-&amp;gt;miHelpAbout-&amp;gt;Name = L&amp;quot;miHelpAbout&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miHelpAbout-&amp;gt;Size = System::Drawing::Size(152, 22);&lt;br /&gt;
            this-&amp;gt;miHelpAbout-&amp;gt;Text = L&amp;quot;About&amp;quot;;&lt;br /&gt;
            this-&amp;gt;miHelpAbout-&amp;gt;Click +=&lt;br /&gt;
                gcnew System::EventHandler(this, &amp;amp;Form1::miHelpAbout_Click);&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(292, 273);&lt;br /&gt;
            this-&amp;gt;Controls-&amp;gt;Add(this-&amp;gt;toolStripContainer1);&lt;br /&gt;
            this-&amp;gt;MainMenuStrip = this-&amp;gt;mainMenuStrip;&lt;br /&gt;
            this-&amp;gt;Name = L&amp;quot;Form1&amp;quot;;&lt;br /&gt;
            this-&amp;gt;Text = L&amp;quot;Simple Menu&amp;quot;;&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;TopToolStripPanel-&amp;gt;ResumeLayout(false);&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;TopToolStripPanel-&amp;gt;PerformLayout();&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;ResumeLayout(false);&lt;br /&gt;
            this-&amp;gt;toolStripContainer1-&amp;gt;PerformLayout();&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;ResumeLayout(false);&lt;br /&gt;
            this-&amp;gt;mainMenuStrip-&amp;gt;PerformLayout();&lt;br /&gt;
            this-&amp;gt;ResumeLayout(false);&lt;br /&gt;
    }&lt;br /&gt;
        System::Void miFileExit_Click(System::Object^ sender, System::EventArgs^ e)&lt;br /&gt;
        {&lt;br /&gt;
             Application::Exit();&lt;br /&gt;
        }&lt;br /&gt;
        System::Void miHelpAbout_Click(System::Object^ sender, System::EventArgs^ e)&lt;br /&gt;
        {&lt;br /&gt;
            MessageBox::Show(&amp;quot;Simple Menu v.1.0.0.0&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
        System::Void miFileSubSayBoo_Click(System::Object^ sender, System::EventArgs^ e)&lt;br /&gt;
        {&lt;br /&gt;
            MessageBox::Show(&amp;quot;BOO&amp;quot;);&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>