資源簡介
在使用本系統時,請按照以下流程進行操作:
(1)通過“基本檔案/員工信息”菜單項:對員工信息進行添加、修改、刪除和查詢操作。
(2)通過“系統維護”菜單中的菜單項添加用戶、設置用戶管理權限及更改登錄用戶的密碼等操作。
注意:添加用戶時,用戶密碼必須是6位以上。
(3)通過“基本檔案/供應商信息”菜單項:對供應商信息進行添加、修改、刪除和查詢操作。
(4)通過“基本檔案/客戶檔案”菜單項:對客戶檔案信息進行添加、修改、刪除和查詢操作。
(5)通過“進貨管理/采購進貨”菜單項:對采購進貨信息進行添加、修改和刪除操作。
(6)通過“進貨管理/采購退貨”菜單項:對采購退貨信息進行添加、修改和刪除操作。
(7)通過“進貨管理/采購查詢”菜單項:對采購進貨和采購退貨信息查詢操作。
(8)通過“銷售管理/商品銷售”菜單項:對商品銷售信息進行添加、修改和刪除操作。
(9)通過“銷售管理/客戶退貨”菜單項:對客戶退貨信息進行添加、修改和刪除操作。
(10)通過“銷售管理/銷售查詢”菜單項:對銷售貨物信息進行查詢操作。
(11)通過“庫存管理/庫存調撥”菜單項:對庫存調撥信息進行添加和刪除操作。
(12)通過“庫存管理/庫存警報”菜單項:可以對庫存警報的數量進行修改操作。庫存報警數量默認為10,當商品庫存數量不足10時,將會顯示在該模塊中。
(13)通過“庫存管理/庫存查詢”菜單項:對庫存里的信息進行查詢操作。
(14)通過“報表設計/員工信息報表”菜單項:對員工信息進行查詢并在報表中顯示結果。
(15)通過“報表設計/供應商信息報表”菜單項:對供應商信息進行查詢并在報表中顯示結果。
(16)通過“報表設計/進貨商品報表”菜單項:對進貨商品信息進行查詢并在報表中顯示結果。
(17)通過“報表設計/員工銷售報表”菜單項:對員工銷售信息進行查詢并在報表中顯示結果。
(18)通過“報表設計/商品進貨分析報表”菜單項:對商品進貨信息進行查詢并在報表中以圖表的形式顯示結果。
(19)通過“報表設計/銷售價格分析報表”菜單項:對銷售價格信息進行查詢并在報表中以圖表的形式顯示結果。
(20)通過“報表設計/員工銷售分析報表”菜單項:對員工銷售分析信息進行查詢并在報表中以圖表的形式顯示結果。
(21)通過“系統維護/數據備份”菜單項:對數據庫進行備份。
(22)通過“系統維護/數據還原”菜單項:對數據庫進行還原。

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?GoodsReportManage.ItemClass;
using?GoodsReportManage.Goods;
using?System.Collections;
namespace?GoodsReportManage
{
????public?partial?class?AppMain?:?Form
????{
????????public?AppMain()
????????{
????????????InitializeComponent();
????????}
????????SqlbaseClass?G_SqlClass?=?new?SqlbaseClass();
????????///?
????????///?根據用戶權限分配顯示菜單
????????///?
????????public?void?MenuIsVisible()
????????{
????????????ArrayList?arylst?=?new?ArrayList();
????????????ToolStripMenuItem[]?menu?=?new?ToolStripMenuItem[]?{
????????????????this.menuEmployeethis.menuCompanythis.menuCustomerthis.menuGoodsInthis.menuGoodsOutthis.menuSellGoods
????????????????this.menuGoodsBackthis.menuDepotChangethis.menuDepotAlarmthis.menuSysUserthis.menuPopedomSetthis.menuDatabakthis.menuReBakData
????????????};
????????????DataSet?P_ds?=?G_SqlClass.GetDs(“SELECT?*?FROM?v_UserView?WHERE?SysLoginName?=?‘“+?PropertyClass.SendNameValue+“‘“);
????????????for?(int?i?=?0;?i?13;?i++)
????????????{
????????????????arylst.Add(P_ds.Tables[0].Rows[0][14+i].ToString());
????????????}
????????????for?(int?j?=?0;?j?????????????{
????????????????if?(arylst[j].ToString()?==?“False“)
????????????????{
????????????????????menu[j].Visible?=?false;
????????????????}
????????????????else
????????????????{
????????????????????menu[j].Visible?=?true;
????????????????}
????????????}
????????}
????????private?void?timer1_Tick(object?sender?EventArgs?e)
????????{
????????????this.statusTime.Text?=?“當前時間:“?+?DateTime.Now.ToString();
????????}
????????private?void?AppMain_Load(object?sender?EventArgs?e)
????????{
????????????this.timer1.Start();
????????????this.statusUser.Text?=?“系統操作員:“+PropertyClass.SendNameValue;
????????????MenuIsVisible();
????????}
????????private?void?AppMain_FormClosing(object?sender?FormClosingEventArgs?e)
????????{
????????}
????????private?void?Menu_Click(object?sender?EventArgs?e)
????????{
????????????WinOperationClass?P_Menu?=?new?WinOperationClass();??//聲明對WinForm窗體進行操作的類對象
????????????P_Menu.ShowForm((ToolStripMenuItem)sender?this);???//調用類中的方法,完成對窗體中ToolStripMenuItem控件相應項的操作
????????}
????????private?void?AppMain_FormClosed_1(object?sender?FormClosedEventArgs?e)
????????{
????????????if?(MessageBox.Show(“確定要退出嗎?“?“提示對話框“?MessageBoxButtons.YesNo?MessageBoxIcon.Information)?==?DialogResult.Yes)
????????????{
????????????????Application.Exit();
????????????????this.Dispose();
????????????}
????????????else
????????????{
????????????????AppMain?app?=?new?AppMain();
????????????????app.Show();
????????????}
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2932??2008-04-23?14:09??GoodsReportManage\GoodsReportManage\AppMain.cs
?????文件??????27472??2008-04-23?14:09??GoodsReportManage\GoodsReportManage\AppMain.Designer.cs
?????文件?????476162??2008-04-23?14:09??GoodsReportManage\GoodsReportManage\AppMain.resx
?????文件???????9817??2008-04-23?14:06??GoodsReportManage\GoodsReportManage\ba
?????文件??????19737??2008-04-23?14:06??GoodsReportManage\GoodsReportManage\ba
?????文件??????17233??2008-04-23?14:06??GoodsReportManage\GoodsReportManage\ba
?????文件??????10257??2008-04-23?14:05??GoodsReportManage\GoodsReportManage\ba
?????文件??????20579??2008-04-23?14:05??GoodsReportManage\GoodsReportManage\ba
?????文件??????15274??2008-04-23?14:05??GoodsReportManage\GoodsReportManage\ba
?????文件??????12168??2008-04-23?14:04??GoodsReportManage\GoodsReportManage\ba
?????文件??????22134??2008-04-23?14:03??GoodsReportManage\GoodsReportManage\ba
?????文件??????18610??2008-04-23?14:03??GoodsReportManage\GoodsReportManage\ba
?????文件?????811008??2008-04-23?16:52??GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.exe
?????文件?????429568??2008-04-23?16:52??GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.pdb
?????文件???????5632??2005-11-11?22:25??GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.vshost.exe
?????文件???????1102??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\CompanyReport.cs
?????文件???????8181??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\CompanyReport.Designer.cs
?????文件???????7766??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\CompanyReport.resx
?????文件???????1722??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeReport.cs
?????文件???????9372??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeReport.Designer.cs
?????文件???????8110??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeReport.resx
?????文件???????1751??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellAnalysisReport.cs
?????文件??????12652??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellAnalysisReport.Designer.cs
?????文件???????9186??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellAnalysisReport.resx
?????文件???????1202??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellReport.cs
?????文件???????9287??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellReport.Designer.cs
?????文件???????8128??2008-04-23?14:02??GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellReport.resx
?????文件???????1775??2008-04-23?14:01??GoodsReportManage\GoodsReportManage\CrystalReport\GoodsInAnalysisReport.cs
?????文件??????11693??2008-04-23?14:01??GoodsReportManage\GoodsReportManage\CrystalReport\GoodsInAnalysisReport.Designer.cs
?????文件???????8833??2008-04-23?14:01??GoodsReportManage\GoodsReportManage\CrystalReport\GoodsInAnalysisReport.resx
............此處省略168個文件信息
評論
共有 條評論