資源簡介
財務管理系統實例程序(c#源代碼)
vs2003開發的winform項目
清華出版的一本書里的項目吧,帶數據庫

代碼片段和文件信息
using?System;
using?System.Drawing;
using?System.Collections;
using?System.ComponentModel;
using?System.Windows.Forms;
using?System.Data.SqlClient;
namespace?財務管理系統
{
///?
///?AccountSetting?的摘要說明。
///?
public?class?AccountSetting?:?System.Windows.Forms.Form
{
private?財務管理系統.DataSet2?dataSet21;
private?System.Data.SqlClient.SqlCommand?sqlSelectCommand2;
private?System.Windows.Forms.DataGrid?dataGrid1;
private?System.Windows.Forms.DataGrid?dataGrid2;
private?System.Data.SqlClient.SqlDataAdapter?da1;
private?System.Data.SqlClient.SqlDataAdapter?da2;
private?System.Windows.Forms.Button?btnNewAccount;
private?System.Windows.Forms.Button?btnUseAccount;
private?System.Windows.Forms.Button?btnBalance;
private?System.Data.SqlClient.SqlCommand?sqlSelectCommand1;
private?System.Data.SqlClient.SqlCommand?sqlInsertCommand1;
private?System.Data.SqlClient.SqlCommand?sqlUpdateCommand1;
private?System.Data.SqlClient.SqlCommand?sqlDeleteCommand1;
private?System.Windows.Forms.DataGridTablestyle?dataGridTablestyle1;
private?System.Windows.Forms.DataGridTextBoxColumn?dataGridTextBoxColumn1;
private?System.Windows.Forms.DataGridTextBoxColumn?dataGridTextBoxColumn2;
private?System.Windows.Forms.DataGridTextBoxColumn?dataGridTextBoxColumn3;
private?System.Windows.Forms.DataGridTextBoxColumn?dataGridTextBoxColumn4;
private?System.Windows.Forms.DataGridTextBoxColumn?dataGridTextBoxColumn5;
private?System.Windows.Forms.DataGridTextBoxColumn?dataGridTextBoxColumn6;
private?System.Data.SqlClient.SqlConnection?sqlConnection1;
///?
///?必需的設計器變量。
///?
private?System.ComponentModel.Container?components?=?null;
public?AccountSetting()
{
//
//?Windows?窗體設計器支持所必需的
//
InitializeComponent();
//
//?TODO:?在?InitializeComponent?調用后添加任何構造函數代碼
//
}
///?
///?清理所有正在使用的資源。
///?
protected?override?void?Dispose(?bool?disposing?)
{
if(?disposing?)
{
if(components?!=?null)
{
components.Dispose();
}
}
base.Dispose(?disposing?);
}
#region?Windows?窗體設計器生成的代碼
///?
///?設計器支持所需的方法?-?不要使用代碼編輯器修改
///?此方法的內容。
///?
private?void?InitializeComponent()
{
System.Resources.ResourceManager?resources?=?new?System.Resources.ResourceManager(typeof(AccountSetting));
this.da1?=?new?System.Data.SqlClient.SqlDataAdapter();
this.sqlDeleteCommand1?=?new?System.Data.SqlClient.SqlCommand();
this.sqlInsertCommand1?=?new?System.Data.SqlClient.SqlCommand();
this.sqlSelectCommand1?=?new?System.Data.SqlClient.SqlCommand();
this.sqlUpdateCommand1?=?new?System.Data.SqlClient.SqlCommand();
this.dataSet21?=?new?財務管理系統.DataSet2();
this.da2?=?new?System.Data.SqlClient.SqlDataAdapter();
this.sqlSelectCommand2?=?new?System.Data.SqlClient.SqlCommand();
this.dataGrid1?=?new?System.Windows.Forms.DataGrid();
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1078??2004-10-26?14:16??Chap4\Icon\caiwu.ICO
????....SH.?????????9??2006-09-13?17:15??Chap4\Icon\_desktop.ini
?????文件????????246??2004-10-26?14:16??Chap4\Icon\上記錄.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\下記錄.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\保存.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\修改.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\刪除.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\取消.bmp
?????文件????????336??2004-10-26?14:16??Chap4\Icon\啟用帳簿.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\尾記錄.bmp
?????文件????????336??2004-10-26?14:16??Chap4\Icon\建立新帳簿.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\搜索.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\新增.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\查詢選擇.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\計算.bmp
?????文件????????336??2004-10-26?14:16??Chap4\Icon\試算平衡.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\退出.bmp
?????文件????????246??2004-10-26?14:16??Chap4\Icon\首記錄.bmp
????....SH.?????????9??2006-09-13?17:15??Chap4\_desktop.ini
????....SH.?????????9??2006-09-13?17:15??Chap4\代碼\_desktop.ini
?????文件??????22647??2004-10-26?14:16??Chap4\代碼\財務管理系統\AccountSetting.cs
?????文件??????21769??2004-10-26?14:16??Chap4\代碼\財務管理系統\AccountSetting.resx
?????文件???????1078??2004-10-26?14:16??Chap4\代碼\財務管理系統\App.ico
?????文件???????1859??2004-10-26?14:16??Chap4\代碼\財務管理系統\AssemblyInfo.cs
????....SH.?????????9??2006-09-13?17:15??Chap4\代碼\財務管理系統\bin\Debug\_desktop.ini
?????文件?????315392??2004-10-26?14:16??Chap4\代碼\財務管理系統\bin\Debug\財務管理系統.exe
?????文件?????433664??2004-10-26?14:16??Chap4\代碼\財務管理系統\bin\Debug\財務管理系統.pdb
????....SH.?????????9??2006-09-13?17:15??Chap4\代碼\財務管理系統\bin\_desktop.ini
?????文件???????4411??2004-10-26?14:16??Chap4\代碼\財務管理系統\CrystalReport1.cs
?????文件??????16384??2004-10-26?14:16??Chap4\代碼\財務管理系統\CrystalReport1.rpt
............此處省略73個文件信息
評論
共有 條評論