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

📄 frmdivide.h

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

#include "infClass.h"
#include "DBBase.h"
#include "ProductResultInput.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 frmDivide
	///
	/// 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 frmDivide : public System::Windows::Forms::Form
	{
	public: 
		frmDivide(void)
		{
			InitializeComponent();
		}
        
		frmDivide(infClass *infTmp,String * strProTmp,String *strNumTmp,String *strLotTmp)
		{
			InitializeComponent();

			infClsDivide = infTmp;
         iLanguage=infClsDivide->intLang;
			dbDivide = new DBBase();

			strProcode = strProTmp;

			strNumFrom = strNumTmp;

			strLot = strLotTmp;
		}
		
		static  const int intCParent = 1;
		static  const int intCChild  = 0;

	private:
		infClass * infClsDivide;
		DBBase   * dbDivide;
		String * strProcode;
		String * strNum;
		String * strNumFrom;
		String __gc *abc[];

		int iLanguage;
	private: System::Windows::Forms::TextBox *  textBox1;
	private: System::Windows::Forms::Label *  label4;
			 String * strLot;

		void FillGrid(int);
void begin(void);
		bool InstDeliver(String * strFactory, String * strOriginCode, 
			String * strDesCode,String * ProCode,
			String * strRank,Single intNum, 
			int intPartsDiv,String * strDelDate,
			String * strShift, String * ingLot);

		bool frmDivide::InstStock(String *strProCode,
			String *strRank,
			String * intNum,
			int intMode		//intMode 0: Stock increase - child  1: stock reduce - parent
			);

	private: System::Windows::Forms::TextBox *  txtQty;
	private: System::Windows::Forms::DataGrid *  dbGridDiv;
	protected: 
		void Dispose(Boolean disposing)
		{
			if (disposing && components)
			{
				components->Dispose();
			}
			__super::Dispose(disposing);
		}

	private: System::Windows::Forms::TextBox *  txtProName;
	private: System::Windows::Forms::Label *  label1;


	private: System::Windows::Forms::TextBox *  txtProCode;
	private: System::Windows::Forms::Label *  label2;
	private: System::Windows::Forms::Button *  cmdPrint;

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


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


	private:
		/// <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::frmDivide));
			this->txtProName = new System::Windows::Forms::TextBox();
			this->label1 = new System::Windows::Forms::Label();
			this->txtProCode = new System::Windows::Forms::TextBox();
			this->label2 = new System::Windows::Forms::Label();
			this->cmdPrint = new System::Windows::Forms::Button();
			this->lbl_Title = new System::Windows::Forms::Label();
			this->button3 = new System::Windows::Forms::Button();
			this->txtQty = new System::Windows::Forms::TextBox();
			this->label3 = new System::Windows::Forms::Label();
			this->dbGridDiv = new System::Windows::Forms::DataGrid();
			this->textBox1 = new System::Windows::Forms::TextBox();
			this->label4 = new System::Windows::Forms::Label();
			(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->dbGridDiv))->BeginInit();
			this->SuspendLayout();
			// 
			// txtProName
			// 
			this->txtProName->AccessibleDescription = resources->GetString(S"txtProName.AccessibleDescription");
			this->txtProName->AccessibleName = resources->GetString(S"txtProName.AccessibleName");
			this->txtProName->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"txtProName.Anchor")));
			this->txtProName->AutoSize = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"txtProName.AutoSize")));
			this->txtProName->BackColor = System::Drawing::SystemColors::Menu;
			this->txtProName->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"txtProName.BackgroundImage")));
			this->txtProName->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"txtProName.Dock")));
			this->txtProName->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"txtProName.Enabled")));
			this->txtProName->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"txtProName.Font")));
			this->txtProName->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"txtProName.ImeMode")));
			this->txtProName->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"txtProName.Location")));
			this->txtProName->MaxLength = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"txtProName.MaxLength")));
			this->txtProName->Multiline = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"txtProName.Multiline")));
			this->txtProName->Name = S"txtProName";
			this->txtProName->PasswordChar = (*__try_cast<__box System::Char *  >(resources->GetObject(S"txtProName.PasswordChar")));
			this->txtProName->ReadOnly = true;
			this->txtProName->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"txtProName.RightToLeft")));
			this->txtProName->ScrollBars = (*__try_cast<__box System::Windows::Forms::ScrollBars *  >(resources->GetObject(S"txtProName.ScrollBars")));
			this->txtProName->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"txtProName.Size")));
			this->txtProName->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"txtProName.TabIndex")));
			this->txtProName->Text = resources->GetString(S"txtProName.Text");
			this->txtProName->TextAlign = (*__try_cast<__box System::Windows::Forms::HorizontalAlignment *  >(resources->GetObject(S"txtProName.TextAlign")));
			this->txtProName->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"txtProName.Visible")));
			this->txtProName->WordWrap = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"txtProName.WordWrap")));
			// 
			// label1
			// 
			this->label1->AccessibleDescription = resources->GetString(S"label1.AccessibleDescription");
			this->label1->AccessibleName = resources->GetString(S"label1.AccessibleName");
			this->label1->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"label1.Anchor")));
			this->label1->AutoSize = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"label1.AutoSize")));
			this->label1->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"label1.Dock")));
			this->label1->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"label1.Enabled")));
			this->label1->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"label1.Font")));
			this->label1->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"label1.Image")));
			this->label1->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"label1.ImageAlign")));
			this->label1->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"label1.ImageIndex")));
			this->label1->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"label1.ImeMode")));
			this->label1->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"label1.Location")));
			this->label1->Name = S"label1";
			this->label1->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"label1.RightToLeft")));
			this->label1->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"label1.Size")));
			this->label1->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"label1.TabIndex")));
			this->label1->Text = resources->GetString(S"label1.Text");
			this->label1->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"label1.TextAlign")));
			this->label1->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"label1.Visible")));
			// 
			// txtProCode
			// 
			this->txtProCode->AccessibleDescription = resources->GetString(S"txtProCode.AccessibleDescription");
			this->txtProCode->AccessibleName = resources->GetString(S"txtProCode.AccessibleName");
			this->txtProCode->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"txtProCode.Anchor")));
			this->txtProCode->AutoSize = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"txtProCode.AutoSize")));
			this->txtProCode->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"txtProCode.BackgroundImage")));
			this->txtProCode->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"txtProCode.Dock")));
			this->txtProCode->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"txtProCode.Enabled")));
			this->txtProCode->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"txtProCode.Font")));
			this->txtProCode->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"txtProCode.ImeMode")));
			this->txtProCode->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"txtProCode.Location")));
			this->txtProCode->MaxLength = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"txtProCode.MaxLength")));
			this->txtProCode->Multiline = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"txtProCode.Multiline")));
			this->txtProCode->Name = S"txtProCode";
			this->txtProCode->PasswordChar = (*__try_cast<__box System::Char *  >(resources->GetObject(S"txtProCode.PasswordChar")));
			this->txtProCode->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"txtProCode.RightToLeft")));
			this->txtProCode->ScrollBars = (*__try_cast<__box System::Windows::Forms::ScrollBars *  >(resources->GetObject(S"txtProCode.ScrollBars")));
			this->txtProCode->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"txtProCode.Size")));
			this->txtProCode->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"txtProCode.TabIndex")));

⌨️ 快捷键说明

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