⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 productplancheck.h

📁 这是一个工厂的生产线的仓库管理.有计划,实绩,库存等
💻 H
📖 第 1 页 / 共 4 页
字号:
#pragma once
#include "DBBase.h"
#include "infClass.h"

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;


namespace FAP
{
	/// <summary> 
	/// ProductPlanCheck 偺奣梫
	///
	/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨 
	///          儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪 
	///          曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄
	///          僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑丄
	///          惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
	/// </summary>
	public __gc class ProductPlanCheck : public System::Windows::Forms::Form
	{
		public: 
			ProductPlanCheck(void)
			{
				InitializeComponent();
			}

			ProductPlanCheck(infClass * infClsTmp)
			{
				InitializeComponent();

				oInf = infClsTmp;
				iLanguage	= oInf->intLang;
				sFactory	= oInf->strFactoryCode;
				sLine		= oInf->strLine;
				sProcess	= oInf->strProcess;
				iGroup		= oInf->intGroup;
				cShift		= oInf->strShift;
			}
	        
		protected: 
			void Dispose(Boolean disposing)
			{
				if (disposing && components)
				{
					components->Dispose();
				}
				__super::Dispose(disposing);
			}

		private:

			///////////////////////////
			//write by zhanghongliang
			String * sMySQL;
			String * sMySQL2;
			///////////////////////////////
			//Global Palameter
			int 		iLanguage;
			String*		sFactory;
			String*		sLine;
			String*		sProcess;
			int 		iGroup;
			String*		cShift;
			infClass*	oInf;
			DBBase*		oDB;
			DataSet*	oDSet;
			DataView*	oDView;

			DataGridTableStyle*	oTableStylePlan;
			DataSet*	oDataSetPlan;
			DataTable*	oDataTablePlan;
			DataGridTableStyle*	oTableStyleDetail;
			DataSet*	oDataSetDetail;
			DataTable*	oDataTableDetail;
			//DataView* oDataView1;


		private: System::Windows::Forms::Label *  lbl_Title;


		private: System::Windows::Forms::Label *  label3;
		private: System::Windows::Forms::DataGrid *  dataGridPlan;


		private: System::Windows::Forms::TextBox *  textLastUp;
		private: System::Windows::Forms::Button *  buttonPrint;
	private: System::Windows::Forms::Label *  label1;
	private: System::Windows::Forms::ComboBox *  comboSection;
	private: System::Windows::Forms::Label *  label2;
	private: System::Windows::Forms::Button *  buttonSearch;
	private: System::Windows::Forms::ComboBox *  comboLine;
	private: System::Windows::Forms::Label *  label4;


	private: System::Windows::Forms::Label *  label5;
	private: System::Windows::Forms::DateTimePicker *  dtpFrom;
	private: System::Windows::Forms::DateTimePicker *  dtpTo;


	private: System::Windows::Forms::Button *  buttonClose;




		private:
			void InitProductPlanCheck(void);
			void SetValueComboSection(void);
			void InitGridPlan(void);
			//void InitGridDetail(void);
			void GetGridDataPlan(String* sProcessNo);
			void GetGridDataDetail(String* sProcessNo);
			void GetLastUpdate(void);

		private:
			/// <summary>
			/// 昁梫側僨僓僀僫曄悢偱偡丅
			/// </summary>
			System::ComponentModel::Container* components;

			/// <summary>
			/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
			/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
			/// </summary>
			void InitializeComponent(void)
			{
				System::Resources::ResourceManager *  resources = new System::Resources::ResourceManager(__typeof(FAP::ProductPlanCheck));
				this->lbl_Title = new System::Windows::Forms::Label();
				this->label3 = new System::Windows::Forms::Label();
				this->textLastUp = new System::Windows::Forms::TextBox();
				this->dataGridPlan = new System::Windows::Forms::DataGrid();
				this->buttonPrint = new System::Windows::Forms::Button();
				this->buttonClose = new System::Windows::Forms::Button();
				this->label1 = new System::Windows::Forms::Label();
				this->comboSection = new System::Windows::Forms::ComboBox();
				this->label2 = new System::Windows::Forms::Label();
				this->buttonSearch = new System::Windows::Forms::Button();
				this->comboLine = new System::Windows::Forms::ComboBox();
				this->label4 = new System::Windows::Forms::Label();
				this->dtpFrom = new System::Windows::Forms::DateTimePicker();
				this->dtpTo = new System::Windows::Forms::DateTimePicker();
				this->label5 = new System::Windows::Forms::Label();
				(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->dataGridPlan))->BeginInit();
				this->SuspendLayout();
				// 
				// lbl_Title
				// 
				this->lbl_Title->AccessibleDescription = resources->GetString(S"lbl_Title.AccessibleDescription");
				this->lbl_Title->AccessibleName = resources->GetString(S"lbl_Title.AccessibleName");
				this->lbl_Title->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"lbl_Title.Anchor")));
				this->lbl_Title->AutoSize = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"lbl_Title.AutoSize")));
				this->lbl_Title->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"lbl_Title.Dock")));
				this->lbl_Title->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"lbl_Title.Enabled")));
				this->lbl_Title->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"lbl_Title.Font")));
				this->lbl_Title->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"lbl_Title.Image")));
				this->lbl_Title->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"lbl_Title.ImageAlign")));
				this->lbl_Title->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"lbl_Title.ImageIndex")));
				this->lbl_Title->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"lbl_Title.ImeMode")));
				this->lbl_Title->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"lbl_Title.Location")));
				this->lbl_Title->Name = S"lbl_Title";
				this->lbl_Title->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"lbl_Title.RightToLeft")));
				this->lbl_Title->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"lbl_Title.Size")));
				this->lbl_Title->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"lbl_Title.TabIndex")));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -