📄 returnstock.h
字号:
#pragma once
#include "DBBase.h"
#include "infClass.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>
/// ReturnStock 偺奣梫
///
/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨
/// 儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪
/// 曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄
/// 僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑丄
/// 惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
/// </summary>
public __gc class ReturnStock : public System::Windows::Forms::Form
{
public:
ReturnStock(void)
{
InitializeComponent();
}
ReturnStock(infClass * infClsTmp)
{
InitializeComponent();
oInf = infClsTmp;
iLanguage = oInf->intLang;
sFactory = oInf->strFactoryCode;
sLine = oInf->strLine;
sProcess = oInf->strProcess;
iGroup = oInf->intGroup;
cShift = oInf->strShift;
}
protected:
void Dispose(Boolean disposing)
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
private:
//Global Palameter
int iLanguage;
String* sFactory;
String* sLine;
String* sProcess;
int iGroup;
String* cShift;
infClass* oInf;
DBBase* oDB;
DataSet* oDataSet;
DataTable* oDataTable;
DataGridTableStyle* oTableStyle;
private: System::Windows::Forms::Label * lbl_Title;
private: System::Windows::Forms::Button * btn_Accept;
private: System::Windows::Forms::DataGrid * dataGridReturn;
private: System::Windows::Forms::Button * btn_Close;
private:
/// <summary>
/// 昁梫側僨僓僀僫曄悢偱偡丅
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
/// </summary>
void InitializeComponent(void)
{
System::Resources::ResourceManager * resources = new System::Resources::ResourceManager(__typeof(FAP::ReturnStock));
this->btn_Accept = new System::Windows::Forms::Button();
this->btn_Close = new System::Windows::Forms::Button();
this->dataGridReturn = new System::Windows::Forms::DataGrid();
this->lbl_Title = new System::Windows::Forms::Label();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGridReturn))->BeginInit();
this->SuspendLayout();
//
// btn_Accept
//
this->btn_Accept->AccessibleDescription = resources->GetString(S"btn_Accept.AccessibleDescription");
this->btn_Accept->AccessibleName = resources->GetString(S"btn_Accept.AccessibleName");
this->btn_Accept->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"btn_Accept.Anchor")));
this->btn_Accept->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"btn_Accept.BackgroundImage")));
this->btn_Accept->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"btn_Accept.Dock")));
this->btn_Accept->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"btn_Accept.Enabled")));
this->btn_Accept->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle * >(resources->GetObject(S"btn_Accept.FlatStyle")));
this->btn_Accept->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"btn_Accept.Font")));
this->btn_Accept->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"btn_Accept.Image")));
this->btn_Accept->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"btn_Accept.ImageAlign")));
this->btn_Accept->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"btn_Accept.ImageIndex")));
this->btn_Accept->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"btn_Accept.ImeMode")));
this->btn_Accept->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"btn_Accept.Location")));
this->btn_Accept->Name = S"btn_Accept";
this->btn_Accept->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"btn_Accept.RightToLeft")));
this->btn_Accept->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"btn_Accept.Size")));
this->btn_Accept->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"btn_Accept.TabIndex")));
this->btn_Accept->Text = resources->GetString(S"btn_Accept.Text");
this->btn_Accept->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"btn_Accept.TextAlign")));
this->btn_Accept->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"btn_Accept.Visible")));
this->btn_Accept->Click += new System::EventHandler(this, btn_Accept_Click);
//
// btn_Close
//
this->btn_Close->AccessibleDescription = resources->GetString(S"btn_Close.AccessibleDescription");
this->btn_Close->AccessibleName = resources->GetString(S"btn_Close.AccessibleName");
this->btn_Close->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"btn_Close.Anchor")));
this->btn_Close->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"btn_Close.BackgroundImage")));
this->btn_Close->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"btn_Close.Dock")));
this->btn_Close->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"btn_Close.Enabled")));
this->btn_Close->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle * >(resources->GetObject(S"btn_Close.FlatStyle")));
this->btn_Close->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"btn_Close.Font")));
this->btn_Close->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"btn_Close.Image")));
this->btn_Close->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"btn_Close.ImageAlign")));
this->btn_Close->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"btn_Close.ImageIndex")));
this->btn_Close->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"btn_Close.ImeMode")));
this->btn_Close->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"btn_Close.Location")));
this->btn_Close->Name = S"btn_Close";
this->btn_Close->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"btn_Close.RightToLeft")));
this->btn_Close->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"btn_Close.Size")));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -