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

📄 platestocklist.h

📁 这是一个工厂的生产线的仓库管理.有计划,实绩,库存等
💻 H
📖 第 1 页 / 共 2 页
字号:
			this->dbGridLabel->DataMember = S"";
			this->dbGridLabel->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"dbGridLabel.Dock")));
			this->dbGridLabel->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"dbGridLabel.Enabled")));
			this->dbGridLabel->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"dbGridLabel.Font")));
			this->dbGridLabel->HeaderForeColor = System::Drawing::SystemColors::ControlText;
			this->dbGridLabel->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"dbGridLabel.ImeMode")));
			this->dbGridLabel->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"dbGridLabel.Location")));
			this->dbGridLabel->Name = S"dbGridLabel";
			this->dbGridLabel->ReadOnly = true;
			this->dbGridLabel->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"dbGridLabel.RightToLeft")));
			this->dbGridLabel->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"dbGridLabel.Size")));
			this->dbGridLabel->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"dbGridLabel.TabIndex")));
			this->dbGridLabel->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"dbGridLabel.Visible")));
			// 
			// 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")));
			this->lbl_Title->Text = resources->GetString(S"lbl_Title.Text");
			this->lbl_Title->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"lbl_Title.TextAlign")));
			this->lbl_Title->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"lbl_Title.Visible")));
			// 
			// button3
			// 
			this->button3->AccessibleDescription = resources->GetString(S"button3.AccessibleDescription");
			this->button3->AccessibleName = resources->GetString(S"button3.AccessibleName");
			this->button3->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"button3.Anchor")));
			this->button3->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"button3.BackgroundImage")));
			this->button3->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"button3.Dock")));
			this->button3->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"button3.Enabled")));
			this->button3->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle *  >(resources->GetObject(S"button3.FlatStyle")));
			this->button3->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"button3.Font")));
			this->button3->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"button3.Image")));
			this->button3->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"button3.ImageAlign")));
			this->button3->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"button3.ImageIndex")));
			this->button3->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"button3.ImeMode")));
			this->button3->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"button3.Location")));
			this->button3->Name = S"button3";
			this->button3->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"button3.RightToLeft")));
			this->button3->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"button3.Size")));
			this->button3->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"button3.TabIndex")));
			this->button3->Text = resources->GetString(S"button3.Text");
			this->button3->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"button3.TextAlign")));
			this->button3->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"button3.Visible")));
			this->button3->Click += new System::EventHandler(this, button3_Click);
			// 
			// button1
			// 
			this->button1->AccessibleDescription = resources->GetString(S"button1.AccessibleDescription");
			this->button1->AccessibleName = resources->GetString(S"button1.AccessibleName");
			this->button1->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"button1.Anchor")));
			this->button1->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"button1.BackgroundImage")));
			this->button1->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"button1.Dock")));
			this->button1->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"button1.Enabled")));
			this->button1->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle *  >(resources->GetObject(S"button1.FlatStyle")));
			this->button1->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"button1.Font")));
			this->button1->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"button1.Image")));
			this->button1->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"button1.ImageAlign")));
			this->button1->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"button1.ImageIndex")));
			this->button1->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"button1.ImeMode")));
			this->button1->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"button1.Location")));
			this->button1->Name = S"button1";
			this->button1->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"button1.RightToLeft")));
			this->button1->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"button1.Size")));
			this->button1->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"button1.TabIndex")));
			this->button1->Text = resources->GetString(S"button1.Text");
			this->button1->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"button1.TextAlign")));
			this->button1->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"button1.Visible")));
			this->button1->Click += new System::EventHandler(this, button1_Click);
			// 
			// button4
			// 
			this->button4->AccessibleDescription = resources->GetString(S"button4.AccessibleDescription");
			this->button4->AccessibleName = resources->GetString(S"button4.AccessibleName");
			this->button4->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"button4.Anchor")));
			this->button4->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"button4.BackgroundImage")));
			this->button4->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"button4.Dock")));
			this->button4->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"button4.Enabled")));
			this->button4->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle *  >(resources->GetObject(S"button4.FlatStyle")));
			this->button4->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"button4.Font")));
			this->button4->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"button4.Image")));
			this->button4->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"button4.ImageAlign")));
			this->button4->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"button4.ImageIndex")));
			this->button4->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"button4.ImeMode")));
			this->button4->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"button4.Location")));
			this->button4->Name = S"button4";
			this->button4->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"button4.RightToLeft")));
			this->button4->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"button4.Size")));
			this->button4->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"button4.TabIndex")));
			this->button4->Text = resources->GetString(S"button4.Text");
			this->button4->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"button4.TextAlign")));
			this->button4->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"button4.Visible")));
			this->button4->Click += new System::EventHandler(this, button4_Click);
			// 
			// PlateStockList
			// 
			this->AccessibleDescription = resources->GetString(S"$this.AccessibleDescription");
			this->AccessibleName = resources->GetString(S"$this.AccessibleName");
			this->AutoScaleBaseSize = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"$this.AutoScaleBaseSize")));
			this->AutoScroll = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"$this.AutoScroll")));
			this->AutoScrollMargin = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"$this.AutoScrollMargin")));
			this->AutoScrollMinSize = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"$this.AutoScrollMinSize")));
			this->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"$this.BackgroundImage")));
			this->ClientSize = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"$this.ClientSize")));
			this->Controls->Add(this->cboProCode);
			this->Controls->Add(this->label2);
			this->Controls->Add(this->txtProName);
			this->Controls->Add(this->button2);
			this->Controls->Add(this->dbGridLabel);
			this->Controls->Add(this->lbl_Title);
			this->Controls->Add(this->button3);
			this->Controls->Add(this->button1);
			this->Controls->Add(this->button4);
			this->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"$this.Enabled")));
			this->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"$this.Font")));
			this->Icon = (__try_cast<System::Drawing::Icon *  >(resources->GetObject(S"$this.Icon")));
			this->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"$this.ImeMode")));
			this->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"$this.Location")));
			this->MaximizeBox = false;
			this->MaximumSize = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"$this.MaximumSize")));
			this->MinimumSize = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"$this.MinimumSize")));
			this->Name = S"PlateStockList";
			this->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"$this.RightToLeft")));
			this->StartPosition = (*__try_cast<__box System::Windows::Forms::FormStartPosition *  >(resources->GetObject(S"$this.StartPosition")));
			this->Text = resources->GetString(S"$this.Text");
			this->Load += new System::EventHandler(this, PlateStockList_Load);
			(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->dbGridLabel))->EndInit();
			this->ResumeLayout(false);

		}		
	private: System::Void button3_Click(System::Object *  sender, System::EventArgs *  e)
			 {
				 this->Close();
			 }

private: System::Void PlateStockList_Load(System::Object *  sender, System::EventArgs *  e)
		 {			
			cboProCode->Text = S"";
			txtProName->Text = S"";

			IniComboBox();
			InitGrid(infClsPlateList->intLang);
		 }

 
private: System::Void cboProCode_KeyPress(System::Object *  sender, System::Windows::Forms::KeyPressEventArgs *  e)
		 {


			 if( e->KeyChar ==(char)13) {
				txtProName->Text = ProductResultInput::strGetProName(cboProCode->Text,infClsPlateList->intLang,DBBPlateList);

				if(txtProName->Text != S""){
					if (!blnFillGrid(cboProCode->Text))
					{
						 String * strMessage[]={S"取得数据失败!!",S"データの取得に失敗します!!",S"Get Data Failed!!"};
						 String * strMessage1[]={S"铭牌库存",S"更新に失敗しました!",S"Plate Stock"};
						MessageBox::Show(strMessage[iLanguage],strMessage1[iLanguage]);
					}
				}
				else{String * strMessage[]={S"请检查产品名!!",S"物料名称を検査してください!!",S"Please Check The Product Name!!"};
				String * strMessage1[]={S"错误",S"エラー",S"Error"};
				MessageBox::Show(strMessage[iLanguage],strMessage1[iLanguage]);
				return;
				}
			}
		 }

private: System::Void button4_Click(System::Object *  sender, System::EventArgs *  e)
		 {
			String *strTmp=S"";

			if ((txtProName->Text->CompareTo(strTmp) == 0)) {
				String * strMessage[]={S"请输入产品名!!",S"物料名称を入力してください!!",S"No Product Name!!"};
				String * strMessage1[]={S"错误",S"エラー",S"Error"};
				MessageBox::Show(strMessage[iLanguage],strMessage1[iLanguage]);
				return;
			}

			PlateProductResult * frmPltePrdRst = new PlateProductResult(infClsPlateList,
																cboProCode->Text,txtProName->Text) ;
			frmPltePrdRst->ShowDialog(this);
			
		 }


private: System::Void button1_Click(System::Object *  sender, System::EventArgs *  e)
		 {
			 PlateUsedInput *frmUsedInput=new PlateUsedInput(infClsPlateList);
			 frmUsedInput->ShowDialog(this);
		 }

};
}

⌨️ 快捷键说明

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