資源簡介
主要功能
商品進銷存報表系統主要由【基本檔案】、【進貨管理】、【銷售管理】、【庫存管理】、【報表設計】和【系統維護】等模塊組成。進入該系統后,用戶可以對系統中的信息進行添加、修改、刪除和查詢等操作。另外,如果是管理員登錄,還可以對用戶的權限、用戶名和密碼進行設置或修改。

代碼片段和文件信息
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??2006-12-06?09:42??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\AppMain.cs
?????文件??????27831??2006-12-06?09:42??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\AppMain.Designer.cs
?????文件?????219731??2006-12-06?09:42??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\AppMain.resx
?????文件???????9817??2006-12-04?15:34??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件??????19928??2006-12-04?15:34??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件??????13803??2006-10-24?09:11??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件??????10257??2006-12-07?18:40??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件??????20770??2006-12-07?18:40??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件??????13960??2006-12-07?18:40??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件??????12168??2006-11-03?13:26??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件??????22325??2006-10-27?15:57??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件??????14488??2006-10-27?15:57??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\ba
?????文件????1441792??2006-12-15?10:57??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\bin\Debug\Databa
?????文件????1048576??2006-12-15?10:57??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\bin\Debug\Databa
?????文件?????573440??2006-12-15?10:58??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.exe
?????文件?????370176??2006-12-15?10:58??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.pdb
?????文件???????5632??2005-11-11?22:25??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.vshost.exe
?????文件???????1102??2006-12-05?10:35??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\CompanyReport.cs
?????文件???????8118??2006-12-05?10:35??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\CompanyReport.Designer.cs
?????文件???????7766??2006-12-05?10:35??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\CompanyReport.resx
?????文件???????1722??2006-11-08?16:24??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeReport.cs
?????文件???????9309??2006-10-26?11:56??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeReport.Designer.cs
?????文件???????8110??2006-10-26?11:56??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeReport.resx
?????文件???????1751??2006-11-07?14:37??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellAnalysisReport.cs
?????文件??????12589??2006-11-04?09:38??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellAnalysisReport.Designer.cs
?????文件???????9186??2006-11-04?09:38??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellAnalysisReport.resx
?????文件???????1202??2006-10-30?09:47??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellReport.cs
?????文件???????9224??2006-10-30?09:47??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellReport.Designer.cs
?????文件???????8128??2006-10-30?09:47??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\EmployeeSellReport.resx
?????文件???????1775??2006-12-08?10:20??商品進銷存報表系統\GoodsReportManage\GoodsReportManage\CrystalReport\GoodsInAnalysisReport.cs
............此處省略163個文件信息
評論
共有 條評論