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

📄 platestocklist.h

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

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

		PlateStockList(infClass* infClsTmp)
		{
			InitializeComponent();
			infClsPlateList = infClsTmp;
iLanguage=infClsPlateList->intLang;
			DBBPlateList = new DBBase();

		}


	protected: 
		void Dispose(Boolean disposing)
		{
			if (disposing && components)
			{
				components->Dispose();
			}
			__super::Dispose(disposing);
		}

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

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

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

	private: System::Windows::Forms::Button *  button1;
	private: System::Windows::Forms::Button *  button4;

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


		infClass * infClsPlateList;
int iLanguage;
		void IniComboBox();
		void InitGrid(int);
		bool blnFillGrid(String * strProCode);


	private: System::Windows::Forms::ComboBox *  cboProCode;
	private: System::Windows::Forms::DataGrid *  dbGridLabel;
	private: System::Windows::Forms::TextBox *  txtProName;
			 DBBase * DBBPlateList;

		

		/// <summary>
		/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
		/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
		/// </summary>
		void InitializeComponent(void)
		{
			System::Resources::ResourceManager *  resources = new System::Resources::ResourceManager(__typeof(FAP::PlateStockList));
			this->cboProCode = new System::Windows::Forms::ComboBox();
			this->label2 = new System::Windows::Forms::Label();
			this->txtProName = new System::Windows::Forms::TextBox();
			this->button2 = new System::Windows::Forms::Button();
			this->dbGridLabel = new System::Windows::Forms::DataGrid();
			this->lbl_Title = new System::Windows::Forms::Label();
			this->button3 = new System::Windows::Forms::Button();
			this->button1 = new System::Windows::Forms::Button();
			this->button4 = new System::Windows::Forms::Button();
			(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->dbGridLabel))->BeginInit();
			this->SuspendLayout();
			// 
			// cboProCode
			// 
			this->cboProCode->AccessibleDescription = resources->GetString(S"cboProCode.AccessibleDescription");
			this->cboProCode->AccessibleName = resources->GetString(S"cboProCode.AccessibleName");
			this->cboProCode->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"cboProCode.Anchor")));
			this->cboProCode->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"cboProCode.BackgroundImage")));
			this->cboProCode->DisplayMember = S"Column1";
			this->cboProCode->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"cboProCode.Dock")));
			this->cboProCode->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"cboProCode.Enabled")));
			this->cboProCode->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"cboProCode.Font")));
			this->cboProCode->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"cboProCode.ImeMode")));
			this->cboProCode->IntegralHeight = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"cboProCode.IntegralHeight")));
			this->cboProCode->ItemHeight = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"cboProCode.ItemHeight")));
			this->cboProCode->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"cboProCode.Location")));
			this->cboProCode->MaxDropDownItems = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"cboProCode.MaxDropDownItems")));
			this->cboProCode->MaxLength = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"cboProCode.MaxLength")));
			this->cboProCode->Name = S"cboProCode";
			this->cboProCode->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"cboProCode.RightToLeft")));
			this->cboProCode->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"cboProCode.Size")));
			this->cboProCode->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"cboProCode.TabIndex")));
			this->cboProCode->Text = resources->GetString(S"cboProCode.Text");
			this->cboProCode->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"cboProCode.Visible")));
			this->cboProCode->KeyPress += new System::Windows::Forms::KeyPressEventHandler(this, cboProCode_KeyPress);
			// 
			// label2
			// 
			this->label2->AccessibleDescription = resources->GetString(S"label2.AccessibleDescription");
			this->label2->AccessibleName = resources->GetString(S"label2.AccessibleName");
			this->label2->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"label2.Anchor")));
			this->label2->AutoSize = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"label2.AutoSize")));
			this->label2->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"label2.Dock")));
			this->label2->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"label2.Enabled")));
			this->label2->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"label2.Font")));
			this->label2->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"label2.Image")));
			this->label2->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"label2.ImageAlign")));
			this->label2->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"label2.ImageIndex")));
			this->label2->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"label2.ImeMode")));
			this->label2->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"label2.Location")));
			this->label2->Name = S"label2";
			this->label2->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"label2.RightToLeft")));
			this->label2->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"label2.Size")));
			this->label2->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"label2.TabIndex")));
			this->label2->Text = resources->GetString(S"label2.Text");
			this->label2->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"label2.TextAlign")));
			this->label2->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"label2.Visible")));
			// 
			// 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::Control;
			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->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")));
			// 
			// button2
			// 
			this->button2->AccessibleDescription = resources->GetString(S"button2.AccessibleDescription");
			this->button2->AccessibleName = resources->GetString(S"button2.AccessibleName");
			this->button2->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"button2.Anchor")));
			this->button2->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"button2.BackgroundImage")));
			this->button2->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"button2.Dock")));
			this->button2->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"button2.Enabled")));
			this->button2->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle *  >(resources->GetObject(S"button2.FlatStyle")));
			this->button2->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"button2.Font")));
			this->button2->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"button2.Image")));
			this->button2->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"button2.ImageAlign")));
			this->button2->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"button2.ImageIndex")));
			this->button2->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"button2.ImeMode")));
			this->button2->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"button2.Location")));
			this->button2->Name = S"button2";
			this->button2->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"button2.RightToLeft")));
			this->button2->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"button2.Size")));
			this->button2->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"button2.TabIndex")));
			this->button2->Text = resources->GetString(S"button2.Text");
			this->button2->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"button2.TextAlign")));
			this->button2->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"button2.Visible")));
			// 
			// dbGridLabel
			// 
			this->dbGridLabel->AccessibleDescription = resources->GetString(S"dbGridLabel.AccessibleDescription");
			this->dbGridLabel->AccessibleName = resources->GetString(S"dbGridLabel.AccessibleName");
			this->dbGridLabel->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"dbGridLabel.Anchor")));
			this->dbGridLabel->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"dbGridLabel.BackgroundImage")));
			this->dbGridLabel->CaptionFont = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"dbGridLabel.CaptionFont")));
			this->dbGridLabel->CaptionText = resources->GetString(S"dbGridLabel.CaptionText");
			this->dbGridLabel->CaptionVisible = false;

⌨️ 快捷键说明

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