-
大小: 36.67MB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2023-07-24
- 語言: C#
- 標(biāo)簽:
資源簡介
asp.net 開發(fā)的進銷存系統(tǒng),架構(gòu)明朗,代碼工整有注釋。
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Data.SqlClient;
using?XinzhengProductManage.systemmanage;
namespace?XinzhengProductManage
{
????public?partial?class?AppMain?:?Form
????{
????????public?AppMain()
????????{
????????????InitializeComponent();
????????????Formlog?log?=?new?Formlog();
????????????log.ShowDialog();
????????}
????????public?AppMain(int?str)
????????{
????????????AppMain.warn?=?str;
????????}
????????private?Dictionary?allTabItems?=?new?Dictionary();
????????#region?自定義自動添加TabItem選型卡的方法
????????private?DevComponents.DotNetBar.TabItem?CreateItem(string?text?Control?ctrl)
????????{
????????????ctrl.Dock?=?Dockstyle.Fill;
????????????DevComponents.DotNetBar.TabItem?item?=?this.tabTop.CreateTab(text);
????????????DevComponents.DotNetBar.TabControlPanel?pnl?=?item.AttachedControl?as?DevComponents.DotNetBar.TabControlPanel;
????????????pnl.ColorSchemestyle?=?DevComponents.DotNetBar.eDotNetBarstyle.Office2007;
????????????pnl.Dock?=?Dockstyle.Fill;
????????????pnl.style.BackColor1.Alpha?=?((byte)(128));
????????????pnl.style.BackColor1.Color?=?System.Drawing.Color.FromArgb(((int)(((byte)(253))))?((int)(((byte)(253))))?((int)(((byte)(254)))));
????????????pnl.style.BackColor2.Alpha?=?((byte)(128));
????????????pnl.style.BackColor2.Color?=?System.Drawing.Color.FromArgb(((int)(((byte)(157))))?((int)(((byte)(188))))?((int)(((byte)(227)))));
????????????pnl.Padding?=?new?Padding(3?2?3?3);
????????????item.AttachedControl.Controls.Add(ctrl);
????????????ctrl.Show();
????????????ctrl.BringToFront();
????????????return?item;
????????}
????????#endregion
????????private?void?toolbtnbaseProduct_Click(object?sender?EventArgs?e)
????????{
????????????try
????????????{
????????????????DevComponents.DotNetBar.TabItem?item;
????????????????if?(!allTabItems.TryGetValue(“配件基本信息“?out?item))
????????????????{
????????????????????XinzhengProductManage.Goods.UsCt_message?message?=?new?XinzhengProductManage.Goods.UsCt_message();
????????????????????item?=?CreateItem(“配件基本信息“?message);
????????????????????allTabItems.Add(item.Text?item);
????????????????}
????????????????this.tabTop.SelectedTab?=?item;
????????????}
????????????catch?{?}
????????}
????????private?void?tabTop_TabItemClose(object?sender?DevComponents.DotNetBar.TabStripActionEventArgs?e)
????????{
????????????allTabItems.Remove((sender?as?DevComponents.DotNetBar.TabControl).SelectedTab.Text);
????????}
????????private?void?btnibaseProduct_Click(object?sender?EventArgs?e)
????????{
????????????try
????????????{
????????????????DevComponents.DotNetBar.TabItem?item;
????????????????if?(!allTabItems.TryGetValue(“產(chǎn)品基本信息“?out?item))
????????????????{
????????????????????XinzhengProduct
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-10-19?11:01??XinzhengProductManage2011-6-24\
?????目錄???????????0??2011-10-19?11:01??XinzhengProductManage2011-6-24\Backup\
?????目錄???????????0??2011-10-19?11:01??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\
?????文件????????1280??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage.sln
?????文件??????168960??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage.suo
?????文件?????????970??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\App.config
?????文件???????14675??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\AppMain.cs
?????文件???????60754??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\AppMain.Designer.cs
?????文件????????8427??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\AppMain.resx
?????目錄???????????0??2011-10-19?11:01??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\CautionMessage\
?????文件???????12013??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\CautionMessage\NotifyMessForm.cs
?????文件????????9063??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\CautionMessage\NotifyMessForm.designer.cs
?????文件???????13973??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\CautionMessage\NotifyMessForm.resx
?????文件????????5796??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Formlog.cs
?????文件???????22711??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Formlog.designer.cs
?????文件???????89855??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Formlog.resx
?????目錄???????????0??2011-10-19?11:01??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\
?????文件????????9042??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_AddMessage.cs
?????文件???????27587??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_AddMessage.Designer.cs
?????文件????????5814??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_AddMessage.resx
?????文件????????6637??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ReturnDetailsEdit.cs
?????文件???????19261??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ReturnDetailsEdit.designer.cs
?????文件????????5814??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ReturnDetailsEdit.resx
?????文件????????3858??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_Scrap.cs
?????文件???????21159??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_Scrap.Designer.cs
?????文件????????5814??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_Scrap.resx
?????文件????????4522??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ScrapDetail.cs
?????文件???????21109??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ScrapDetail.Designer.cs
?????文件????????5814??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ScrapDetail.resx
?????文件????????6807??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_wordbook.cs
?????文件???????13371??2011-10-19?10:57??XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_wordbook.Designer.cs
............此處省略385個文件信息
評論
共有 條評論