Visual C++ .NET/Statement/using — различия между версиями

Материал из .Net Framework эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Версия 15:31, 26 мая 2010

using directive

 
#include "stdafx.h"
#using "System.Windows.Forms.dll"
using namespace System::Windows::Forms;
int main()
{
   MessageBox::Show("Hello World!");
}


using dll

 
#include "stdafx.h"
#using "System.Windows.Forms.dll"
int main()
{
   System::Windows::Forms::MessageBox::Show("Hello World!");
}