📄 frmdelivercost.h
字号:
#pragma once
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
#include "DBBase.h"
#include "infClass.h"
#include "ProductResultInput.h"
#include "StockProcess.h"
namespace FAP
{
/// <summary>
/// Summary for frmDeliverCost
///
/// 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 frmDeliverCost : public System::Windows::Forms::Form
{
public:
frmDeliverCost(void)
{
InitializeComponent();
}
frmDeliverCost(infClass *infTmp)
{
InitializeComponent();
oDB = new DBBase() ;
oInf = infTmp;
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: System::Windows::Forms::TextBox * txtProName;
private: System::Windows::Forms::DataGrid * dataGrid1;
private: System::Windows::Forms::Label * lbl_Title;
private: System::Windows::Forms::Label * label9;
private: System::Windows::Forms::TextBox * txtLot;
private: System::Windows::Forms::Label * label3;
private: System::Windows::Forms::TextBox * txtNum;
private: System::Windows::Forms::Label * label2;
private: System::Windows::Forms::Label * label4;
private: System::Windows::Forms::ComboBox * cboReason;
private: System::Windows::Forms::Button * buttonClose;
private: System::Windows::Forms::Button * buttonPrint;
private: System::Windows::Forms::ComboBox * cmbProCode;
private: System::Windows::Forms::CheckBox * chk2;
private: System::Windows::Forms::CheckBox * chk1;
private: System::Windows::Forms::CheckBox * chk0;
private: System::Windows::Forms::TextBox * CostDateName;
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::frmDeliverCost));
this->txtProName = new System::Windows::Forms::TextBox();
this->dataGrid1 = new System::Windows::Forms::DataGrid();
this->lbl_Title = new System::Windows::Forms::Label();
this->label9 = new System::Windows::Forms::Label();
this->txtLot = new System::Windows::Forms::TextBox();
this->label3 = new System::Windows::Forms::Label();
this->txtNum = new System::Windows::Forms::TextBox();
this->label2 = new System::Windows::Forms::Label();
this->label4 = new System::Windows::Forms::Label();
this->cboReason = new System::Windows::Forms::ComboBox();
this->buttonClose = new System::Windows::Forms::Button();
this->buttonPrint = new System::Windows::Forms::Button();
this->cmbProCode = new System::Windows::Forms::ComboBox();
this->chk2 = new System::Windows::Forms::CheckBox();
this->chk1 = new System::Windows::Forms::CheckBox();
this->chk0 = new System::Windows::Forms::CheckBox();
this->CostDateName = new System::Windows::Forms::TextBox();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGrid1))->BeginInit();
this->SuspendLayout();
//
// txtProName
//
this->txtProName->AccessibleDescription = resources->GetString(S"txtProName.AccessibleDescription");
this->txtProName->AccessibleName = resources->GetString(S"txtProName.AccessibleName");
this->txtProName->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"txtProName.Anchor")));
this->txtProName->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtProName.AutoSize")));
this->txtProName->BackColor = System::Drawing::SystemColors::Control;
this->txtProName->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"txtProName.BackgroundImage")));
this->txtProName->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"txtProName.Dock")));
this->txtProName->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtProName.Enabled")));
this->txtProName->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"txtProName.Font")));
this->txtProName->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"txtProName.ImeMode")));
this->txtProName->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"txtProName.Location")));
this->txtProName->MaxLength = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"txtProName.MaxLength")));
this->txtProName->Multiline = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtProName.Multiline")));
this->txtProName->Name = S"txtProName";
this->txtProName->PasswordChar = (*__try_cast<__box System::Char * >(resources->GetObject(S"txtProName.PasswordChar")));
this->txtProName->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"txtProName.RightToLeft")));
this->txtProName->ScrollBars = (*__try_cast<__box System::Windows::Forms::ScrollBars * >(resources->GetObject(S"txtProName.ScrollBars")));
this->txtProName->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"txtProName.Size")));
this->txtProName->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"txtProName.TabIndex")));
this->txtProName->Text = resources->GetString(S"txtProName.Text");
this->txtProName->TextAlign = (*__try_cast<__box System::Windows::Forms::HorizontalAlignment * >(resources->GetObject(S"txtProName.TextAlign")));
this->txtProName->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtProName.Visible")));
this->txtProName->WordWrap = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtProName.WordWrap")));
//
// dataGrid1
//
this->dataGrid1->AccessibleDescription = resources->GetString(S"dataGrid1.AccessibleDescription");
this->dataGrid1->AccessibleName = resources->GetString(S"dataGrid1.AccessibleName");
this->dataGrid1->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"dataGrid1.Anchor")));
this->dataGrid1->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"dataGrid1.BackgroundImage")));
this->dataGrid1->CaptionFont = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dataGrid1.CaptionFont")));
this->dataGrid1->CaptionText = resources->GetString(S"dataGrid1.CaptionText");
this->dataGrid1->CaptionVisible = false;
this->dataGrid1->DataMember = S"";
this->dataGrid1->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"dataGrid1.Dock")));
this->dataGrid1->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dataGrid1.Enabled")));
this->dataGrid1->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dataGrid1.Font")));
this->dataGrid1->HeaderForeColor = System::Drawing::SystemColors::ControlText;
this->dataGrid1->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"dataGrid1.ImeMode")));
this->dataGrid1->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"dataGrid1.Location")));
this->dataGrid1->Name = S"dataGrid1";
this->dataGrid1->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"dataGrid1.RightToLeft")));
this->dataGrid1->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"dataGrid1.Size")));
this->dataGrid1->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"dataGrid1.TabIndex")));
this->dataGrid1->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dataGrid1.Visible")));
this->dataGrid1->CurrentCellChanged += new System::EventHandler(this, dataGridCal_CurrentCellChanged);
//
// 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")));
//
// label9
//
this->label9->AccessibleDescription = resources->GetString(S"label9.AccessibleDescription");
this->label9->AccessibleName = resources->GetString(S"label9.AccessibleName");
this->label9->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"label9.Anchor")));
this->label9->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label9.AutoSize")));
this->label9->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"label9.Dock")));
this->label9->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label9.Enabled")));
this->label9->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"label9.Font")));
this->label9->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"label9.Image")));
this->label9->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label9.ImageAlign")));
this->label9->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label9.ImageIndex")));
this->label9->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"label9.ImeMode")));
this->label9->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"label9.Location")));
this->label9->Name = S"label9";
this->label9->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"label9.RightToLeft")));
this->label9->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"label9.Size")));
this->label9->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label9.TabIndex")));
this->label9->Text = resources->GetString(S"label9.Text");
this->label9->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label9.TextAlign")));
this->label9->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label9.Visible")));
//
// txtLot
//
this->txtLot->AccessibleDescription = resources->GetString(S"txtLot.AccessibleDescription");
this->txtLot->AccessibleName = resources->GetString(S"txtLot.AccessibleName");
this->txtLot->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"txtLot.Anchor")));
this->txtLot->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtLot.AutoSize")));
this->txtLot->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"txtLot.BackgroundImage")));
this->txtLot->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"txtLot.Dock")));
this->txtLot->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"txtLot.Enabled")));
this->txtLot->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"txtLot.Font")));
this->txtLot->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"txtLot.ImeMode")));
this->txtLot->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"txtLot.Location")));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -