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

📄 partsmst.h

📁 这是一个工厂的生产线的仓库管理.有计划,实绩,库存等
💻 H
📖 第 1 页 / 共 5 页
字号:
#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> 
	/// Summary for PartsMst
	///
	/// WARNING: If you change the name of this class, you will need to change the 
	///          'Resource File Name' property for the managed resource compiler tool 
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public __gc class PartsMst : public System::Windows::Forms::Form
	{
	public: 
		PartsMst(void)
		{
			InitializeComponent();
		}
		
		PartsMst(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: System::Windows::Forms::Label *  label2;


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

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

	private: System::Windows::Forms::Label *  label5;
	private: System::Windows::Forms::Label *  label6;



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



	private: 
			 int 			iLanguage;
			 String*		sFactory;
			 String*		sLine;
			 String*		sProcess;
			 int 		    iGroup;
			 String*		cShift;
			 infClass*		oInf;
			 DBBase*		oDB;

			 DataSet*	oDataSet;
			 DataView*  oDataView;
               String __gc * abc[];
			 int			ilong;
			 //0初始,1新增,2修改,3删除
			 int			inmoproce;

	private: System::Windows::Forms::TextBox *  txtproductcode;
	private: System::Windows::Forms::TextBox *  txtproname;
	private: System::Windows::Forms::TextBox *  txtunit;
	private: System::Windows::Forms::TextBox *  txtmoney;
	private: System::Windows::Forms::TextBox *  txtproductname;
	private: System::Windows::Forms::Button *  btnsearch;
	private: System::Windows::Forms::Button *  btnNew;
	private: System::Windows::Forms::Button *  btnmodif;
	private: System::Windows::Forms::Button *  btndelete;
	private: System::Windows::Forms::Button *  btnOK;
	private: System::Windows::Forms::Button *  btnExit;
	private: System::Windows::Forms::Button *  btnCancel;
	private: System::Windows::Forms::Label *  Parts_Title;


	private: System::Windows::Forms::ComboBox *  comproducttype;
			
			 void InitGridGPartsMst();

			 void InitComboxItem();

			 bool EditCalender();

			 void setGridPartsMst(int intlanguage,int ilongt);
			 
			 void initcoll();

			 void initcoll1();

			 bool txtcheck();

			 bool fblncheck(DBBase *DBTmp);

			 bool fblninsertparts_mst();
			 
			 bool fblnupdateparts_mst();

			 bool fblndeleteparts_mst();
			 void begin(void);

	private: System::Windows::Forms::DataGrid *  GPartsMst;
			 /// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container* components;

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			System::Resources::ResourceManager *  resources = new System::Resources::ResourceManager(__typeof(FAP::PartsMst));
			this->GPartsMst = new System::Windows::Forms::DataGrid();
			this->Parts_Title = new System::Windows::Forms::Label();
			this->btnNew = new System::Windows::Forms::Button();
			this->btnmodif = new System::Windows::Forms::Button();
			this->btndelete = new System::Windows::Forms::Button();
			this->btnOK = new System::Windows::Forms::Button();
			this->btnExit = new System::Windows::Forms::Button();
			this->label2 = new System::Windows::Forms::Label();
			this->txtproductcode = new System::Windows::Forms::TextBox();
			this->txtproname = new System::Windows::Forms::TextBox();
			this->label3 = new System::Windows::Forms::Label();
			this->txtunit = new System::Windows::Forms::TextBox();
			this->label4 = new System::Windows::Forms::Label();
			this->txtmoney = new System::Windows::Forms::TextBox();
			this->label5 = new System::Windows::Forms::Label();
			this->label6 = new System::Windows::Forms::Label();
			this->comproducttype = new System::Windows::Forms::ComboBox();
			this->btnCancel = new System::Windows::Forms::Button();
			this->txtproductname = new System::Windows::Forms::TextBox();
			this->label7 = new System::Windows::Forms::Label();
			this->btnsearch = new System::Windows::Forms::Button();
			(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->GPartsMst))->BeginInit();
			this->SuspendLayout();
			// 
			// GPartsMst
			// 
			this->GPartsMst->AccessibleDescription = resources->GetString(S"GPartsMst.AccessibleDescription");
			this->GPartsMst->AccessibleName = resources->GetString(S"GPartsMst.AccessibleName");
			this->GPartsMst->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"GPartsMst.Anchor")));
			this->GPartsMst->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"GPartsMst.BackgroundImage")));
			this->GPartsMst->CaptionFont = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"GPartsMst.CaptionFont")));
			this->GPartsMst->CaptionText = resources->GetString(S"GPartsMst.CaptionText");
			this->GPartsMst->CaptionVisible = false;

⌨️ 快捷键说明

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