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

📄 stdpricemst.h

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

#include "infClass.h"
#include "DBBase.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 StdPriceMst
	///
	/// 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 StdPriceMst : public System::Windows::Forms::Form
	{
	public: 
		StdPriceMst(void)
		{
			InitializeComponent();
		}
		StdPriceMst(infClass *infTmp)
		{
			InitializeComponent();
			
			infPrice = infTmp ;
   iLanguage=infPrice->intLang;

			dbPrice  = new DBBase();
		}
	protected: 
		void Dispose(Boolean disposing)
		{
			if (disposing && components)
			{
				components->Dispose();
			}
			__super::Dispose(disposing);
		}
	private: System::Windows::Forms::DataGrid *  dGridStock;
	private: System::Windows::Forms::Button *  button1;
	private: System::Windows::Forms::Label *  lbl_Title;
	private: System::Windows::Forms::Button *  button2;
	private: System::Windows::Forms::Button *  button3;

	infClass *infPrice;
	DBBase *dbPrice;
int iLanguage;
	void InitGrid(int);

	void GetGrid(int);

	bool UpdateGrid();

	int intCount ;

	Int32 intArray[];

	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::StdPriceMst));
			this->dGridStock = new System::Windows::Forms::DataGrid();
			this->button1 = new System::Windows::Forms::Button();
			this->lbl_Title = new System::Windows::Forms::Label();
			this->button2 = new System::Windows::Forms::Button();
			this->button3 = new System::Windows::Forms::Button();
			(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->dGridStock))->BeginInit();
			this->SuspendLayout();
			// 
			// dGridStock
			// 
			this->dGridStock->AccessibleDescription = resources->GetString(S"dGridStock.AccessibleDescription");
			this->dGridStock->AccessibleName = resources->GetString(S"dGridStock.AccessibleName");
			this->dGridStock->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"dGridStock.Anchor")));
			this->dGridStock->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"dGridStock.BackgroundImage")));
			this->dGridStock->CaptionFont = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"dGridStock.CaptionFont")));
			this->dGridStock->CaptionText = resources->GetString(S"dGridStock.CaptionText");
			this->dGridStock->CaptionVisible = false;
			this->dGridStock->DataMember = S"";
			this->dGridStock->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"dGridStock.Dock")));
			this->dGridStock->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"dGridStock.Enabled")));
			this->dGridStock->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"dGridStock.Font")));
			this->dGridStock->HeaderForeColor = System::Drawing::SystemColors::ControlText;
			this->dGridStock->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"dGridStock.ImeMode")));
			this->dGridStock->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"dGridStock.Location")));
			this->dGridStock->Name = S"dGridStock";
			this->dGridStock->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"dGridStock.RightToLeft")));
			this->dGridStock->RowHeadersVisible = false;
			this->dGridStock->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"dGridStock.Size")));
			this->dGridStock->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"dGridStock.TabIndex")));
			this->dGridStock->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"dGridStock.Visible")));
			this->dGridStock->KeyDown += new System::Windows::Forms::KeyEventHandler(this, dGridStock_KeyDown);
			this->dGridStock->CurrentCellChanged += new System::EventHandler(this, dGridStock_CurrentCellChanged);
			// 
			// 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);
			// 
			// 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")));
			// 
			// button2

⌨️ 快捷键说明

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