⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainform.h

📁 这是一个工厂的生产线的仓库管理.有计划,实绩,库存等
💻 H
📖 第 1 页 / 共 4 页
字号:
#pragma once

#include "MenuWorker.h"
#include "MenuManager.h"
#include "MenuAdmin.h"
#include "DBBase.h"
#include "infClass.h"
#include "InputPass.h"

namespace FAP
{
	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::Globalization;
	using namespace System::Threading;
	

	/// <summary> 
	/// MainForm 偺奣梫

	///
	/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨 
	///          儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪
	///          曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄

	///          僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
	/// </summary>
	public __gc class MainForm : public System::Windows::Forms::Form
	{
		private:
			bool InitSystem(void);
			void CloseSystem(void);
			void ChangeLang(int iLang);

			void closelanguage(int iLang);

			MenuWorker *pMenuWorker;
			MenuManager *pMenuManager;
			MenuAdmin *pMenuAdmin;
			DBBase *DB;
			DataSet *dset;
	private: System::Windows::Forms::Label *  labcostmstname;
			 infClass *infClsMain;

			String * strcostMstname(String * strcboLocation,int striLanguage,DBBase * dbTmp);

		private: System::Windows::Forms::Button *  buttonOK;
		private: System::Windows::Forms::ComboBox *  comboBoxMenuType;
		private: System::Windows::Forms::ComboBox *  comboBoxLanguage;

		private: System::Windows::Forms::Button *  buttonQuit;
		private: System::Windows::Forms::Label *  labelMenuType;
		private: System::Windows::Forms::Label *  labelLanguage;
		private: System::Windows::Forms::Label *  labelGroup;
		private: System::Windows::Forms::Panel *  panelLogin;
		
		public:
			//Global Palameter
			int 	iLanguage;
			String*	sFactory;
			String*	sLine;
			String*	sProcess;
			int 	iGroup;
			String*	cShift;
			String* slablanguage;
			CultureInfo *culture;

	private: System::Windows::Forms::ComboBox *  comboBoxGroup;
	private: System::Windows::Forms::ComboBox *  cboShift;
	private: System::Windows::Forms::Label *  label1;
	private: System::Windows::Forms::ComboBox *  cboLocation;


	private: System::Windows::Forms::Label *  lblTmp;



		public:
			MainForm(void)
			{
				InitializeComponent();
				//Application::EnableVisualStyles();
			}
  
		protected:
			void Dispose(Boolean disposing)
			{
				if (disposing && components)
				{
					components->Dispose();
				}
				__super::Dispose(disposing);
			}

		private:
			/// <summary>
			/// 昁梫側僨僓僀僫曄悢偱偡丅
			/// </summary>
			System::ComponentModel::Container * components;

			/// <summary>
			/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪

			/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
			/// </summary>
			void InitializeComponent(void)
			{
				System::Resources::ResourceManager *  resources = new System::Resources::ResourceManager(__typeof(FAP::MainForm));
				this->buttonOK = new System::Windows::Forms::Button();
				this->buttonQuit = new System::Windows::Forms::Button();
				this->labelMenuType = new System::Windows::Forms::Label();
				this->comboBoxMenuType = new System::Windows::Forms::ComboBox();
				this->panelLogin = new System::Windows::Forms::Panel();
				this->lblTmp = new System::Windows::Forms::Label();
				this->cboShift = new System::Windows::Forms::ComboBox();
				this->labelLanguage = new System::Windows::Forms::Label();
				this->comboBoxLanguage = new System::Windows::Forms::ComboBox();
				this->labelGroup = new System::Windows::Forms::Label();
				this->comboBoxGroup = new System::Windows::Forms::ComboBox();
				this->label1 = new System::Windows::Forms::Label();
				this->cboLocation = new System::Windows::Forms::ComboBox();
				this->labcostmstname = new System::Windows::Forms::Label();
				this->panelLogin->SuspendLayout();
				this->SuspendLayout();
				// 
				// buttonOK
				// 
				this->buttonOK->AccessibleDescription = resources->GetString(S"buttonOK.AccessibleDescription");
				this->buttonOK->AccessibleName = resources->GetString(S"buttonOK.AccessibleName");
				this->buttonOK->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"buttonOK.Anchor")));
				this->buttonOK->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"buttonOK.BackgroundImage")));
				this->buttonOK->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"buttonOK.Dock")));
				this->buttonOK->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"buttonOK.Enabled")));
				this->buttonOK->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle *  >(resources->GetObject(S"buttonOK.FlatStyle")));
				this->buttonOK->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"buttonOK.Font")));
				this->buttonOK->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"buttonOK.Image")));
				this->buttonOK->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"buttonOK.ImageAlign")));
				this->buttonOK->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"buttonOK.ImageIndex")));
				this->buttonOK->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"buttonOK.ImeMode")));
				this->buttonOK->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"buttonOK.Location")));
				this->buttonOK->Name = S"buttonOK";
				this->buttonOK->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"buttonOK.RightToLeft")));
				this->buttonOK->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"buttonOK.Size")));
				this->buttonOK->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"buttonOK.TabIndex")));
				this->buttonOK->Text = resources->GetString(S"buttonOK.Text");
				this->buttonOK->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"buttonOK.TextAlign")));
				this->buttonOK->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"buttonOK.Visible")));
				this->buttonOK->Click += new System::EventHandler(this, buttonOK_Click);
				// 
				// buttonQuit
				// 
				this->buttonQuit->AccessibleDescription = resources->GetString(S"buttonQuit.AccessibleDescription");
				this->buttonQuit->AccessibleName = resources->GetString(S"buttonQuit.AccessibleName");
				this->buttonQuit->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles *  >(resources->GetObject(S"buttonQuit.Anchor")));
				this->buttonQuit->BackgroundImage = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"buttonQuit.BackgroundImage")));
				this->buttonQuit->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle *  >(resources->GetObject(S"buttonQuit.Dock")));
				this->buttonQuit->Enabled = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"buttonQuit.Enabled")));
				this->buttonQuit->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle *  >(resources->GetObject(S"buttonQuit.FlatStyle")));
				this->buttonQuit->Font = (__try_cast<System::Drawing::Font *  >(resources->GetObject(S"buttonQuit.Font")));
				this->buttonQuit->Image = (__try_cast<System::Drawing::Image *  >(resources->GetObject(S"buttonQuit.Image")));
				this->buttonQuit->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"buttonQuit.ImageAlign")));
				this->buttonQuit->ImageIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"buttonQuit.ImageIndex")));
				this->buttonQuit->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode *  >(resources->GetObject(S"buttonQuit.ImeMode")));
				this->buttonQuit->Location = (*__try_cast<__box System::Drawing::Point *  >(resources->GetObject(S"buttonQuit.Location")));
				this->buttonQuit->Name = S"buttonQuit";
				this->buttonQuit->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft *  >(resources->GetObject(S"buttonQuit.RightToLeft")));
				this->buttonQuit->Size = (*__try_cast<__box System::Drawing::Size *  >(resources->GetObject(S"buttonQuit.Size")));
				this->buttonQuit->TabIndex = (*__try_cast<__box System::Int32 *  >(resources->GetObject(S"buttonQuit.TabIndex")));
				this->buttonQuit->Text = resources->GetString(S"buttonQuit.Text");
				this->buttonQuit->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment *  >(resources->GetObject(S"buttonQuit.TextAlign")));
				this->buttonQuit->Visible = (*__try_cast<__box System::Boolean *  >(resources->GetObject(S"buttonQuit.Visible")));
				this->buttonQuit->Click += new System::EventHandler(this, buttonQuit_Click);
				// 
				// labelMenuType
				// 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -