📄 plateproductresult.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>
/// PlateProductResult 偺奣梫
///
/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨
/// 儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪
/// 曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄
/// 僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑丄
/// 惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
/// </summary>
public __gc class PlateProductResult : public System::Windows::Forms::Form
{
public:
PlateProductResult(void)
{
InitializeComponent();
}
PlateProductResult(infClass *infClsTmp,String *strProCode1,String *strProName1)
{
InitializeComponent();
DbPltePrdRst = new DBBase();
infClsPltePrdRst = infClsTmp;
iLanguage=infClsPltePrdRst->intLang;
strProCode = strProCode1;
strProName = strProName1;
}
infClass *infClsPltePrdRst;
DBBase * DbPltePrdRst;
String * strProCode;
int iLanguage;
bool blnInstPlateData(); //Insert data into plate_data table
bool blnChkInput(String * strProCode, int intStart,int intEnd); //Check Input Data
private: System::Windows::Forms::Button * cmdSubmit;
String * strProName;
protected:
void Dispose(Boolean disposing)
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
private: System::Windows::Forms::Label * label1;
private: System::Windows::Forms::Label * label2;
private: System::Windows::Forms::Label * label3;
private: System::Windows::Forms::Label * label4;
private: System::Windows::Forms::Label * label5;
private: System::Windows::Forms::Button * button2;
private: System::Windows::Forms::Label * lbl_Title;
private: System::Windows::Forms::Label * label6;
private: System::Windows::Forms::TextBox * txtDate;
private: System::Windows::Forms::TextBox * txtProCode;
private: System::Windows::Forms::TextBox * txtProName;
private: System::Windows::Forms::TextBox * txtQuantity;
private: System::Windows::Forms::TextBox * txtLotNo;
private: System::Windows::Forms::TextBox * txtNoStart;
private: System::Windows::Forms::TextBox * txtNoEnd;
private:
/// <summary>
/// 昁梫側僨僓僀僫曄悢偱偡丅
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
/// </summary>
void InitializeComponent(void)
{
System::Resources::ResourceManager * resources = new System::Resources::ResourceManager(__typeof(FAP::PlateProductResult));
this->txtDate = new System::Windows::Forms::TextBox();
this->label1 = new System::Windows::Forms::Label();
this->label2 = new System::Windows::Forms::Label();
this->label3 = new System::Windows::Forms::Label();
this->label4 = new System::Windows::Forms::Label();
this->label5 = new System::Windows::Forms::Label();
this->txtProCode = new System::Windows::Forms::TextBox();
this->txtQuantity = new System::Windows::Forms::TextBox();
this->txtLotNo = new System::Windows::Forms::TextBox();
this->txtNoStart = new System::Windows::Forms::TextBox();
this->txtProName = new System::Windows::Forms::TextBox();
this->button2 = new System::Windows::Forms::Button();
this->cmdSubmit = new System::Windows::Forms::Button();
this->lbl_Title = new System::Windows::Forms::Label();
this->txtNoEnd = new System::Windows::Forms::TextBox();
this->label6 = new System::Windows::Forms::Label();
this->SuspendLayout();
//
// txtDate
//
this->txtDate->AccessibleDescription = resources->GetString(S"txtDate.AccessibleDescription");
this->txtDate->AccessibleName = resources->GetString(S"txtDate.AccessibleName");
this->txtDate->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"txtDate.Anchor")));
this->txtDate->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtDate.AutoSize")));
this->txtDate->BackColor = System::Drawing::SystemColors::Menu;
this->txtDate->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"txtDate.BackgroundImage")));
this->txtDate->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"txtDate.Dock")));
this->txtDate->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtDate.Enabled")));
this->txtDate->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"txtDate.Font")));
this->txtDate->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"txtDate.ImeMode")));
this->txtDate->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"txtDate.Location")));
this->txtDate->MaxLength = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"txtDate.MaxLength")));
this->txtDate->Multiline = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtDate.Multiline")));
this->txtDate->Name = S"txtDate";
this->txtDate->PasswordChar = (*__try_cast<__box System::Char * >(resources->GetObject(S"txtDate.PasswordChar")));
this->txtDate->ReadOnly = true;
this->txtDate->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"txtDate.RightToLeft")));
this->txtDate->ScrollBars = (*__try_cast<__box System::Windows::Forms::ScrollBars * >(resources->GetObject(S"txtDate.ScrollBars")));
this->txtDate->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"txtDate.Size")));
this->txtDate->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"txtDate.TabIndex")));
this->txtDate->Text = resources->GetString(S"txtDate.Text");
this->txtDate->TextAlign = (*__try_cast<__box System::Windows::Forms::HorizontalAlignment * >(resources->GetObject(S"txtDate.TextAlign")));
this->txtDate->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtDate.Visible")));
this->txtDate->WordWrap = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtDate.WordWrap")));
//
// 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")));
this->label1->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"label1.Size")));
this->label1->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label1.TabIndex")));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -