資源簡(jiǎn)介
安裝及使用須知
1、查看建模圖
本文件夾中的Model目錄下包含了系統(tǒng)的數(shù)據(jù)庫(kù)模型圖和系統(tǒng)建模圖,分別使用PowerDesigner和Rational Rose打開(kāi)。
2、數(shù)據(jù)庫(kù)安裝
本安裝說(shuō)明是以Microsoft SQL Server 2000中文企業(yè)版為例來(lái)闡述的,對(duì)于Microsoft SQL Server其他版本,應(yīng)用程序數(shù)據(jù)庫(kù)的安裝方法是類(lèi)似的。 將本文件夾中的DataBase目錄下的兩個(gè)文件Sell_Data.MDF和Sell_Log.LDF復(fù)制到系統(tǒng)盤(pán)的\Program Files\Microsoft SQL Server\MSSQL\Data目錄下。打開(kāi)SQL Server Enterprise Manager,展開(kāi)Microsoft SQL Servers樹(shù)狀菜單,右擊“數(shù)據(jù)庫(kù)”子項(xiàng),在彈出菜單的“所有任務(wù)”中選擇“附加數(shù)據(jù)庫(kù)”命令,按提示給出\Program Files\Microsoft SQL Server\MSSQL\Data 目錄下的Sell_Data.MDF的路徑。
3、本程序開(kāi)發(fā)時(shí)連接的數(shù)據(jù)庫(kù)服務(wù)器時(shí)本地(local)且可以Windows集成安全方式訪問(wèn)。
4、如果用戶(hù)安裝的是Mic
rosoft Visual Studio .NET 2003,那么可以直接打開(kāi)Sales文件夾下的項(xiàng)目,查看代碼并進(jìn)行調(diào)試。
5、本程序登錄前請(qǐng)查看數(shù)據(jù)庫(kù)中的user數(shù)據(jù)表中的數(shù)據(jù),其中系統(tǒng)用戶(hù)zhangqi的密碼為zhangqi;一般用戶(hù)andy的密碼為andy。
6、為了保證示例代碼正確運(yùn)行,讀者需要自己下載和安裝XtraNavBar工具欄插件下載地址如下:
http://www.devexpress.com/Downloads/NET/XtraNavBar/
以上軟件是需要注冊(cè)才能長(zhǎng)期正常使用的軟件,請(qǐng)大家支持正版軟件的使用。
1、查看建模圖
本文件夾中的Model目錄下包含了系統(tǒng)的數(shù)據(jù)庫(kù)模型圖和系統(tǒng)建模圖,分別使用PowerDesigner和Rational Rose打開(kāi)。
2、數(shù)據(jù)庫(kù)安裝
本安裝說(shuō)明是以Microsoft SQL Server 2000中文企業(yè)版為例來(lái)闡述的,對(duì)于Microsoft SQL Server其他版本,應(yīng)用程序數(shù)據(jù)庫(kù)的安裝方法是類(lèi)似的。 將本文件夾中的DataBase目錄下的兩個(gè)文件Sell_Data.MDF和Sell_Log.LDF復(fù)制到系統(tǒng)盤(pán)的\Program Files\Microsoft SQL Server\MSSQL\Data目錄下。打開(kāi)SQL Server Enterprise Manager,展開(kāi)Microsoft SQL Servers樹(shù)狀菜單,右擊“數(shù)據(jù)庫(kù)”子項(xiàng),在彈出菜單的“所有任務(wù)”中選擇“附加數(shù)據(jù)庫(kù)”命令,按提示給出\Program Files\Microsoft SQL Server\MSSQL\Data 目錄下的Sell_Data.MDF的路徑。
3、本程序開(kāi)發(fā)時(shí)連接的數(shù)據(jù)庫(kù)服務(wù)器時(shí)本地(local)且可以Windows集成安全方式訪問(wèn)。
4、如果用戶(hù)安裝的是Mic
rosoft Visual Studio .NET 2003,那么可以直接打開(kāi)Sales文件夾下的項(xiàng)目,查看代碼并進(jìn)行調(diào)試。
5、本程序登錄前請(qǐng)查看數(shù)據(jù)庫(kù)中的user數(shù)據(jù)表中的數(shù)據(jù),其中系統(tǒng)用戶(hù)zhangqi的密碼為zhangqi;一般用戶(hù)andy的密碼為andy。
6、為了保證示例代碼正確運(yùn)行,讀者需要自己下載和安裝XtraNavBar工具欄插件下載地址如下:
http://www.devexpress.com/Downloads/NET/XtraNavBar/
以上軟件是需要注冊(cè)才能長(zhǎng)期正常使用的軟件,請(qǐng)大家支持正版軟件的使用。
代碼片段和文件信息
using?System;
using?System.Drawing;
using?System.Collections;
using?System.ComponentModel;
using?System.Windows.Forms;
using?System.Data;
using?System.Data.SqlClient;
using?Sale.DataLevel;
namespace?Sale.UILevel
{
///?
///?Anylyse?的摘要說(shuō)明。
///?
public?class?ProfitAnalyse?:?System.Windows.Forms.Form
{
private?System.Windows.Forms.DateTimePicker?dateTimePicker1;
private?System.Windows.Forms.DateTimePicker?dateTimePicker2;
private?System.Windows.Forms.Label?label1;
private?System.Windows.Forms.Label?label2;
private?System.Windows.Forms.Label?label3;
private?System.Windows.Forms.DataGrid?dataGrid1;
private?System.Windows.Forms.Button?btnApply;
private?System.Windows.Forms.Button?btnExit;
private?System.Windows.Forms.Button?btnCancel;
private?System.Windows.Forms.GroupBox?groupBox1;
private?System.Windows.Forms.CheckedListBox?checkedListBox1;
private?System.Windows.Forms.GroupBox?groupBox2;
private?System.Windows.Forms.TextBox?textBox1;
///?
///?必需的設(shè)計(jì)器變量。
///?
private?System.ComponentModel.Container?components?=?null;
public?ProfitAnalyse()
{
//
//?Windows?窗體設(shè)計(jì)器支持所必需的
//
InitializeComponent();
//
//?TODO:?在?InitializeComponent?調(diào)用后添加任何構(gòu)造函數(shù)代碼
//
}
///?
///?清理所有正在使用的資源。
///?
protected?override?void?Dispose(?bool?disposing?)
{
if(?disposing?)
{
if(components?!=?null)
{
components.Dispose();
}
}
base.Dispose(?disposing?);
}
#region?Windows?窗體設(shè)計(jì)器生成的代碼
///?
///?設(shè)計(jì)器支持所需的方法?-?不要使用代碼編輯器修改
///?此方法的內(nèi)容。
///?
private?void?InitializeComponent()
{
System.Resources.ResourceManager?resources?=?new?System.Resources.ResourceManager(typeof(ProfitAnalyse));
this.dateTimePicker1?=?new?System.Windows.Forms.DateTimePicker();
this.dateTimePicker2?=?new?System.Windows.Forms.DateTimePicker();
this.label1?=?new?System.Windows.Forms.Label();
this.label2?=?new?System.Windows.Forms.Label();
this.label3?=?new?System.Windows.Forms.Label();
this.dataGrid1?=?new?System.Windows.Forms.DataGrid();
this.btnApply?=?new?System.Windows.Forms.Button();
this.btnExit?=?new?System.Windows.Forms.Button();
this.btnCancel?=?new?System.Windows.Forms.Button();
this.groupBox1?=?new?System.Windows.Forms.GroupBox();
this.checkedListBox1?=?new?System.Windows.Forms.CheckedListBox();
this.groupBox2?=?new?System.Windows.Forms.GroupBox();
this.textBox1?=?new?System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
//?
//?dateTimePicker1
//?
this.dateTimePicker1.Location?=?new?System.Drawing.Point(88?24);
this.dateTimePicker1.Name?=?“dateTimePicker1“;
this.dateTimePicker1.Size?=?new?System.Drawing.Size(112?21);
this.
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件????1310720??2004-03-05?23:49??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Databa
?????文件????1048576??2004-03-05?23:49??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Databa
?????文件??????66524??2004-08-14?22:22??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\PD\銷(xiāo)售管理CDM.cdb
?????文件??????66524??2004-08-14?22:24??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\PD\銷(xiāo)售管理CDM.cdm
?????文件??????66883??2004-08-14?23:44??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\PD\銷(xiāo)售管理CDM_2.cdb
?????文件??????67429??2004-08-14?23:54??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\PD\銷(xiāo)售管理CDM_2.cdm
?????文件??????70985??2004-08-14?22:40??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\PD\銷(xiāo)售管理PDM.pdb
?????文件??????70985??2004-08-14?22:42??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\PD\銷(xiāo)售管理PDM.pdm
?????文件?????168414??2004-08-14?23:06??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\PD\銷(xiāo)售管理PDM_2.pdb
?????文件?????190562??2004-08-14?23:10??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\PD\銷(xiāo)售管理PDM_2.pdm
?????文件?????308042??2004-08-10?12:33??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Model\Rose\銷(xiāo)售管理.mdl
?????文件???????1200??2005-03-01?17:46??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\readme.txt
?????文件???????4017??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Client.dtq
?????文件???????3972??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Product.dtq
?????文件???????4411??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\ProSell.dtq
?????文件???????4031??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Provider.dtq
?????文件???????9765??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\Anylyse.cs
?????文件??????19740??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\Anylyse.resx
?????文件???????1078??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\App.ico
?????文件???????1859??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\AssemblyInfo.cs
?????文件???????3248??2004-03-05?20:35??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\BussinessRule\AddName.cs
?????文件???????1711??2004-03-05?20:35??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\BussinessRule\CreateTableProfitAnalyse.cs
?????文件???????2037??2004-03-05?20:35??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\BussinessRule\ModifyProStock.cs
?????文件???????1068??2004-03-05?20:35??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\BussinessRule\UserCheck.cs
?????文件??????39338??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\Client.cs
?????文件??????32976??2004-03-05?20:36??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\Client.resx
?????文件???????4456??2005-02-26?20:45??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\DataLevel\CrystalReportProvider.cs
?????文件??????16384??2005-02-26?20:45??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\DataLevel\CrystalReportProvider.rpt
?????文件????????215??2005-02-26?20:40??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\DataLevel\Databa
?????文件??????21266??2004-03-05?20:35??2企業(yè)銷(xiāo)售管理信息系統(tǒng)\Sales\Sale\DataLevel\DataSetClient.cs
............此處省略117個(gè)文件信息
評(píng)論
共有 條評(píng)論