📄 menuworker.h
字号:
#pragma once
#include "Stock.h"
#include "Deliver.h"
#include "StockDeliverList.h"
#include "TotalLossTable.h"
#include "ReturnStock.h"
#include "StockProcess.h"
#include "ProductResult.h"
#include "ProductResultList.h"
#include "ProductPlanCheck.h"
#include "TemporaryStockList.h"
#include "StockList.h"
#include "CalendarInput.h"
#include "infClass.h"
#include "frmDeliverCost.h"
#include "frmModifyResult.h"
//#include "MainForm.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;
using namespace System::Diagnostics;
//using namespace MainForm;
namespace FAP
{
/// <summary>
/// MenuWorker 偺奣梫
///
/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨
/// 儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪
/// 曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄
/// 僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑丄
/// 惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
/// </summary>
public __gc class MenuWorker : public System::Windows::Forms::Form
{
private: Stock *pStock;
Deliver *pDeliver;
StockDeliverList *pStockDeliverList;
TotalLossTable *pTotalLossTable;
ReturnStock *pReturnStock;
StockProcess *pStockProcess;
ProductResult *pProductResult;
ProductResultList *pProductResultList;
ProductPlanCheck *pProductPlanCheck;
TemporaryStockList *pTemporaryStockList;
StockList *pStockList;
CalendarInput *pCalendarInput;
frmDeliverCost *pfrmDeliverCost;
frmModifyResult *pfrmModifyResult;
private: System::Windows::Forms::Button * button1;
private: System::Windows::Forms::Button * button3;
infClass *pinfClsMWork;
public:
MenuWorker(void)
{
InitializeComponent();
}
MenuWorker( infClass *infClsTmp)
{
InitializeComponent();
pinfClsMWork = infClsTmp;
}
protected:
void Dispose(Boolean disposing)
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
private: System::Windows::Forms::Button * btn_Stock;
private: System::Windows::Forms::Button * btn_Deliver;
private: System::Windows::Forms::Button * btn_StockDeliverList;
private: System::Windows::Forms::Button * btn_TotalLossTable;
private: System::Windows::Forms::Button * btn_ReturnStock;
private: System::Windows::Forms::Button * btn_StockProcess;
private: System::Windows::Forms::Button * btn_ProductResult;
private: System::Windows::Forms::Button * btn_ProductResultList;
private: System::Windows::Forms::Button * btn_ProductPlanCheck;
private: System::Windows::Forms::Button * btn_Quit;
private: System::Windows::Forms::Label * lbl_Title;
private: System::Windows::Forms::Button * btn_TemporaryStockList;
private: System::Windows::Forms::Button * btn_StockList;
private: System::Windows::Forms::Button * btn_CalendarInput;
private: System::Windows::Forms::Button * button2;
private:
/// <summary>
/// 昁梫側僨僓僀僫曄悢偱偡丅
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
/// </summary>
void InitializeComponent(void)
{
System::Resources::ResourceManager * resources = new System::Resources::ResourceManager(__typeof(FAP::MenuWorker));
this->lbl_Title = new System::Windows::Forms::Label();
this->btn_Stock = new System::Windows::Forms::Button();
this->btn_Deliver = new System::Windows::Forms::Button();
this->btn_StockDeliverList = new System::Windows::Forms::Button();
this->btn_TotalLossTable = new System::Windows::Forms::Button();
this->btn_ReturnStock = new System::Windows::Forms::Button();
this->btn_StockProcess = new System::Windows::Forms::Button();
this->btn_TemporaryStockList = new System::Windows::Forms::Button();
this->btn_ProductResult = new System::Windows::Forms::Button();
this->btn_ProductResultList = new System::Windows::Forms::Button();
this->btn_ProductPlanCheck = new System::Windows::Forms::Button();
this->btn_StockList = new System::Windows::Forms::Button();
this->btn_CalendarInput = new System::Windows::Forms::Button();
this->btn_Quit = new System::Windows::Forms::Button();
this->button1 = new System::Windows::Forms::Button();
this->button2 = new System::Windows::Forms::Button();
this->button3 = new System::Windows::Forms::Button();
this->SuspendLayout();
//
// 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->ForeColor = System::Drawing::SystemColors::ControlText;
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->Tag = S"0";
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")));
//
// btn_Stock
//
this->btn_Stock->AccessibleDescription = resources->GetString(S"btn_Stock.AccessibleDescription");
this->btn_Stock->AccessibleName = resources->GetString(S"btn_Stock.AccessibleName");
this->btn_Stock->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"btn_Stock.Anchor")));
this->btn_Stock->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"btn_Stock.BackgroundImage")));
this->btn_Stock->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"btn_Stock.Dock")));
this->btn_Stock->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"btn_Stock.Enabled")));
this->btn_Stock->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle * >(resources->GetObject(S"btn_Stock.FlatStyle")));
this->btn_Stock->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"btn_Stock.Font")));
this->btn_Stock->ForeColor = System::Drawing::SystemColors::ControlText;
this->btn_Stock->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"btn_Stock.Image")));
this->btn_Stock->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"btn_Stock.ImageAlign")));
this->btn_Stock->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"btn_Stock.ImageIndex")));
this->btn_Stock->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"btn_Stock.ImeMode")));
this->btn_Stock->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"btn_Stock.Location")));
this->btn_Stock->Name = S"btn_Stock";
this->btn_Stock->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"btn_Stock.RightToLeft")));
this->btn_Stock->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"btn_Stock.Size")));
this->btn_Stock->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"btn_Stock.TabIndex")));
this->btn_Stock->Tag = S"1";
this->btn_Stock->Text = resources->GetString(S"btn_Stock.Text");
this->btn_Stock->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"btn_Stock.TextAlign")));
this->btn_Stock->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"btn_Stock.Visible")));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -