Visual C++ .NET/Statement/using

Материал из .Net Framework эксперт
Версия от 12:06, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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!");
}