資源簡介
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
namespace?VisionApplication
{
??public?partial?class?Form1?:?Form
??{
????public?Form1()
????{
??????InitializeComponent();
????}
????private?void?Form1_Load(object?sender?EventArgs?e)
????{
??????//?set?the?title?of?this?application?using?the?title?supplied?in?the?generated?control
??????this.Text?=?visionControl1.ApplicationName;
????}
????private?void?FormClosingHandler(object?sender?FormClosingEventArgs?e)
????{
??????visionControl1.Close();
????}
??}
}
- 上一篇:C# 掃描指定文件夾下面所有文件及指定文件
- 下一篇:C#設計技巧總結.doc
評論
共有 條評論