📄 productresultcheck.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>
/// ProductResultCheck 偺奣梫
///
/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨
/// 儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪
/// 曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄
/// 僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑丄
/// 惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
/// </summary>
public __gc class ProductResultCheck : public System::Windows::Forms::Form
{
public:
ProductResultCheck(void)
{
InitializeComponent();
}
ProductResultCheck(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:
int iLanguage;
String* sFactory;
String* sLine;
String* sProcess;
int iGroup;
String* cShift;
infClass* oInf;
int ilong;
DBBase* oDB;
DataSet* oDataSet;
DataView* oDataView;
DataGridTableStyle* oTableStyle;
//DataTable* oDataTable;
//DataTable* oGridTable;
//DataSet* oGridSet;
//DataRow* oGridRow;
//String* sSelShift;
//static String* StrArrayWorkingProcedure[] = {S"工序", S"工程", S"Working Procedure"};
//static String* StrArrayLaborShift[] = {S"工作班次", S"勤務シフト", S"shift"};
//static String* StrArrayProductionResultDate[] = {S"生产实际输入日期", S"生産実績入力日", S"production result input date"};
private: System::Windows::Forms::Label * lbl_Title;
private: System::Windows::Forms::Button * button3;
private: System::Windows::Forms::DataGrid * dataGridPrcheck;
private: System::Windows::Forms::Label * label5;
private: System::Windows::Forms::DateTimePicker * dateTimePickerTo;
private: System::Windows::Forms::Label * label4;
private: System::Windows::Forms::DateTimePicker * dateTimePickerFrom;
private: System::Windows::Forms::Button * btnSearch;
private:
/// <summary>
/// 昁梫側僨僓僀僫曄悢偱偡丅
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
/// </summary>
void InitializeComponent(void)
{
System::Resources::ResourceManager * resources = new System::Resources::ResourceManager(__typeof(FAP::ProductResultCheck));
this->dataGridPrcheck = new System::Windows::Forms::DataGrid();
this->lbl_Title = new System::Windows::Forms::Label();
this->button3 = new System::Windows::Forms::Button();
this->label5 = new System::Windows::Forms::Label();
this->dateTimePickerTo = new System::Windows::Forms::DateTimePicker();
this->label4 = new System::Windows::Forms::Label();
this->dateTimePickerFrom = new System::Windows::Forms::DateTimePicker();
this->btnSearch = new System::Windows::Forms::Button();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGridPrcheck))->BeginInit();
this->SuspendLayout();
//
// dataGridPrcheck
//
this->dataGridPrcheck->AccessibleDescription = resources->GetString(S"dataGridPrcheck.AccessibleDescription");
this->dataGridPrcheck->AccessibleName = resources->GetString(S"dataGridPrcheck.AccessibleName");
this->dataGridPrcheck->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"dataGridPrcheck.Anchor")));
this->dataGridPrcheck->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"dataGridPrcheck.BackgroundImage")));
this->dataGridPrcheck->CaptionFont = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dataGridPrcheck.CaptionFont")));
this->dataGridPrcheck->CaptionText = resources->GetString(S"dataGridPrcheck.CaptionText");
this->dataGridPrcheck->CaptionVisible = false;
this->dataGridPrcheck->DataMember = S"";
this->dataGridPrcheck->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"dataGridPrcheck.Dock")));
this->dataGridPrcheck->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dataGridPrcheck.Enabled")));
this->dataGridPrcheck->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dataGridPrcheck.Font")));
this->dataGridPrcheck->HeaderForeColor = System::Drawing::SystemColors::ControlText;
this->dataGridPrcheck->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"dataGridPrcheck.ImeMode")));
this->dataGridPrcheck->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"dataGridPrcheck.Location")));
this->dataGridPrcheck->Name = S"dataGridPrcheck";
this->dataGridPrcheck->ReadOnly = true;
this->dataGridPrcheck->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"dataGridPrcheck.RightToLeft")));
this->dataGridPrcheck->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"dataGridPrcheck.Size")));
this->dataGridPrcheck->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"dataGridPrcheck.TabIndex")));
this->dataGridPrcheck->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dataGridPrcheck.Visible")));
//
// 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");
this->button3->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"button3.Anchor")));
this->button3->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"button3.BackgroundImage")));
this->button3->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"button3.Dock")));
this->button3->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"button3.Enabled")));
this->button3->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle * >(resources->GetObject(S"button3.FlatStyle")));
this->button3->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"button3.Font")));
this->button3->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"button3.Image")));
this->button3->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"button3.ImageAlign")));
this->button3->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"button3.ImageIndex")));
this->button3->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"button3.ImeMode")));
this->button3->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"button3.Location")));
this->button3->Name = S"button3";
this->button3->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"button3.RightToLeft")));
this->button3->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"button3.Size")));
this->button3->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"button3.TabIndex")));
this->button3->Text = resources->GetString(S"button3.Text");
this->button3->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"button3.TextAlign")));
this->button3->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"button3.Visible")));
this->button3->Click += new System::EventHandler(this, button3_Click);
//
// label5
//
this->label5->AccessibleDescription = resources->GetString(S"label5.AccessibleDescription");
this->label5->AccessibleName = resources->GetString(S"label5.AccessibleName");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -