BaseSet/BaseSet.csproj | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
NETSCM.zip | 补丁 | 查看 | 原始文档 | blame | 历史 | |
NETSCM/ClsShowMod.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
SCM/SCM.csproj | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
SCM/公用类/ClsPub1.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
SCM/条码打印/Kf_AGVRequestBill_FastList.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
SCM/条码打印/Kf_AGVRequestBill_FastList.designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
SCM/条码打印/Kf_AGVRequestBill_FastList.resx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
BaseSet/BaseSet.csproj
@@ -54,9 +54,12 @@ <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> <Reference Include="AxInterop.grdes6Lib"> <HintPath>..\DLL\AxInterop.grdes6Lib.dll</HintPath> </Reference> <Reference Include="AxInterop.gregn6Lib, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\SCM\bin\x86\Debug\AxInterop.gregn6Lib.dll</HintPath> <HintPath>..\DLL\AxInterop.gregn6Lib.dll</HintPath> </Reference> <Reference Include="BLL, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86"> <SpecificVersion>False</SpecificVersion> @@ -66,9 +69,13 @@ <SpecificVersion>False</SpecificVersion> <HintPath>..\DLL\DBUtility.dll</HintPath> </Reference> <Reference Include="Interop.grdes6Lib"> <HintPath>..\DLL\Interop.grdes6Lib.dll</HintPath> <EmbedInteropTypes>True</EmbedInteropTypes> </Reference> <Reference Include="Interop.gregn6Lib, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\SCM\bin\x86\Debug\Interop.gregn6Lib.dll</HintPath> <HintPath>..\DLL\Interop.gregn6Lib.dll</HintPath> </Reference> <Reference Include="Pub_Class, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86"> <SpecificVersion>False</SpecificVersion> NETSCM.zipBinary files differ
NETSCM/ClsShowMod.cs
@@ -4087,132 +4087,139 @@ oKf_OtherOutBillList.Show(); oMainForm.AddTabPage(oKf_OtherOutBillList); break; // case "kf_otheroutbill": // // // Kf_OtherOutBill oKf_OtherOutBill = new Kf_OtherOutBill(); // oKf_OtherOutBill.ShowDialog(); // break; // case "kf_movestockbilllist": // //æé // Kf_MoveStockBillList oKf_MoveStockBillList = new Kf_MoveStockBillList(); // oKf_MoveStockBillList.MdiParent = oMain; // oKf_MoveStockBillList.Show(); // oMainForm.AddTabPage(oKf_MoveStockBillList); // break; // case "kf_movestockbill": // // // Kf_MoveStockBill oKf_MoveStockBill = new Kf_MoveStockBill(); // oKf_MoveStockBill.ShowDialog(); // break; // case "kf_checkstockbilllist": // //æé // Kf_CheckStockBillList oKf_CheckStockBillList = new Kf_CheckStockBillList(); // oKf_CheckStockBillList.MdiParent = oMain; // oKf_CheckStockBillList.Show(); // oMainForm.AddTabPage(oKf_CheckStockBillList); // break; // case "kf_checkstockbill": // // // Kf_CheckStockBill oKf_CheckStockBill = new Kf_CheckStockBill(); // oKf_CheckStockBill.ShowDialog(); // break; // case "kf_otheroutbill": // // // Kf_OtherOutBill oKf_OtherOutBill = new Kf_OtherOutBill(); // oKf_OtherOutBill.ShowDialog(); // break; // case "kf_movestockbilllist": // //æé // Kf_MoveStockBillList oKf_MoveStockBillList = new Kf_MoveStockBillList(); // oKf_MoveStockBillList.MdiParent = oMain; // oKf_MoveStockBillList.Show(); // oMainForm.AddTabPage(oKf_MoveStockBillList); // break; // case "kf_movestockbill": // // // Kf_MoveStockBill oKf_MoveStockBill = new Kf_MoveStockBill(); // oKf_MoveStockBill.ShowDialog(); // break; // case "kf_checkstockbilllist": // //æé // Kf_CheckStockBillList oKf_CheckStockBillList = new Kf_CheckStockBillList(); // oKf_CheckStockBillList.MdiParent = oMain; // oKf_CheckStockBillList.Show(); // oMainForm.AddTabPage(oKf_CheckStockBillList); // break; // case "kf_checkstockbill": // // // Kf_CheckStockBill oKf_CheckStockBill = new Kf_CheckStockBill(); // oKf_CheckStockBill.ShowDialog(); // break; // case "kf_entrustcheckstockbilllist": // //æé // Kf_EntrustCheckStockBillList oKf_EntrustCheckStockBillList = new Kf_EntrustCheckStockBillList(); // oKf_EntrustCheckStockBillList.MdiParent = oMain; // oKf_EntrustCheckStockBillList.Show(); // oMainForm.AddTabPage(oKf_EntrustCheckStockBillList); // break; // case "kf_entrustcheckstockbill": // // // Kf_EntrustCheckStockBill oKf_EntrustCheckStockBill = new Kf_EntrustCheckStockBill(); // oKf_EntrustCheckStockBill.ShowDialog(); // break; // case "kf_entrustcheckstockbilllist": // //æé // Kf_EntrustCheckStockBillList oKf_EntrustCheckStockBillList = new Kf_EntrustCheckStockBillList(); // oKf_EntrustCheckStockBillList.MdiParent = oMain; // oKf_EntrustCheckStockBillList.Show(); // oMainForm.AddTabPage(oKf_EntrustCheckStockBillList); // break; // case "kf_entrustcheckstockbill": // // // Kf_EntrustCheckStockBill oKf_EntrustCheckStockBill = new Kf_EntrustCheckStockBill(); // oKf_EntrustCheckStockBill.ShowDialog(); // break; // case "kf_mateoutrequestbilllist": // //æé // Kf_MateOutRequestBillList oKf_MateOutRequestBillList = new Kf_MateOutRequestBillList(); // oKf_MateOutRequestBillList.MdiParent = oMain; // oKf_MateOutRequestBillList.Show(); // oMainForm.AddTabPage(oKf_MateOutRequestBillList); // break; // case "kf_mateoutrequestbill": // // // Kf_MateOutRequestBill oKf_MateOutRequestBill = new Kf_MateOutRequestBill(); // oKf_MateOutRequestBill.ShowDialog(); // break; // //===================================æ¥è¡¨åæ // case "sc_queryreadyrptnoinstockreport": // //æé // WarM.Sc_QueryReadyRptNoInStockReport oSc_QueryReadyRptNoInStockReport = new WarM.Sc_QueryReadyRptNoInStockReport(); // oSc_QueryReadyRptNoInStockReport.MdiParent = oMain; // oSc_QueryReadyRptNoInStockReport.Show(); // oMainForm.AddTabPage(oSc_QueryReadyRptNoInStockReport); // break; // case "kf_barcodeoutinreport": // //æé // WarM.Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new WarM.Kf_BarCodeOutInReport(); // oKf_BarCodeOutInReport.MdiParent = oMain; // oKf_BarCodeOutInReport.Show(); // oMainForm.AddTabPage(oKf_BarCodeOutInReport); // break; // case "kf_icinventory_barcode": // //æé // WarM.Kf_ICInventory_BarCode oKf_ICInventory_BarCode = new WarM.Kf_ICInventory_BarCode(); // oKf_ICInventory_BarCode.MdiParent = oMain; // oKf_ICInventory_BarCode.Show(); // oMainForm.AddTabPage(oKf_ICInventory_BarCode); // break; // case "kf_icinventorylist": // //æé // WarM.KF_ICInventoryList oKF_ICInventoryList = new WarM.KF_ICInventoryList(); // oKF_ICInventoryList.MdiParent = oMain; // oKF_ICInventoryList.Show(); // oMainForm.AddTabPage(oKF_ICInventoryList); // break; // case "kf_mateoutinbookreport": // //æé // Kf_MateOutInBookReport oKf_MateOutInBookReport = new Kf_MateOutInBookReport(); // oKf_MateOutInBookReport.MdiParent = oMain; // oKf_MateOutInBookReport.Show(); // oMainForm.AddTabPage(oKf_MateOutInBookReport); // break; // case "kf_mateoutsumreport": // //æé // Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport(); // oKf_MateOutSumReport.MdiParent = oMain; // oKf_MateOutSumReport.Show(); // oMainForm.AddTabPage(oKf_MateOutSumReport); // break; // case "kf_matestockaccount": // //æé // Kf_MateStockAccount oKf_MateStockAccount = new Kf_MateStockAccount(); // oKf_MateStockAccount.MdiParent = oMain; // oKf_MateStockAccount.Show(); // oMainForm.AddTabPage(oKf_MateStockAccount); // break; // case "kf_pstockinoutreport": // //æé // Kf_PStockInOutReport oKf_PStockInOutReport = new Kf_PStockInOutReport(); // oKf_PStockInOutReport.MdiParent = oMain; // oKf_PStockInOutReport.Show(); // oMainForm.AddTabPage(oKf_PStockInOutReport); // break; // case "kf_pstockinoutsumreport": // //æé // Kf_PStockInOutSumReport oKf_PStockInOutSumReport = new Kf_PStockInOutSumReport(); // oKf_PStockInOutSumReport.MdiParent = oMain; // oKf_PStockInOutSumReport.Show(); // oMainForm.AddTabPage(oKf_PStockInOutSumReport); // break; // case "kf_safestockreport": // //æé // Kf_SafeStockReport oKf_SafeStockReport = new Kf_SafeStockReport(); // oKf_SafeStockReport.MdiParent = oMain; // oKf_SafeStockReport.Show(); // oMainForm.AddTabPage(oKf_SafeStockReport); // break; // case "kf_mateoutrequestbilllist": // //æé // Kf_MateOutRequestBillList oKf_MateOutRequestBillList = new Kf_MateOutRequestBillList(); // oKf_MateOutRequestBillList.MdiParent = oMain; // oKf_MateOutRequestBillList.Show(); // oMainForm.AddTabPage(oKf_MateOutRequestBillList); // break; // case "kf_mateoutrequestbill": // // // Kf_MateOutRequestBill oKf_MateOutRequestBill = new Kf_MateOutRequestBill(); // oKf_MateOutRequestBill.ShowDialog(); // break; // //===================================æ¥è¡¨åæ // case "sc_queryreadyrptnoinstockreport": // //æé // WarM.Sc_QueryReadyRptNoInStockReport oSc_QueryReadyRptNoInStockReport = new WarM.Sc_QueryReadyRptNoInStockReport(); // oSc_QueryReadyRptNoInStockReport.MdiParent = oMain; // oSc_QueryReadyRptNoInStockReport.Show(); // oMainForm.AddTabPage(oSc_QueryReadyRptNoInStockReport); // break; // case "kf_barcodeoutinreport": // //æé // WarM.Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new WarM.Kf_BarCodeOutInReport(); // oKf_BarCodeOutInReport.MdiParent = oMain; // oKf_BarCodeOutInReport.Show(); // oMainForm.AddTabPage(oKf_BarCodeOutInReport); // break; // case "kf_icinventory_barcode": // //æé // WarM.Kf_ICInventory_BarCode oKf_ICInventory_BarCode = new WarM.Kf_ICInventory_BarCode(); // oKf_ICInventory_BarCode.MdiParent = oMain; // oKf_ICInventory_BarCode.Show(); // oMainForm.AddTabPage(oKf_ICInventory_BarCode); // break; // case "kf_icinventorylist": // //æé // WarM.KF_ICInventoryList oKF_ICInventoryList = new WarM.KF_ICInventoryList(); // oKF_ICInventoryList.MdiParent = oMain; // oKF_ICInventoryList.Show(); // oMainForm.AddTabPage(oKF_ICInventoryList); // break; // case "kf_mateoutinbookreport": // //æé // Kf_MateOutInBookReport oKf_MateOutInBookReport = new Kf_MateOutInBookReport(); // oKf_MateOutInBookReport.MdiParent = oMain; // oKf_MateOutInBookReport.Show(); // oMainForm.AddTabPage(oKf_MateOutInBookReport); // break; // case "kf_mateoutsumreport": // //æé // Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport(); // oKf_MateOutSumReport.MdiParent = oMain; // oKf_MateOutSumReport.Show(); // oMainForm.AddTabPage(oKf_MateOutSumReport); // break; // case "kf_matestockaccount": // //æé // Kf_MateStockAccount oKf_MateStockAccount = new Kf_MateStockAccount(); // oKf_MateStockAccount.MdiParent = oMain; // oKf_MateStockAccount.Show(); // oMainForm.AddTabPage(oKf_MateStockAccount); // break; // case "kf_pstockinoutreport": // //æé // Kf_PStockInOutReport oKf_PStockInOutReport = new Kf_PStockInOutReport(); // oKf_PStockInOutReport.MdiParent = oMain; // oKf_PStockInOutReport.Show(); // oMainForm.AddTabPage(oKf_PStockInOutReport); // break; // case "kf_pstockinoutsumreport": // //æé // Kf_PStockInOutSumReport oKf_PStockInOutSumReport = new Kf_PStockInOutSumReport(); // oKf_PStockInOutSumReport.MdiParent = oMain; // oKf_PStockInOutSumReport.Show(); // oMainForm.AddTabPage(oKf_PStockInOutSumReport); // break; // case "kf_safestockreport": // //æé // Kf_SafeStockReport oKf_SafeStockReport = new Kf_SafeStockReport(); // oKf_SafeStockReport.MdiParent = oMain; // oKf_SafeStockReport.Show(); // oMainForm.AddTabPage(oKf_SafeStockReport); // break; case "kf_agvrequestbill_fastlist": Kf_AGVRequestBill_FastList oKf_AGVRequestBill_FastList = new Kf_AGVRequestBill_FastList(); oKf_AGVRequestBill_FastList.MdiParent = oMain; oKf_AGVRequestBill_FastList.ModCaption = gnmc; oKf_AGVRequestBill_FastList.Show(); oMainForm.AddTabPage(oKf_AGVRequestBill_FastList); break; default: break; } SCM/SCM.csproj
@@ -76,7 +76,7 @@ </Reference> <Reference Include="Interop.Excel, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\..\..\..\çå¨å½é \ç卿ºä»£ç 20180829\ç卿ºä»£ç \NETERP\bin\x86\Debug\Interop.Excel.dll</HintPath> <HintPath>..\DLL\Interop.Excel.dll</HintPath> </Reference> <Reference Include="NPOI, Version=2.1.3.1, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> @@ -173,6 +173,12 @@ </Compile> <Compile Include="æ¡ç æå°\Gy_BarCodeBillEdit.Designer.cs"> <DependentUpon>Gy_BarCodeBillEdit.cs</DependentUpon> </Compile> <Compile Include="æ¡ç æå°\Kf_AGVRequestBill_FastList.cs"> <SubType>Form</SubType> </Compile> <Compile Include="æ¡ç æå°\Kf_AGVRequestBill_FastList.designer.cs"> <DependentUpon>Kf_AGVRequestBill_FastList.cs</DependentUpon> </Compile> <Compile Include="æ¡ç æå°\WMS_BarCodeStatusQuery.cs"> <SubType>Form</SubType> @@ -598,6 +604,10 @@ <SubType>Designer</SubType> <DependentUpon>Gy_BarCodeBillEdit.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="æ¡ç æå°\Kf_AGVRequestBill_FastList.resx"> <DependentUpon>Kf_AGVRequestBill_FastList.cs</DependentUpon> <SubType>Designer</SubType> </EmbeddedResource> <EmbeddedResource Include="æ¡ç æå°\WMS_BarCodeStatusQuery.resx"> <DependentUpon>WMS_BarCodeStatusQuery.cs</DependentUpon> <SubType>Designer</SubType> SCM/¹«ÓÃÀà/ClsPub1.cs
@@ -14,7 +14,7 @@ //public static string WEBSURL = "http://124.70.129.242/WEBS-WMS/WebService1.asmx"; //é çªè¯º //public static string WEBSURL = "http://192.168.1.29/WEBS-WMS/WebService1.asmx"; //å£é¾ å ç½ //public static string WEBSURL = "http://122.227.138.236/WEBS-WMS/WebService1.asmx"; //å£é¾(ä¸ç¨) //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS/WebService1.asmx"; //åç»´å° å¤ç½ public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS/WebService1.asmx"; //åç»´å° å¤ç½ //public static string WEBSURL = "http://192.168.0.66/WEBS-WMS/WebService1.asmx"; //åç»´å° å ç½ //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS-TEST/WebService1.asmx"; //åç»´å°æµè¯ //public static string WEBSURL = "http://220.189.218.154:8092/WEBS-WMS/WebService1.asmx"; //åç»´å° æ°ä¸é´å± å¤ç½ @@ -26,9 +26,11 @@ //public static string WEBSURL = "http://192.192.192.13/WMSWEBS/WebService1.asmx"; //åå //public static string WEBSURL = "http://120.195.29.36:1230/WEBS-WMS/WebService1.asmx"; //æ±èé¾äº¨ //public static string WEBSURL = "http://60.191.27.141:8090/WEBS-WMS/WebService1.asmx"; //森楷 public static string WEBSURL = "http://192.168.63.195/WEBS-WMS/WebService1.asmx"; //public static string WEBSURL = "http://192.168.63.195/WEBS-WMS/WebService1.asmx"; //public static string WEBSURL = "http://192.168.2.18/WEBS-WMS/WebService1.asmx"; //å ¬å¸å°å¼æº //public static string WEBSURL = "http://192.168.0.107/WEBS-WMS/WebService1.asmx"; //å®¶ //public static string WEBSURL = "http://47.96.97.237/WEBS-WMS/WebService1.asmx"; //å ¬å¸å°å¼æº public static long HOrgID = 0; public static string HOrgNumber = ""; public static long HPersonL = 2; // ä»åºäººå为1ï¼è½¦é´äººå为2 SCM/ÌõÂë´òÓ¡/Kf_AGVRequestBill_FastList.cs
New file @@ -0,0 +1,863 @@ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using gregn6Lib; //using SQLHelper; using DBUtility; using System.Threading; using System.IO; namespace SCM { public partial class Kf_AGVRequestBill_FastList : Form { public Kf_AGVRequestBill_FastList() { InitializeComponent(); } public frmBillQueryCondition_Base frmCondition; public string ViewName = "h_v_Kf_AGVRequestBillList"; public string ModCaption = "AGVé éåå表"; public const string ModName = "1299"; public const string ModRightName = "Kf_AGVRequestBill_FastList"; public const string ModRightNameEdit = ModRightName + "_Edit"; //å é¤ public const string ModRightNameCheck = ModRightName + "_Check"; public const string ModRightNameClose = ModRightName + "_Close"; public const string ModRightNameDelete = ModRightName + "_Delete"; //ä½åº public const string ModRightNamePrint = ModRightName + "_Print"; //æå° SCM.WMSWeb.WebService1 oWeb = new SCM.WMSWeb.WebService1(); public string CampanyName; //DAL.ClsGy_ICBomBill oBill = new DAL.ClsGy_ICBomBill(); //public Gy_ICBomBill oFrm; public int selectRow = 0; public int selectRow2 = 0; // private void initGrid() { ClsPub1.initGridList(grdMain, this.Name); } // private void Display() { //ClsCN SubCn = new ClsCN(); DataSet DSet; string sSql = ""; string sWhere = ""; //è¿æ»¤æ¡ä»¶ if (frmCondition.SqlStr.Trim().Length == 0) return; sSql = frmCondition.SqlStr + sWhere + " order by hmainid desc "; // DSet = oWeb.getDataSetBySQL(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo); //DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo); //çæé¦è¡æ é¢ if (DSet == null) { MessageBox.Show("没æè¿åä»»ä½ç»æ,请å¨è¿æ»¤æ¡ä¸ç¹å»ãæ¢å¤ãæé®,å°è¯å次æ¥è¯¢ï¼" + DBUtility.ClsPub.sExeReturnInfo); return; } // grdMain.DataSource = DSet.Tables[0].DefaultView; //å»ç» int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text); string s = frmCondition.cmbHComplete.Text; ClsPub1.DisplayGrid(grdMain, this.Name, s, FrCol); //ç»çº¿ GraphLine(); // } // private void timer1_Tick(object sender, EventArgs e) { timer1.Enabled=false; initGrid(); Display(); } private void tc_Click(object sender, EventArgs e) { this.Close(); } private void sx_Click(object sender, EventArgs e) { timer1.Enabled = true; } private void dj_Click(object sender, EventArgs e) { Sub_ShowBill(); } //æ¾ç¤ºåæ® private void Sub_ShowBill() { Int64 lngBillKey = 0; if (grdMain.CurrentRow == null) return; lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hitemid")].Value); if (lngBillKey == 0) return; Gy_BarCodeBillEdit oEdit = new Gy_BarCodeBillEdit(); oEdit.sItemID = lngBillKey; oEdit.sBarCode = DBUtility.ClsPub.isStrNull(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); oEdit.ShowDialog(); timer1.Enabled = true; } // private Int32 Fun_GetCol(string sCol) { return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdMain); } // private void Kf_AGVRequestBill_FastList_Load(object sender, EventArgs e) { //è®¾ç½®å¨æURL oWeb.Url = SCM.ClsPub1.WEBSURL; // frmCondition = new frmBillQueryCondition_Base(); this.Text = ModCaption; lblCaption.Text = ModCaption; initGrid(); } private void grdMain_DblClick(object sender, EventArgs e) { //Sub_ShowBill(); } private void cx_Click(object sender, EventArgs e) { frmCondition = new frmBillQueryCondition_Base(); SetCondition(frmCondition, ViewName, this.Name); frmCondition.ShowDialog(); if (frmCondition.Tag.ToString() == "OK") { Display(); } } public void SetCondition(frmBillQueryCondition_Base frmCondition, string ViewName, string Name) { frmCondition.Tag = ""; frmCondition.ViewName = ViewName; frmCondition.ModName = Name; } private void xz_Click(object sender, EventArgs e) { // //oFrm = new Gy_ICBomBill(); //oFrm.ShowDialog(); } private void sc_Click(object sender, EventArgs e) { Sub_DeleteBill(); } //å é¤ private void Sub_DeleteBill() { //WEBS if (!oWeb.getSecurity_Log(ModRightNameEdit, DBUtility.ClsPub.CurUserName, ref DBUtility.ClsPub.sExeReturnInfo)) { MessageBox.Show("æ¨æ²¡æå 餿éï¼"); return; } Int64 lngBillKey = 0; string HBarCode = ""; if (grdMain.CurrentRow == null) return; if (grdMain.SelectedRows.Count != 1) { MessageBox.Show("ä¸å 许å¤è¡å é¤ï¼è¯·éæ°éæ©è¦å é¤çæ¡ç ï¼"); return; } //--å¶åäººå¿ é¡»ç¸å if (CampanyName == "森楷") //ç³»ç»åæ° å®¢æ·å®å¶ååç§° { if (DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[0].Cells[Fun_GetCol("å¶å人")].Value) != DBUtility.ClsPub.CurUserName) { MessageBox.Show("æ¨éç第" + grdMain.SelectedRows[0].Index.ToString() + "è¡ï¼æ¡ç å¶åäººä¸æ¯æ¨æ¬äººï¼ä¸å 许å é¤ï¼"); return; } } if (MessageBox.Show("ç¡®å®è¦å 餿鿡ç ï¼å é¤åä¸è½æ¢å¤ï¼è¯·è°¨æ æä½ï¼", "æç¤º", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) { lngBillKey = DBUtility.ClsPub.isLong(grdMain.SelectedRows[0].Cells[Fun_GetCol("hmainid")].Value); HBarCode = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[0].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); if (lngBillKey == 0) return; try { DataSet DS = oWeb.getDataSetBySQL("exec h_p_Gy_BarCodeBill_Delete " + lngBillKey + ",'" + HBarCode + "','" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.ComputerName + "','" + DBUtility.ClsPub.IPAddress + "'", "h_p_Gy_BarCodeBill_Delete", ref DBUtility.ClsPub.sExeReturnInfo); if (DS == null || DS.Tables[0].Rows.Count <= 0) { MessageBox.Show("å é¤å¤±è´¥ï¼"); return; } else { MessageBox.Show(DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0]["HRemark"])); Display(); } } catch (Exception e) { throw (e); } } //åå å 餿¡ç æ¹æ³ //DataSet DS; //DataSet DS2; //bool sBool = true; //Int64 lngBillKey = 0; //if (grdMain.CurrentRow == null) // return; //if (MessageBox.Show("ç¡®å®è¦å 餿éåæ®ï¼", "æç¤º", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) //{ // for (int i = 0; i <= grdMain.SelectedRows.Count - 1; i++) // { // lngBillKey = DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("hmainid")].Value); // if (lngBillKey == 0) // return; // try // { // DS = oWeb.getDataSetBySQL("Select * from Gy_BarCodeBill Where HItemID=" + lngBillKey, "Gy_BarCodeBill", ref DBUtility.ClsPub.sExeReturnInfo); // DS2 = oWeb.getDataSetBySQL("Select * from Gy_BarCodeBill a inner join Kf_ICStockBillSub_WMS b on a.HBarCode=b.HBarCode where a.HItemID=" + lngBillKey, "Gy_BarCodeBill", ref DBUtility.ClsPub.sExeReturnInfo); // if (DS2.Tables[0].Rows.Count == 0) // { // sBool = false; // } // else // { // sBool = true; // } // if (DS.Tables[0].Rows.Count == 0) // { // MessageBox.Show("åæ®æªæ¾å°ï¼", "æç¤º"); // return; // } // else // { // if (sBool) // { // MessageBox.Show("å é¤å¤±è´¥ï¼æ¡ç " + grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value + "已被使ç¨", "æç¤º"); // Display(); // return; // } // else // { // oWeb.getRunProc("Delete from Gy_BarCodeBill where HItemID=" + lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo); // oWeb.getRunProc("insert into System_log values(GETDATE(),'" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.CurUserName + "','å 餿¡ç ï¼" + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value) + "' ,'WMSç³»ç»','','å é¤')", ref DBUtility.ClsPub.sExeReturnInfo); // } // } // } // catch (Exception e) // { // throw (e); // } // } //} //MessageBox.Show("å 餿åï¼", "æç¤º"); //Display(); } //å é¤ private void Sub_MulDeleteBill() { //WEBS if (!oWeb.getSecurity_Log(ModRightNameEdit, DBUtility.ClsPub.CurUserName, ref DBUtility.ClsPub.sExeReturnInfo)) { MessageBox.Show("æ¨æ²¡æå 餿éï¼"); return; } string HItemID = ""; string HBarCode = ""; if (grdMain.CurrentRow == null) return; if (MessageBox.Show("ç¡®å®è¦æ¹éå 餿鿡ç ï¼å é¤åä¸è½æ¢å¤ï¼è¯·è°¨æ æä½ï¼", "æç¤º", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) { for (int i = 0; i < grdMain.SelectedRows.Count; i++) { HItemID = HItemID + "," + DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("hmainid")].Value.ToString()); HBarCode = HBarCode + "," + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); //--å¶åäººå¿ é¡»ç¸å if (CampanyName == "森楷") //ç³»ç»åæ° å®¢æ·å®å¶ååç§° { if (DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("å¶å人")].Value) != DBUtility.ClsPub.CurUserName) { MessageBox.Show("æ¨éç第"+ grdMain.SelectedRows[i].Index.ToString() + "è¡ï¼æ¡ç å¶åäººä¸æ¯æ¨æ¬äººï¼ä¸å 许å é¤ï¼"); return; } } } try { DataSet DS = oWeb.getDataSetBySQL("exec h_p_Gy_BarCodeBill_MulDelete '" + HItemID + "','" + HBarCode + "','" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.ComputerName + "','" + DBUtility.ClsPub.IPAddress + "'", "h_p_Gy_BarCodeBill_MulDelete", ref DBUtility.ClsPub.sExeReturnInfo); if (DS == null || DS.Tables[0].Rows.Count <= 0) { MessageBox.Show("æ¹éå é¤å¤±è´¥ï¼"); return; } else { MessageBox.Show(DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0]["HRemark"])); Display(); } } catch (Exception e) { throw (e); } } ////åå æ¹éå 餿¡ç æ¹æ³ //DataSet DS; //DataSet DS2; //bool sBool = true; //Int64 lngBillKey = 0; //if (grdMain.SelectedRows == null) // return; //if (MessageBox.Show("ç¡®å®è¦æ¹éå 餿鿡ç ï¼å é¤åä¸è½æ¢å¤ï¼è¯·è°¨æ æä½", "æç¤º", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) //{ // string[] sSQLMul = new string[grdMain.SelectedRows.Count]; // for (int i = 0; i <= grdMain.SelectedRows.Count - 1; i++) // { // lngBillKey = DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("hmainid")].Value); // sSQLMul[i] = " Delete from Gy_BarCodeBill where HItemID= " + lngBillKey ; // sSQLMul[i] = sSQLMul[i] + " " + "insert into System_log values(GETDATE(),'" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.CurUserName + "','å 餿¡ç ï¼" + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value) + "' ,'WMSç³»ç»','','å é¤')"; // } // oWeb.getRunProcByMul(sSQLMul, ref DBUtility.ClsPub.sExeReturnInfo); //} //MessageBox.Show("æ¹éå 餿åï¼", "æç¤º"); //Display(); } private void timer2_Tick(object sender, EventArgs e) { timer2.Enabled = false; frmCondition = new frmBillQueryCondition_Base(); SetCondition(frmCondition, ViewName, this.Name); frmCondition.ShowDialog(); //è·åç³»ç»åæ° å®¢æ·å®å¶ååç§° DataSet Ds = oWeb.getDataSetBySQL("select HValue from Xt_SystemParameter with(nolock) where HKey='WMS_CampanyName'", "Xt_SystemParameter", ref DBUtility.ClsPub.sExeReturnInfo); if (Ds == null || Ds.Tables[0].Rows.Count == 0) { MessageBox.Show("è·åç³»ç»åæ°å¤±è´¥ï¼åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); return; } else { CampanyName = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HValue"]); } if (frmCondition.Tag.ToString() == "OK") { timer1.Enabled = true; } } private void bclk_Click(object sender, EventArgs e) { //ä¿åå宽 DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name); } private void mrlk_Click(object sender, EventArgs e) { DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name); } // private void GraphLine() { int MainIDCol = Fun_GetCol("hmainid"); int SubIDCol = Fun_GetCol("hsubid"); string s = frmCondition.cmbHComplete.Text; long n=0; DBUtility.Xt_BaseBillFun.GraphLine(grdMain, MainIDCol, SubIDCol, s, ref n); //æ¾ç¤º lbldj.Text = "æ¥è¯¢åº " + n.ToString() + " å¼ åæ®"; lbljl.Text = "å ±æ " + grdMain.RowCount.ToString() + " æ¡è®°å½"; } //å®¡æ ¸ private void sh_Click(object sender, EventArgs e) { this.Sub_CheckBill(); } //å®¡æ ¸åæ® private void Sub_CheckBill() { ////å®¡æ ¸æé //if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true,DBUtility.ClsPub.CurUserName)) //{ // return; //} //// //Int64 lngBillKey = 0; //if (grdMain.CurrentRow == null) // return; //lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); //if (lngBillKey == 0) // return; //DAL.ClsGy_ICBomBill oBill = new DAL.ClsGy_ICBomBill(); ////æ¥çæ¯å¦å·²å®¡æ ¸,å ³é,ä½åº //if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) //{ // if (oBill.omodel.HChecker.Trim() != "") // { // MessageBox.Show("åæ®å·²å®¡æ ¸!ä¸è½åæ¬¡å®¡æ ¸", "æç¤º"); // return; // } //} //else //{ // MessageBox.Show("åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); // return; //} ////å®¡æ ¸ //if (oBill.CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) //{ // MessageBox.Show("å®¡æ ¸æå!", "æç¤º"); // return; //} //else //{ // MessageBox.Show("å®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); // return; //} } //å审忮 private void Sub_AbandonCheck() { ////å®¡æ ¸æé //if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true,DBUtility.ClsPub.CurUserName)) //{ // return; //} //// //Int64 lngBillKey = 0; //if (grdMain.CurrentRow == null) // return; //lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); //if (lngBillKey == 0) // return; //DAL.ClsGy_ICBomBill oBill = new DAL.ClsGy_ICBomBill(); ////æ¥çæ¯å¦å·²å®¡æ ¸,å ³é,ä½åº //if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) //{ // if (oBill.omodel.HChecker.Trim() == "") // { // MessageBox.Show("åæ®æªå®¡æ ¸!ä¸éè¦åå®¡æ ¸!", "æç¤º"); // return; // } //} //else //{ // MessageBox.Show("åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); // return; //} ////åå®¡æ ¸ //if (oBill.AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) //{ // MessageBox.Show("åå®¡æ ¸æå!", "æç¤º"); // return; //} //else //{ // MessageBox.Show("åå®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); // return; //} } //åå®¡æ ¸ private void qsh_Click(object sender, EventArgs e) { Sub_AbandonCheck(); } private void GraphicsGrid() { DBUtility.Xt_BaseBillFun.GraphicsGrid(grdMain); } #region //æå°è®¾ç½® GridppReport Report; string sBarCode = ""; //é¢è§ int CurRows = 0; private void yl_Click(object sender, EventArgs e) { //WEBS if (!oWeb.getSecurity_Log(ModRightNamePrint, DBUtility.ClsPub.CurUserName, ref DBUtility.ClsPub.sExeReturnInfo)) { MessageBox.Show("æ¨æ²¡ææå°é¢è§æéï¼"); return; } //æå°å夿æ¡ç æ¯å¦å·²æå°è¿ if (ReportPrintBegin()) { return; } //éæ©æå°æ¨¡æ¿ SCM.Gy_OpenTmp oFrm = new SCM.Gy_OpenTmp(); oFrm.sBillName = ModName; oFrm.sBillModel = ModCaption; oFrm.ShowDialog(); if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK) { Sub_SetReport(oFrm.sOpenTmp); Report.PrintPreview(false); Thread.Sleep(1000); } } //æå°å夿æ¡ç æ¯å¦å·²æå°è¿ private bool ReportPrintBegin() { sBarCode = ""; string sRelQty = ""; for (int i = 0; i < grdMain.SelectedRows.Count; i++) { sBarCode = sBarCode + "," + DBUtility.ClsPub.isStrNull(grdMain.Rows[grdMain.SelectedRows[i].Index].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); } if (oWeb.Set_BPrintQtyBarCode(sBarCode.Substring(1), ref sRelQty)) { MessageBox.Show(sRelQty); return true; } else { return false; } } //æå°ç»æååå¡«æ¡ç æå°æ¬¡æ° private void ReportPrintEnd() { try { oWeb.getRunProc("exec h_p_Gy_BarCodePrintQty_Update '" + sBarCode + "'", ref DBUtility.ClsPub.sExeReturnInfo); } catch (Exception e) { MessageBox.Show("æå°å¤±è´¥!æå°ç»æ ï¼" + e.Message); } } private void Sub_SetReport(string sOpenTmp) { //å¤æè¡æ° for (int i = 0; i < grdMain.Rows.Count; i++) { grdMain.Rows[i].Cells[0].Value = ""; } for (int i = 0; i < grdMain.SelectedRows.Count; i++) { grdMain.Rows[grdMain.SelectedRows[i].Index].Cells[0].Value = "*"; } // Report = new GridppReport(); Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + sOpenTmp + ".grf"); //here . Report.BeforePostRecord += new _IGridppReportEvents_BeforePostRecordEventHandler(ReportBeforePostRecord); Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable); Report.PrintEnd += new _IGridppReportEvents_PrintEndEventHandler(ReportPrintEnd); } //å¡«å ¥åæ®è¡¨å¤´ä¿¡æ¯ private void ReportBeforePostRecord()//your report?kao { try { //Report.FieldByName("ç©æä»£ç ").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("ç©æä»£ç ")].Value.ToString(); //Report.FieldByName("ç©æåç§°").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("ç©æåç§°")].Value.ToString(); //Report.FieldByName("è§æ ¼åå·").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("è§æ ¼åå·")].Value.ToString(); ////Report.FieldByName("èªå®ä¹è§æ ¼").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("èªå®ä¹è§æ ¼")].Value.ToString(); //Report.FieldByName("æ¡ç ç¼å·").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value.ToString(); //Report.FieldByName("æ°é").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("æ°é")].Value.ToString(); //Report.FieldByName("æ¹æ¬¡").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("æ¹å·")].Value.ToString(); //Report.FieldByName("æºååå·").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("æºååå·")].Value.ToString(); //Report.FieldByName("éå®è®¢åå·").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("éå®è®¢åå·")].Value.ToString(); //Report.FieldByName("éè´è®¢åå·").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("éè´è®¢åå·")].Value.ToString(); //Report.FieldByName("ä¾åºå").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("徿¥åä½")].Value.ToString(); //Report.FieldByName("ç产车é´").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("ç产车é´")].Value.ToString(); //Report.FieldByName("夿³¨").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("夿³¨")].Value.ToString(); //Report.FieldByName("æ»ææ°").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("æ»ææ°")].Value.ToString(); //Report.FieldByName("æå·").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("æå·")].Value.ToString(); } catch (Exception e) { MessageBox.Show("æå°å¤±è´¥!表头ï¼" + e.Message); } //CurRows = CurRows + 1; } private void ReportFetchRecordByDataTable() { try { DataTable ds = new DataTable(); SCM.Utility.FillRecordToReport(Report, grdMain, ds, Fun_GetCol("éæ©")); //BLL.Utility.FillRecordToReport_Sel(Report, grdMain, ds, Fun_GetCol("éæ©")); } catch (Exception e) { MessageBox.Show("æå°å¤±è´¥!表ä½ï¼" + e.Message); } } #endregion // private void grdMain_Paint(object sender, PaintEventArgs e) { GraphicsGrid(); } private void dy_Click(object sender, EventArgs e) { //WEBS if (!oWeb.getSecurity_Log(ModRightNamePrint, DBUtility.ClsPub.CurUserName, ref DBUtility.ClsPub.sExeReturnInfo)) { MessageBox.Show("æ¨æ²¡ææå°é¢è§æéï¼"); return; } //æå°å夿æ¡ç æ¯å¦å·²æå°è¿ if (ReportPrintBegin()) { return; } //éæ©æå°æ¨¡æ¿ SCM.Gy_OpenTmp oFrm = new SCM.Gy_OpenTmp(); oFrm.sBillName = ModName; oFrm.sBillModel = ModCaption; oFrm.ShowDialog(); if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK) { Sub_SetReport(oFrm.sOpenTmp); Report.Print(true); //oBar.Set_PrintQty(DBUtility.ClsPub.isStrNull(grdMain.Rows[CurRows].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value)); Thread.Sleep(1000); } } private void dy2_Click(object sender, EventArgs e) { ////éæ©æå°æ¨¡æ¿ //BLL.Gy_OpenTmp oFrm = new BLL.Gy_OpenTmp(); //DAL.ClsGy_BarCodeBill_Ctl oBar = new DAL.ClsGy_BarCodeBill_Ctl(); //oFrm.sBillName = ModName; //oFrm.sBillModel = ModCaption; //oFrm.ShowDialog(); //if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK) //{ // // // for (int i = 0; i <= grdMain.SelectedRows.Count - 1; i++) // { // selectRow = i; // selectRow2 = i + 1; // Sub_SetReport(oFrm.sOpenTmp); // Report.Print(false); // oBar.Set_PrintQty(DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value)); // // // if (selectRow2 > grdMain.SelectedRows.Count - 1) // { // } // else // { // oBar.Set_PrintQty(DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i + 1].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value)); // } // Thread.Sleep(1000); // i++; // } //} } private void yc_Click(object sender, EventArgs e) { DataGridViewToExcel2(grdMain, this.Text, this.Text); } /// <summary> /// ç½æ ¼ 导åºEXCEL ç½æ ¼ï¼æä»¶åï¼æ é¢å /// </summary> public static void DataGridViewToExcel2(DataGridView grdMain, string sText, string sBTText) { SaveFileDialog saveFileDialog = new SaveFileDialog(); saveFileDialog.Filter = "Execlæä»¶(*.xls)|*.xls"; saveFileDialog.FilterIndex = 0; saveFileDialog.RestoreDirectory = true; saveFileDialog.CreatePrompt = true; saveFileDialog.Title = "æ°æ®è§å¾å¯¼åºEXCELæä»¶"; saveFileDialog.FileName = sText; //saveFileDialog.ShowDialog(); if (saveFileDialog.ShowDialog() == DialogResult.OK) { Stream myStream; myStream = saveFileDialog.OpenFile(); StreamWriter sw = new StreamWriter(myStream, System.Text.Encoding.GetEncoding("gb2312")); string str = ""; DateTime start = DateTime.Now; try { if (sBTText != "") { sw.WriteLine(sBTText); } //åæ é¢ bool sFirstCol = true; for (int i = 0; i < grdMain.ColumnCount; i++) { if (i > 0 && grdMain.Columns[i].HeaderText.Substring(0, 1) != "h" && grdMain.Columns[i].HeaderText.Substring(0, 1) != "H" && sFirstCol != true) { str += "\t"; } if (grdMain.Columns[i].HeaderText.Substring(0, 1) != "h" && grdMain.Columns[i].HeaderText.Substring(0, 1) != "H") { sFirstCol = false; str += grdMain.Columns[i].HeaderText; } } str = str.Replace("\n", ""); sw.WriteLine(str); //åå 容 for (int j = 0; j < grdMain.Rows.Count; j++) { string tempStr = ""; sFirstCol = true; for (int k = 0; k < grdMain.Columns.Count; k++) { if (k > 0 && grdMain.Columns[k].HeaderText.Substring(0, 1) != "h" && grdMain.Columns[k].HeaderText.Substring(0, 1) != "H" && sFirstCol != true) { tempStr += "\t"; } if (grdMain.Columns[k].HeaderText.Substring(0, 1) != "h" && grdMain.Columns[k].HeaderText.Substring(0, 1) != "H") { sFirstCol = false; if (grdMain.Rows[j].Cells[k].Value == null) { tempStr += string.Empty; } else { tempStr += grdMain.Rows[j].Cells[k].Value.ToString(); } } } tempStr = tempStr.Replace("\n", ""); sw.WriteLine(tempStr); } sw.Close(); myStream.Close(); } catch (Exception ex) { MessageBox.Show(ex.Message); } finally { sw.Close(); myStream.Close(); } MessageBox.Show("å°æ¤å·¥ä½è¡¨å¯¼åºä¸ºexcelå ±èæ¶ï¼" + DateTime.Now.Subtract(start).TotalMilliseconds.ToString() + "毫ç§"); } } //导åºåè½ private void dc_Click(object sender, EventArgs e) { SCM.å ¬ç¨ç±».Xt_BaseBillFun.DataToExcel(this.Text, grdMain); } private void zf_Click(object sender, EventArgs e) { // ; //WEBS if (!oWeb.getSecurity_Log(ModRightNameDelete, DBUtility.ClsPub.CurUserName, ref DBUtility.ClsPub.sExeReturnInfo)) { MessageBox.Show("æ¨æ²¡ææéï¼"); return; } if (grdMain.CurrentRow == null) return; if (MessageBox.Show("ç¡®å®è¦ä½åºæéæ¡ç ï¼", "æç¤º", MessageBoxButtons.OKCancel) == DialogResult.Cancel) { return; } for (int i = 0; i <= grdMain.SelectedRows.Count - 1; i++) { if (DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("HMaterID")].Value) != 0) { if (!oWeb.set_CancelltionBarCodeBill(DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value))) { MessageBox.Show("ä½åºå¤±è´¥ï¼", "æç¤º"); return; } } } MessageBox.Show("ä½åºæåï¼", "æç¤º"); Display(); } private void fzf_Click(object sender, EventArgs e) { // //WEBS if (!oWeb.getSecurity_Log(ModRightNameDelete, DBUtility.ClsPub.CurUserName, ref DBUtility.ClsPub.sExeReturnInfo)) { MessageBox.Show("æ¨æ²¡ææéï¼"); return; } if (grdMain.CurrentRow == null) return; if (MessageBox.Show("ç¡®å®è¦åä½åºæéæ¡ç ï¼", "æç¤º", MessageBoxButtons.OKCancel) == DialogResult.Cancel) { return; } for (int i = 0; i <= grdMain.SelectedRows.Count - 1; i++) { if (DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("HMaterID")].Value) != 0) { if (!oWeb.set_UnCancelltionBarCodeBill(DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value))) { MessageBox.Show("åä½åºå¤±è´¥ï¼", "æç¤º"); return; } } } MessageBox.Show("åä½åºæåï¼", "æç¤º"); Display(); } private void ps_Click(object sender, EventArgs e) { Sub_MulDeleteBill(); } } } SCM/ÌõÂë´òÓ¡/Kf_AGVRequestBill_FastList.designer.cs
New file @@ -0,0 +1,596 @@ namespace SCM { partial class Kf_AGVRequestBill_FastList { /// <summary> /// å¿ éç设计å¨åéã /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// æ¸ çæææ£å¨ä½¿ç¨çèµæºã /// </summary> /// <param name="disposing">妿åºéæ¾æç®¡èµæºï¼ä¸º trueï¼å¦å为 falseã</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows çªä½è®¾è®¡å¨çæç代ç /// <summary> /// è®¾è®¡å¨æ¯ææéçæ¹æ³ - ä¸è¦ /// 使ç¨ä»£ç ç¼è¾å¨ä¿®æ¹æ¤æ¹æ³çå 容ã /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Kf_AGVRequestBill_FastList)); this.pPic = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.lbljl = new System.Windows.Forms.Label(); this.lbldj = new System.Windows.Forms.Label(); this.lblCaption = new System.Windows.Forms.Label(); this.Tool = new System.Windows.Forms.ToolStrip(); this.dy = new System.Windows.Forms.ToolStripButton(); this.dy2 = new System.Windows.Forms.ToolStripButton(); this.yl = new System.Windows.Forms.ToolStripButton(); this.yc = new System.Windows.Forms.ToolStripButton(); this.dc = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.cx = new System.Windows.Forms.ToolStripButton(); this.sx = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.xz = new System.Windows.Forms.ToolStripButton(); this.dj = new System.Windows.Forms.ToolStripButton(); this.sc = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); this.ps = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.zf = new System.Windows.Forms.ToolStripButton(); this.fzf = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.sh = new System.Windows.Forms.ToolStripButton(); this.qsh = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.tc = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.mrlk = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.bclk = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.timer2 = new System.Windows.Forms.Timer(this.components); this.grdMain = new System.Windows.Forms.DataGridView(); this.grdPrint = new System.Windows.Forms.DataGridView(); this.pPic.SuspendLayout(); this.panel1.SuspendLayout(); this.Tool.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit(); this.SuspendLayout(); // // pPic // this.pPic.BackColor = System.Drawing.Color.White; this.pPic.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pPic.BackgroundImage"))); this.pPic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.pPic.Controls.Add(this.panel1); this.pPic.Controls.Add(this.lblCaption); this.pPic.Dock = System.Windows.Forms.DockStyle.Top; this.pPic.Location = new System.Drawing.Point(0, 50); this.pPic.Name = "pPic"; this.pPic.Size = new System.Drawing.Size(1280, 53); this.pPic.TabIndex = 15; // // panel1 // this.panel1.Controls.Add(this.lbljl); this.panel1.Controls.Add(this.lbldj); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; this.panel1.Location = new System.Drawing.Point(1066, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(214, 53); this.panel1.TabIndex = 7; // // lbljl // this.lbljl.AutoSize = true; this.lbljl.Location = new System.Drawing.Point(24, 30); this.lbljl.Name = "lbljl"; this.lbljl.Size = new System.Drawing.Size(11, 12); this.lbljl.TabIndex = 1; this.lbljl.Text = " "; // // lbldj // this.lbldj.AutoSize = true; this.lbldj.Location = new System.Drawing.Point(24, 12); this.lbldj.Name = "lbldj"; this.lbldj.Size = new System.Drawing.Size(0, 12); this.lbldj.TabIndex = 0; // // lblCaption // this.lblCaption.AutoSize = true; this.lblCaption.BackColor = System.Drawing.Color.Transparent; this.lblCaption.Cursor = System.Windows.Forms.Cursors.No; this.lblCaption.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblCaption.Location = new System.Drawing.Point(12, 15); this.lblCaption.Name = "lblCaption"; this.lblCaption.Size = new System.Drawing.Size(98, 21); this.lblCaption.TabIndex = 4; this.lblCaption.Text = "åæ®å表"; this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Tool // this.Tool.AutoSize = false; this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage"))); this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22); this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.dy, this.dy2, this.yl, this.yc, this.dc, this.toolStripSeparator2, this.cx, this.sx, this.toolStripSeparator1, this.xz, this.dj, this.sc, this.toolStripSeparator10, this.ps, this.toolStripSeparator5, this.zf, this.fzf, this.toolStripSeparator6, this.sh, this.qsh, this.toolStripSeparator4, this.tc, this.toolStripSeparator3, this.toolStripSeparator9, this.mrlk, this.toolStripSeparator7, this.bclk, this.toolStripSeparator8}); this.Tool.Location = new System.Drawing.Point(0, 0); this.Tool.Name = "Tool"; this.Tool.Padding = new System.Windows.Forms.Padding(0); this.Tool.Size = new System.Drawing.Size(1280, 50); this.Tool.Stretch = true; this.Tool.TabIndex = 16; this.Tool.Text = "toolStrip1"; // // dy // this.dy.AutoSize = false; this.dy.Image = ((System.Drawing.Image)(resources.GetObject("dy.Image"))); this.dy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.dy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.dy.ImageTransparentColor = System.Drawing.Color.White; this.dy.Name = "dy"; this.dy.Size = new System.Drawing.Size(36, 47); this.dy.Text = "æå°"; this.dy.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.dy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.dy.Visible = false; this.dy.Click += new System.EventHandler(this.dy_Click); // // dy2 // this.dy2.AutoSize = false; this.dy2.Image = ((System.Drawing.Image)(resources.GetObject("dy2.Image"))); this.dy2.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.dy2.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.dy2.ImageTransparentColor = System.Drawing.Color.White; this.dy2.Name = "dy2"; this.dy2.Size = new System.Drawing.Size(36, 47); this.dy2.Text = "è¿æ"; this.dy2.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.dy2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.dy2.Visible = false; this.dy2.Click += new System.EventHandler(this.dy2_Click); // // yl // this.yl.AutoSize = false; this.yl.Image = ((System.Drawing.Image)(resources.GetObject("yl.Image"))); this.yl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.yl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.yl.ImageTransparentColor = System.Drawing.Color.Magenta; this.yl.Name = "yl"; this.yl.Size = new System.Drawing.Size(36, 47); this.yl.Text = "é¢è§"; this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.yl.Visible = false; this.yl.Click += new System.EventHandler(this.yl_Click); // // yc // this.yc.AutoSize = false; this.yc.Image = ((System.Drawing.Image)(resources.GetObject("yc.Image"))); this.yc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.yc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.yc.ImageTransparentColor = System.Drawing.Color.Magenta; this.yc.Name = "yc"; this.yc.Size = new System.Drawing.Size(36, 47); this.yc.Text = "å¼åº"; this.yc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.yc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.yc.Visible = false; this.yc.Click += new System.EventHandler(this.yc_Click); // // dc // this.dc.AutoSize = false; this.dc.Image = ((System.Drawing.Image)(resources.GetObject("dc.Image"))); this.dc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.dc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.dc.ImageTransparentColor = System.Drawing.Color.Magenta; this.dc.Name = "dc"; this.dc.Size = new System.Drawing.Size(36, 47); this.dc.Text = "导åº"; this.dc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.dc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.dc.Visible = false; this.dc.Click += new System.EventHandler(this.dc_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50); // // cx // this.cx.AutoSize = false; this.cx.Image = ((System.Drawing.Image)(resources.GetObject("cx.Image"))); this.cx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.cx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.cx.ImageTransparentColor = System.Drawing.Color.White; this.cx.Name = "cx"; this.cx.Size = new System.Drawing.Size(36, 47); this.cx.Text = "æ¥è¯¢"; this.cx.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.cx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.cx.Click += new System.EventHandler(this.cx_Click); // // sx // this.sx.AutoSize = false; this.sx.Image = ((System.Drawing.Image)(resources.GetObject("sx.Image"))); this.sx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sx.ImageTransparentColor = System.Drawing.Color.Magenta; this.sx.Name = "sx"; this.sx.Size = new System.Drawing.Size(36, 47); this.sx.Text = "å·æ°"; this.sx.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sx.Visible = false; this.sx.Click += new System.EventHandler(this.sx_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50); this.toolStripSeparator1.Visible = false; // // xz // this.xz.AutoSize = false; this.xz.Image = ((System.Drawing.Image)(resources.GetObject("xz.Image"))); this.xz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.xz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.xz.ImageTransparentColor = System.Drawing.Color.Magenta; this.xz.Name = "xz"; this.xz.Size = new System.Drawing.Size(36, 47); this.xz.Text = "æ°å¢"; this.xz.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.xz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.xz.Visible = false; this.xz.Click += new System.EventHandler(this.xz_Click); // // dj // this.dj.AutoSize = false; this.dj.Image = ((System.Drawing.Image)(resources.GetObject("dj.Image"))); this.dj.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.dj.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.dj.ImageTransparentColor = System.Drawing.Color.White; this.dj.Name = "dj"; this.dj.Size = new System.Drawing.Size(36, 47); this.dj.Text = "ä¿®æ¹"; this.dj.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.dj.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.dj.Visible = false; this.dj.Click += new System.EventHandler(this.dj_Click); // // sc // this.sc.AutoSize = false; this.sc.Image = ((System.Drawing.Image)(resources.GetObject("sc.Image"))); this.sc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sc.ImageTransparentColor = System.Drawing.Color.Magenta; this.sc.Name = "sc"; this.sc.Size = new System.Drawing.Size(36, 47); this.sc.Text = "å é¤"; this.sc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sc.Visible = false; this.sc.Click += new System.EventHandler(this.sc_Click); // // toolStripSeparator10 // this.toolStripSeparator10.Name = "toolStripSeparator10"; this.toolStripSeparator10.Size = new System.Drawing.Size(6, 50); // // ps // this.ps.AutoSize = false; this.ps.Image = ((System.Drawing.Image)(resources.GetObject("ps.Image"))); this.ps.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.ps.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.ps.ImageTransparentColor = System.Drawing.Color.Magenta; this.ps.Name = "ps"; this.ps.Size = new System.Drawing.Size(36, 47); this.ps.Text = "æ¹å "; this.ps.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ps.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.ps.Visible = false; this.ps.Click += new System.EventHandler(this.ps_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50); // // zf // this.zf.AutoSize = false; this.zf.Image = ((System.Drawing.Image)(resources.GetObject("zf.Image"))); this.zf.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.zf.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.zf.ImageTransparentColor = System.Drawing.Color.Magenta; this.zf.Name = "zf"; this.zf.Size = new System.Drawing.Size(36, 47); this.zf.Text = "ä½åº"; this.zf.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.zf.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.zf.Visible = false; this.zf.Click += new System.EventHandler(this.zf_Click); // // fzf // this.fzf.AutoSize = false; this.fzf.Image = ((System.Drawing.Image)(resources.GetObject("fzf.Image"))); this.fzf.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.fzf.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.fzf.ImageTransparentColor = System.Drawing.Color.Magenta; this.fzf.Name = "fzf"; this.fzf.Size = new System.Drawing.Size(40, 47); this.fzf.Text = "åä½åº"; this.fzf.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.fzf.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.fzf.Visible = false; this.fzf.Click += new System.EventHandler(this.fzf_Click); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(6, 50); // // sh // this.sh.AutoSize = false; this.sh.Image = ((System.Drawing.Image)(resources.GetObject("sh.Image"))); this.sh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sh.ImageTransparentColor = System.Drawing.Color.Magenta; this.sh.Name = "sh"; this.sh.Size = new System.Drawing.Size(36, 47); this.sh.Text = "å®¡æ ¸"; this.sh.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sh.Visible = false; this.sh.Click += new System.EventHandler(this.sh_Click); // // qsh // this.qsh.AutoSize = false; this.qsh.Image = ((System.Drawing.Image)(resources.GetObject("qsh.Image"))); this.qsh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.qsh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.qsh.ImageTransparentColor = System.Drawing.Color.Magenta; this.qsh.Name = "qsh"; this.qsh.Size = new System.Drawing.Size(36, 47); this.qsh.Text = "å审"; this.qsh.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.qsh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.qsh.Visible = false; this.qsh.Click += new System.EventHandler(this.qsh_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 50); this.toolStripSeparator4.Visible = false; // // tc // this.tc.AutoSize = false; this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image"))); this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tc.ImageTransparentColor = System.Drawing.Color.White; this.tc.Name = "tc"; this.tc.Size = new System.Drawing.Size(36, 47); this.tc.Text = "éåº"; this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.tc.Click += new System.EventHandler(this.tc_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50); // // toolStripSeparator9 // this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50); // // mrlk // this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image"))); this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.mrlk.ImageTransparentColor = System.Drawing.Color.White; this.mrlk.Name = "mrlk"; this.mrlk.Size = new System.Drawing.Size(60, 47); this.mrlk.Text = "é»è®¤å宽"; this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.mrlk.Click += new System.EventHandler(this.mrlk_Click); // // toolStripSeparator7 // this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50); // // bclk // this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image"))); this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.bclk.ImageTransparentColor = System.Drawing.Color.White; this.bclk.Name = "bclk"; this.bclk.Size = new System.Drawing.Size(60, 47); this.bclk.Text = "ä¿åå宽"; this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.bclk.Click += new System.EventHandler(this.bclk_Click); // // toolStripSeparator8 // this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // timer2 // this.timer2.Enabled = true; this.timer2.Tick += new System.EventHandler(this.timer2_Tick); // // grdMain // this.grdMain.AllowUserToAddRows = false; this.grdMain.AllowUserToDeleteRows = false; this.grdMain.BackgroundColor = System.Drawing.SystemColors.InactiveCaption; this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; this.grdMain.Location = new System.Drawing.Point(0, 103); this.grdMain.Name = "grdMain"; this.grdMain.ReadOnly = true; this.grdMain.RowTemplate.Height = 23; this.grdMain.Size = new System.Drawing.Size(1280, 428); this.grdMain.TabIndex = 19; this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint); this.grdMain.DoubleClick += new System.EventHandler(this.grdMain_DblClick); // // grdPrint // this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdPrint.Location = new System.Drawing.Point(772, 146); this.grdPrint.Name = "grdPrint"; this.grdPrint.RowTemplate.Height = 23; this.grdPrint.Size = new System.Drawing.Size(25, 24); this.grdPrint.TabIndex = 8; this.grdPrint.Visible = false; // // Kf_AGVRequestBill_FastList // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1280, 531); this.Controls.Add(this.grdMain); this.Controls.Add(this.pPic); this.Controls.Add(this.Tool); this.Controls.Add(this.grdPrint); this.Name = "Kf_AGVRequestBill_FastList"; this.Text = "åæ®å表"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Kf_AGVRequestBill_FastList_Load); this.pPic.ResumeLayout(false); this.pPic.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.Tool.ResumeLayout(false); this.Tool.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Panel pPic; private System.Windows.Forms.Label lblCaption; private System.Windows.Forms.ToolStrip Tool; private System.Windows.Forms.ToolStripButton yl; private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; private System.Windows.Forms.ToolStripButton cx; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.ToolStripButton tc; private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; public System.Windows.Forms.Timer timer1; private System.Windows.Forms.ToolStripButton sx; private System.Windows.Forms.ToolStripButton dj; private System.Windows.Forms.ToolStripButton xz; private System.Windows.Forms.ToolStripButton sc; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; private System.Windows.Forms.Timer timer2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; private System.Windows.Forms.ToolStripButton mrlk; private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; private System.Windows.Forms.ToolStripButton bclk; private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; private System.Windows.Forms.ToolStripButton sh; private System.Windows.Forms.ToolStripButton qsh; private System.Windows.Forms.DataGridView grdMain; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label lbljl; private System.Windows.Forms.Label lbldj; private System.Windows.Forms.DataGridView grdPrint; private System.Windows.Forms.ToolStripButton dy; private System.Windows.Forms.ToolStripButton dy2; private System.Windows.Forms.ToolStripButton yc; private System.Windows.Forms.ToolStripButton fzf; private System.Windows.Forms.ToolStripButton zf; private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; private System.Windows.Forms.ToolStripButton ps; private System.Windows.Forms.ToolStripButton dc; } } SCM/ÌõÂë´òÓ¡/Kf_AGVRequestBill_FastList.resx
New file Diff too large