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

📄 temporarystocklist.h

📁 这是一个工厂的生产线的仓库管理.有计划,实绩,库存等
💻 H
📖 第 1 页 / 共 2 页
字号:
			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);
			// 
			// 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")));
			// 
			// TemporaryStockList
			// 
			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->button4);
			this->Controls->Add(this->button1);
			this->Controls->Add(this->button2);
			this->Controls->Add(this->dGridStock);
			this->Controls->Add(this->lbl_Title);
			this->Controls->Add(this->button3);
			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"TemporaryStockList";
			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, TemporaryStockList_Load);
			(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->dGridStock))->EndInit();
			this->ResumeLayout(false);

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

private: System::Void TemporaryStockList_Load(System::Object *  sender, System::EventArgs *  e)
		 {
				InitGrid(infTempStockList->intLang);
				
				GetGrid(infTempStockList->strProcess);
		 }

private: System::Void button3_Click(System::Object *  sender, System::EventArgs *  e)
		 {
			 String *strProCode;

			 String * strProCode1;

			 String * strProCode2;

			 DataGridCell dCellTmp;

			 dCellTmp.ColumnNumber = 0;
			
			 try {
				dCellTmp.RowNumber = dGridStock->CurrentCell.RowNumber;
				strProCode = Convert::ToString(dGridStock->get_Item(dCellTmp));

				dCellTmp.ColumnNumber = 2;
				strProCode1 = Convert::ToString(dGridStock->get_Item(dCellTmp));

				dCellTmp.ColumnNumber = 3;
				strProCode2 = Convert::ToString(dGridStock->get_Item(dCellTmp));

			 }
			 catch (...) {
				 String *msg[]={S"未选中单元格!!",S"セルを指定してください!!",S"Haven't Selected Cell!!"};
				 MessageBox::Show(msg[iLanguage],S"Error");
				 return;
			 }
			
			 if (strProCode->Trim()->CompareTo(S"")==0) {
 String *msg[]={S"请选择正确保留品!!",S"保留品を正しく選択してください!!",S"Please Correctly Select Reserved Product!!"};
				 MessageBox::Show(msg[iLanguage],S"Error", MessageBoxIcon::OK);
				 return;
			 }

			 StockProcess * frmStockProcess = new StockProcess(infTempStockList,strProCode,1,true,2,strProCode1,strProCode2) ;

			 frmStockProcess->ShowDialog(this);

		 }

private: System::Void button1_Click(System::Object *  sender, System::EventArgs *  e)
		 {
			 DataGridCell dCellTmp;
			 DataGridCell dCellTmp1;
			 DataGridCell dCellTmp2;

			 String *strCode; 
			 String *strNum;
			 String * strLot;

			 frmDivide * frmDivide1 ;

			 dCellTmp.ColumnNumber = 0;

			 dCellTmp1.ColumnNumber = 2;

			 dCellTmp2.ColumnNumber = 3;


			 try {
				 dCellTmp.RowNumber = dGridStock->CurrentCell.RowNumber;
				 dCellTmp1.RowNumber = dGridStock->CurrentCell.RowNumber;
				 dCellTmp2.RowNumber = dGridStock->CurrentCell.RowNumber;
				


				 strCode = Convert::ToString(dGridStock->get_Item(dCellTmp));
				 strNum = Convert::ToString(dGridStock->get_Item(dCellTmp1));
				 strLot = Convert::ToString(dGridStock->get_Item(dCellTmp2));
				

			 }
			 catch (...) {
					 String *msg[]={S"未选中单元格!!",S"セルを指定してください!!",S"Haven't Selected Cell!!"};
				 MessageBox::Show(msg[iLanguage],S"Error");
				 return;
			 }
			
			 frmDivide1 = new frmDivide(infTempStockList,strCode,strNum,strLot);

			frmDivide1->ShowDialog(this);

			GetGrid(infTempStockList->strProcess);
			
		 }



private: System::Void dGridStock_MouseUp(System::Object *  sender, System::Windows::Forms::MouseEventArgs *  e)
		 {
			 try 
			 {
				this->dGridStock->Select(dGridStock->CurrentRowIndex);
			 }
			 catch (...) {
			 }
		 }

};
}

⌨️ 快捷键说明

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