📄 laborcostrank.h
字号:
this->button2->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"button2.Image")));
this->button2->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"button2.ImageAlign")));
this->button2->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"button2.ImageIndex")));
this->button2->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"button2.ImeMode")));
this->button2->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"button2.Location")));
this->button2->Name = S"button2";
this->button2->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"button2.RightToLeft")));
this->button2->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"button2.Size")));
this->button2->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"button2.TabIndex")));
this->button2->Text = resources->GetString(S"button2.Text");
this->button2->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"button2.TextAlign")));
this->button2->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"button2.Visible")));
this->button2->Click += new System::EventHandler(this, button2_Click);
//
// 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);
//
// dGridStock
//
this->dGridStock->AccessibleDescription = resources->GetString(S"dGridStock.AccessibleDescription");
this->dGridStock->AccessibleName = resources->GetString(S"dGridStock.AccessibleName");
this->dGridStock->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"dGridStock.Anchor")));
this->dGridStock->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"dGridStock.BackgroundImage")));
this->dGridStock->CaptionFont = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dGridStock.CaptionFont")));
this->dGridStock->CaptionText = resources->GetString(S"dGridStock.CaptionText");
this->dGridStock->CaptionVisible = false;
this->dGridStock->DataMember = S"";
this->dGridStock->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"dGridStock.Dock")));
this->dGridStock->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dGridStock.Enabled")));
this->dGridStock->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dGridStock.Font")));
this->dGridStock->HeaderForeColor = System::Drawing::SystemColors::ControlText;
this->dGridStock->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"dGridStock.ImeMode")));
this->dGridStock->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"dGridStock.Location")));
this->dGridStock->Name = S"dGridStock";
this->dGridStock->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"dGridStock.RightToLeft")));
this->dGridStock->RowHeadersVisible = false;
this->dGridStock->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"dGridStock.Size")));
this->dGridStock->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"dGridStock.TabIndex")));
this->dGridStock->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dGridStock.Visible")));
//
// LaborCostRank
//
this->AccessibleDescription = resources->GetString(S"$this.AccessibleDescription");
this->AccessibleName = resources->GetString(S"$this.AccessibleName");
this->AutoScaleBaseSize = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"$this.AutoScaleBaseSize")));
this->AutoScroll = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"$this.AutoScroll")));
this->AutoScrollMargin = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"$this.AutoScrollMargin")));
this->AutoScrollMinSize = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"$this.AutoScrollMinSize")));
this->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"$this.BackgroundImage")));
this->ClientSize = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"$this.ClientSize")));
this->Controls->Add(this->dGridStock);
this->Controls->Add(this->button1);
this->Controls->Add(this->lbl_Title);
this->Controls->Add(this->button2);
this->Controls->Add(this->button3);
this->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"$this.Enabled")));
this->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"$this.Font")));
this->Icon = (__try_cast<System::Drawing::Icon * >(resources->GetObject(S"$this.Icon")));
this->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"$this.ImeMode")));
this->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"$this.Location")));
this->MaximizeBox = false;
this->MaximumSize = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"$this.MaximumSize")));
this->MinimumSize = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"$this.MinimumSize")));
this->Name = S"LaborCostRank";
this->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"$this.RightToLeft")));
this->StartPosition = (*__try_cast<__box System::Windows::Forms::FormStartPosition * >(resources->GetObject(S"$this.StartPosition")));
this->Text = resources->GetString(S"$this.Text");
this->Load += new System::EventHandler(this, LaborCostRank_Load);
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dGridStock))->EndInit();
this->ResumeLayout(false);
}
private: System::Void LaborCostRank_Load(System::Object * sender, System::EventArgs * e)
{
InitGrid(infLaborCost->intLang);
button3_Click(sender,e);
}
private: System::Void button3_Click(System::Object * sender, System::EventArgs * e)
{
dbLaborCost->blnCnnOpen();
GetGrid();
dbLaborCost->blnCnnClose();
}
private: System::Void button1_Click(System::Object * sender, System::EventArgs * e)
{
dbLaborCost->blnCnnOpen();
dbLaborCost->blnBeginTrans();
String * strMessage[]={S"更新成功!",S"更新に成功しました!",S"Success To Edit!"};
String * strMessage1[]={S"更新失败!",S"更新に失敗しました!",S"Fail To Edit!"};
if (UpdateGrid()){
dbLaborCost->blnCommit();
MessageBox::Show(strMessage[iLanguage]);
}
else{
MessageBox::Show(strMessage1[iLanguage]);
dbLaborCost->blnRollBack();
}
dbLaborCost->blnCnnClose();
}
private: System::Void button2_Click(System::Object * sender, System::EventArgs * e)
{
this->Close();
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -