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

📄 stdpricemst.h

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

		}		

		private: System::Void StdPriceMst_Load(System::Object *  sender, System::EventArgs *  e)
				 {

					 InitGrid(infPrice->intLang);

					 button3_Click(sender,e);

				 }

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

			 dbPrice->blnCnnOpen();

			 GetGrid(infPrice->intLang);

			 dbPrice->blnCnnClose();

		 }

private: System::Void button1_Click(System::Object *  sender, System::EventArgs *  e)
		 {

			 dbPrice->blnCnnOpen();

			 dbPrice->blnBeginTrans();


			 if (UpdateGrid()){
				 dbPrice->blnCommit();
				 String *msg[]={S"更新成功!",S"更新に成功しました!",S"Success To Update!"};
				 MessageBox::Show(msg[iLanguage]);
			 }
			 else{
				 String *msg[]={S"更新成功!",S"更新に失敗しました!",S"Fail To Update!"};
	  MessageBox::Show(msg[iLanguage]);
				 dbPrice->blnRollBack();
			 }

			 dbPrice->blnCnnClose();


		 }

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


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

			
		 }


private: System::Void dGridStock_KeyDown(System::Object *  sender, System::Windows::Forms::KeyEventArgs *  e)
		 {

			 intArray[dGridStock->CurrentCell.RowNumber] = 100;

		 }

private: System::Void dGridStock_Navigate(System::Object *  sender, System::Windows::Forms::NavigateEventArgs *  ne)
		 {
			 intArray[dGridStock->CurrentCell.RowNumber] = 100;

			 //MessageBox::Show(intArray[0].ToString());
		 }

private: System::Void dGridStock_CurrentCellChanged(System::Object *  sender, System::EventArgs *  e)
		 {
			 intArray[dGridStock->CurrentCell.RowNumber] = 100;

			 //MessageBox::Show(intArray[0].ToString());
		 }

};

}

⌨️ 快捷键说明

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