📄 arpwinpcap.cpp
字号:
/*******************************************************************************
* 文件名称:ArpWinPcap.cpp
* 摘 要:程序的主项目文件,实现ARP协议获得局域网内活动主机物理地址
* 单 位:软件学院
* 作 者:姚旺
* 学 号:2120070369
* 完成日期:2007年11月8日
*******************************************************************************/
/******************
* 头文件列表:
******************/
#include "stdafx.h"
#include "frmMain.h"
/**********************
* 引用的命名空间列表:
**********************/
using namespace ArpWinPcap;
[STAThreadAttribute]
/**********************
* 主函数:
**********************/
int main(array<System::String ^> ^args)
{
// 在创建任何控件之前启用 Windows XP 可视化效果
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// 创建主窗口并运行它
try{
Application::Run(gcnew frmMain());
}
catch(System::Exception ^e)
{
System::Windows::Forms::MessageBox::Show(e->Message);
}
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -