📄 temporarystocklist.h
字号:
#pragma once
#include "infClass.h"
#include "DBBase.h"
#include "StockProcess.h"
#include "frmDivide.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>
/// TemporaryStockList 偺奣梫
///
/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨
/// 儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪
/// 曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄
/// 僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑丄
/// 惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
/// </summary>
public __gc class TemporaryStockList : public System::Windows::Forms::Form
{
public:
TemporaryStockList(void)
{
InitializeComponent();
}
TemporaryStockList(infClass * infTmp)
{
InitializeComponent();
infTempStockList = infTmp;
iLanguage=infTempStockList->intLang;
dbTempStockList = new DBBase();
}
infClass *infTempStockList;
private: System::Windows::Forms::Button * button4;
DBBase *dbTempStockList;
int iLanguage;
void InitGrid(int);
void GetGrid(String* strPOS);
protected:
void Dispose(Boolean disposing)
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
private: System::Windows::Forms::Button * button1;
private: System::Windows::Forms::Button * button2;
private: System::Windows::Forms::Label * lbl_Title;
private: System::Windows::Forms::Button * button3;
private: System::Windows::Forms::DataGrid * dGridStock;
private:
/// <summary>
/// 昁梫側僨僓僀僫曄悢偱偡丅
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
/// </summary>
void InitializeComponent(void)
{
System::Resources::ResourceManager * resources = new System::Resources::ResourceManager(__typeof(FAP::TemporaryStockList));
this->button1 = new System::Windows::Forms::Button();
this->button2 = new System::Windows::Forms::Button();
this->dGridStock = new System::Windows::Forms::DataGrid();
this->lbl_Title = new System::Windows::Forms::Label();
this->button3 = new System::Windows::Forms::Button();
this->button4 = new System::Windows::Forms::Button();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dGridStock))->BeginInit();
this->SuspendLayout();
//
// 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);
//
// button2
//
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);
//
// dGridStock
//
this->dGridStock->AccessibleDescription = resources->GetString(S"dGridStock.AccessibleDescription");
this->dGridStock->AccessibleName = resources->GetString(S"dGridStock.AccessibleName");
this->dGridStock->AlternatingBackColor = System::Drawing::Color::IndianRed;
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->HeaderFont = new System::Drawing::Font(S"MS Gothic", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, (System::Byte)0);
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->ReadOnly = true;
this->dGridStock->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"dGridStock.RightToLeft")));
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->MouseUp += new System::Windows::Forms::MouseEventHandler(this, dGridStock_MouseUp);
//
// 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");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -