下载此文档

C#编程指南.pdf


文档分类:IT计算机 | 页数:约7页 举报非法文档有奖
1/7
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/7 下载此文档
文档列表 文档介绍
The Code Project - Writing a Windows Form Application For .NET Fr... Page 1 of 7
Writing a Windos to accomplish this purpose. Most of the
C# core functionality is implemented in the System namespace. For forms application, the
functionality is included in the namespace. Therefore, right at the top of our
source file we need to define these namespaces.
using System;
using ;
We will need some more namespace definitions, but I will explain them as we go along with this
file://I:\MSDN_SHOW\The%20Code%20Project%20-%20Writing%20a%20Window... 4/12/2001The Code Project - Writing a Windows Form Application For .NET Fr... Page 2 of 7
sample application. Like every C# application, Windows Forms application will be defined as a
class. Since we will be making use of the Form class, it needs to be derive from it.
public class WinFileInfo : Form
The next thing that needs to be identified is the entry point for the application. Unlike Win32
applications, the method Main (not WinMain) will be the entry point for this application.
public static void Main ()
{
(new WinFileInfo ());
}
The Application class provides static methods to manage an application like running, closing,
and managing windows messages. In the method

C#编程指南 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数7
  • 收藏数0 收藏
  • 顶次数0
  • 上传人Bonnacon
  • 文件大小257 KB
  • 时间2022-05-25