📄 balanceofpayment.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>
/// BalanceOfPayment 偺奣梫
///
/// 寈崘 : 偙偺僋儔僗偺柤慜傪曄峏偡傞応崌丄偙偺僋儔僗偑埶懚偡傞偡傋偰偺 .resx 僼傽僀儖偵娭楢晅偗傜傟偨
/// 儅僱乕僕 儕僜乕僗 僐儞僷僀儔 僣乕儖偵懳偟偰 'Resource File Name' 僾儘僷僥傿傪
/// 曄峏偡傞昁梫偑偁傝傑偡丅偙偺曄峏傪峴傢側偄偲丄
/// 僨僓僀僫偲丄偙偺僼僅乕儉偵娭楢晅偗傜傟偨儘乕僇儔僀僘嵪傒儕僜乕僗偲偑丄
/// 惓偟偔憡屳偵棙梡偱偒側偔側傝傑偡丅
/// </summary>
public __gc class BalanceOfPayment : public System::Windows::Forms::Form
{
public:
BalanceOfPayment(void)
{
InitializeComponent();
}
BalanceOfPayment(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:
//Global Palameter
int iLanguage;
String* sFactory;
String* sLine;
String* sProcess;
int iGroup;
String* cShift;
infClass* oInf;
DBBase* oDB;
DataSet* oDataSet;
DataTable* oDataTable;
DataGridTableStyle* oTableStyle;
//*******begin******* //add by DongZhaoLiang in 2006/4/28
String* sTemp;
//******end *********//add by DongZhaoLiang in 2006/4/28
private: System::Windows::Forms::Button * buttonClose;
private: System::Windows::Forms::Button * buttonPrint;
private: System::Windows::Forms::Label * lbl_Title;
private: System::Windows::Forms::DataGrid * dataGridBalance;
private: System::Windows::Forms::Panel * panel1;
private: System::Windows::Forms::ComboBox * comboBoxPType;
private: System::Windows::Forms::Label * label1;
private: System::Windows::Forms::Label * label2;
private: System::Windows::Forms::ComboBox * comboBoxPeriod;
private: System::Windows::Forms::Button * buttonView;
private: System::Windows::Forms::TextBox * textBoxTotal;
private: System::Windows::Forms::TextBox * textBoxSellingPrice;
private: System::Windows::Forms::TextBox * textBoxPriceCost;
private: System::Windows::Forms::TextBox * textBoxQuantity;
private: System::Windows::Forms::TextBox * textBoxTotalManDay;
private: System::Windows::Forms::TextBox * textBoxManCost;
private: System::Windows::Forms::TextBox * textBoxLossCost;
private: System::Windows::Forms::Label * label3;
private: System::Windows::Forms::ComboBox * comboBoxYear;
private: System::Windows::Forms::Panel * panel2;
private: System::Windows::Forms::Button * buttonExcel2;
private: System::Windows::Forms::Label * label4;
private: System::Windows::Forms::Button * buttonExcel;
private:
/// <summary>
/// 昁梫側僨僓僀僫曄悢偱偡丅
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
/// </summary>
void InitializeComponent(void)
{
System::Resources::ResourceManager * resources = new System::Resources::ResourceManager(__typeof(FAP::BalanceOfPayment));
this->dataGridBalance = new System::Windows::Forms::DataGrid();
this->buttonClose = new System::Windows::Forms::Button();
this->buttonPrint = new System::Windows::Forms::Button();
this->lbl_Title = new System::Windows::Forms::Label();
this->panel1 = new System::Windows::Forms::Panel();
this->comboBoxYear = new System::Windows::Forms::ComboBox();
this->label3 = new System::Windows::Forms::Label();
this->buttonView = new System::Windows::Forms::Button();
this->comboBoxPType = new System::Windows::Forms::ComboBox();
this->label1 = new System::Windows::Forms::Label();
this->label2 = new System::Windows::Forms::Label();
this->comboBoxPeriod = new System::Windows::Forms::ComboBox();
this->textBoxTotal = new System::Windows::Forms::TextBox();
this->textBoxSellingPrice = new System::Windows::Forms::TextBox();
this->textBoxPriceCost = new System::Windows::Forms::TextBox();
this->textBoxQuantity = new System::Windows::Forms::TextBox();
this->textBoxTotalManDay = new System::Windows::Forms::TextBox();
this->textBoxManCost = new System::Windows::Forms::TextBox();
this->textBoxLossCost = new System::Windows::Forms::TextBox();
this->panel2 = new System::Windows::Forms::Panel();
this->buttonExcel = new System::Windows::Forms::Button();
this->label4 = new System::Windows::Forms::Label();
this->buttonExcel2 = new System::Windows::Forms::Button();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGridBalance))->BeginInit();
this->panel1->SuspendLayout();
this->panel2->SuspendLayout();
this->SuspendLayout();
//
// dataGridBalance
//
this->dataGridBalance->AccessibleDescription = resources->GetString(S"dataGridBalance.AccessibleDescription");
this->dataGridBalance->AccessibleName = resources->GetString(S"dataGridBalance.AccessibleName");
this->dataGridBalance->AllowSorting = false;
this->dataGridBalance->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"dataGridBalance.Anchor")));
this->dataGridBalance->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"dataGridBalance.BackgroundImage")));
this->dataGridBalance->CaptionFont = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dataGridBalance.CaptionFont")));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -