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

📄 sapstock.h

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

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

			dDBSAP = new DBBase();
		}

		
	private: System::Windows::Forms::TextBox *  txtTmp;
	private: System::Windows::Forms::TextBox *  textBox1;

		DBBase	 *dDBSAP;

		infClass *infSAPStock;

		void InitGrid(int);

		void GetGrid();

		DataSet*	oDataSet;
		DataTable*	oDataTable;
		DataGridTableStyle*	oTableStyle;

	protected: 
		void Dispose(Boolean disposing)
		{
			if (disposing && components)
			{
				components->Dispose();
			}
			__super::Dispose(disposing);
		}
	private: System::Windows::Forms::DataGrid *  dbGridSAP;
	private: System::Windows::Forms::Button *  cmdOK;
	private: System::Windows::Forms::Button *  cmdCancel;
	private: System::Windows::Forms::Label *  label1;

	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::SAPStock));
			this->dbGridSAP = new System::Windows::Forms::DataGrid();
			this->cmdOK = new System::Windows::Forms::Button();
			this->cmdCancel = new System::Windows::Forms::Button();
			this->label1 = new System::Windows::Forms::Label();
			this->txtTmp = new System::Windows::Forms::TextBox();
			this->textBox1 = new System::Windows::Forms::TextBox();
			(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->dbGridSAP))->BeginInit();
			this->SuspendLayout();
			// 
			// dbGridSAP
			// 
			this->dbGridSAP->AccessibleDescription = resources->GetString(S"dbGridSAP.AccessibleDescription");
			this->dbGridSAP->AccessibleName = resources->GetString(S"dbGridSAP.AccessibleName");
			this->dbGridSAP->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"dbGridSAP.Anchor")));
			this->dbGridSAP->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"dbGridSAP.BackgroundImage")));
			this->dbGridSAP->CaptionFont = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"dbGridSAP.CaptionFont")));
			this->dbGridSAP->CaptionText = resources->GetString(S"dbGridSAP.CaptionText");
			this->dbGridSAP->CaptionVisible = false;
			this->dbGridSAP->DataMember = S"";
			this->dbGridSAP->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"dbGridSAP.Dock")));
			this->dbGridSAP->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"dbGridSAP.Enabled")));
			this->dbGridSAP->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"dbGridSAP.Font")));
			this->dbGridSAP->HeaderForeColor = System::Drawing::SystemColors::ControlText;
			this->dbGridSAP->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"dbGridSAP.ImeMode")));
			this->dbGridSAP->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"dbGridSAP.Location")));
			this->dbGridSAP->Name = S"dbGridSAP";
			this->dbGridSAP->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"dbGridSAP.RightToLeft")));
			this->dbGridSAP->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"dbGridSAP.Size")));
			this->dbGridSAP->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"dbGridSAP.TabIndex")));
			this->dbGridSAP->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"dbGridSAP.Visible")));
			this->dbGridSAP->Navigate += new System::Windows::Forms::NavigateEventHandler(this, dbGridSAP_Navigate);
			// 
			// cmdOK
			// 
			this->cmdOK->AccessibleDescription = resources->GetString(S"cmdOK.AccessibleDescription");
			this->cmdOK->AccessibleName = resources->GetString(S"cmdOK.AccessibleName");
			this->cmdOK->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"cmdOK.Anchor")));
			this->cmdOK->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"cmdOK.BackgroundImage")));
			this->cmdOK->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"cmdOK.Dock")));
			this->cmdOK->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"cmdOK.Enabled")));
			this->cmdOK->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle *  >(resources->GetObject(S"cmdOK.FlatStyle")));
			this->cmdOK->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"cmdOK.Font")));
			this->cmdOK->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"cmdOK.Image")));
			this->cmdOK->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"cmdOK.ImageAlign")));
			this->cmdOK->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"cmdOK.ImageIndex")));
			this->cmdOK->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"cmdOK.ImeMode")));
			this->cmdOK->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"cmdOK.Location")));
			this->cmdOK->Name = S"cmdOK";
			this->cmdOK->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"cmdOK.RightToLeft")));
			this->cmdOK->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"cmdOK.Size")));
			this->cmdOK->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"cmdOK.TabIndex")));
			this->cmdOK->Text = resources->GetString(S"cmdOK.Text");
			this->cmdOK->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"cmdOK.TextAlign")));
			this->cmdOK->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"cmdOK.Visible")));
			this->cmdOK->Click += new System::EventHandler(this, cmdOK_Click);
			// 
			// cmdCancel
			// 
			this->cmdCancel->AccessibleDescription = resources->GetString(S"cmdCancel.AccessibleDescription");
			this->cmdCancel->AccessibleName = resources->GetString(S"cmdCancel.AccessibleName");
			this->cmdCancel->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"cmdCancel.Anchor")));
			this->cmdCancel->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"cmdCancel.BackgroundImage")));
			this->cmdCancel->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"cmdCancel.Dock")));
			this->cmdCancel->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"cmdCancel.Enabled")));
			this->cmdCancel->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle *  >(resources->GetObject(S"cmdCancel.FlatStyle")));
			this->cmdCancel->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"cmdCancel.Font")));
			this->cmdCancel->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"cmdCancel.Image")));
			this->cmdCancel->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"cmdCancel.ImageAlign")));
			this->cmdCancel->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"cmdCancel.ImageIndex")));
			this->cmdCancel->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"cmdCancel.ImeMode")));
			this->cmdCancel->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"cmdCancel.Location")));
			this->cmdCancel->Name = S"cmdCancel";
			this->cmdCancel->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"cmdCancel.RightToLeft")));
			this->cmdCancel->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"cmdCancel.Size")));
			this->cmdCancel->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"cmdCancel.TabIndex")));
			this->cmdCancel->Text = resources->GetString(S"cmdCancel.Text");
			this->cmdCancel->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"cmdCancel.TextAlign")));
			this->cmdCancel->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"cmdCancel.Visible")));
			this->cmdCancel->Click += new System::EventHandler(this, cmdCancel_Click);
			// 
			// label1
			// 
			this->label1->AccessibleDescription = resources->GetString(S"label1.AccessibleDescription");
			this->label1->AccessibleName = resources->GetString(S"label1.AccessibleName");
			this->label1->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"label1.Anchor")));
			this->label1->AutoSize = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"label1.AutoSize")));
			this->label1->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"label1.Dock")));
			this->label1->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"label1.Enabled")));
			this->label1->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"label1.Font")));
			this->label1->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"label1.Image")));
			this->label1->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"label1.ImageAlign")));
			this->label1->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"label1.ImageIndex")));
			this->label1->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"label1.ImeMode")));
			this->label1->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"label1.Location")));
			this->label1->Name = S"label1";
			this->label1->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"label1.RightToLeft")));

⌨️ 快捷键说明

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