📄 modelresultlist.h
字号:
this->comboBox2->MaxLength = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBox2.MaxLength")));
this->comboBox2->Name = S"comboBox2";
this->comboBox2->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"comboBox2.RightToLeft")));
this->comboBox2->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"comboBox2.Size")));
this->comboBox2->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBox2.TabIndex")));
this->comboBox2->Text = resources->GetString(S"comboBox2.Text");
this->comboBox2->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBox2.Visible")));
this->comboBox2->SelectedIndexChanged += new System::EventHandler(this, comboBox2_SelectedIndexChanged);
//
// button2
//
this->button2->AccessibleDescription = resources->GetString(S"button2.AccessibleDescription");
this->button2->AccessibleName = resources->GetString(S"button2.AccessibleName");
this->button2->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"button2.Anchor")));
this->button2->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"button2.BackgroundImage")));
this->button2->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"button2.Dock")));
this->button2->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"button2.Enabled")));
this->button2->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle * >(resources->GetObject(S"button2.FlatStyle")));
this->button2->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"button2.Font")));
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);
//
// 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);
//
// GridResultList
//
this->GridResultList->AccessibleDescription = resources->GetString(S"GridResultList.AccessibleDescription");
this->GridResultList->AccessibleName = resources->GetString(S"GridResultList.AccessibleName");
this->GridResultList->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"GridResultList.Anchor")));
this->GridResultList->BackColor = System::Drawing::Color::CornflowerBlue;
this->GridResultList->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"GridResultList.BackgroundImage")));
this->GridResultList->ColumnInfo = resources->GetString(S"GridResultList.ColumnInfo");
this->GridResultList->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"GridResultList.Dock")));
this->GridResultList->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"GridResultList.Enabled")));
this->GridResultList->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"GridResultList.Font")));
this->GridResultList->ForeColor = System::Drawing::SystemColors::WindowText;
this->GridResultList->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"GridResultList.ImeMode")));
this->GridResultList->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"GridResultList.Location")));
this->GridResultList->Name = S"GridResultList";
this->GridResultList->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"GridResultList.RightToLeft")));
this->GridResultList->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"GridResultList.Size")));
this->GridResultList->Styles = new C1::Win::C1FlexGrid::CellStyleCollection(S"Normal{Font:MS UI Gothic, 14pt;BackColor:CornflowerBlue;}\tAlternate{BackColor:Ali"
S"ceBlue;}\tFixed{BackColor:DarkGray;ForeColor:ControlText;Border:Flat,1,ControlDar"
S"k,Both;}\tHighlight{BackColor:Highlight;ForeColor:HighlightText;}\tSearch{BackColo"
S"r:Highlight;ForeColor:HighlightText;}\tFrozen{BackColor:DarkGray;}\tEmptyArea{Back"
S"Color:AppWorkspace;Border:Flat,1,ControlDarkDark,Both;}\tGrandTotal{BackColor:Bla"
S"ck;ForeColor:White;}\tSubtotal0{BackColor:ControlDarkDark;ForeColor:White;}\tSubto"
S"tal1{BackColor:ControlDarkDark;ForeColor:White;}\tSubtotal2{BackColor:ControlDark"
S"Dark;ForeColor:White;}\tSubtotal3{BackColor:ControlDarkDark;ForeColor:White;}\tSub"
S"total4{BackColor:ControlDarkDark;ForeColor:White;}\tSubtotal5{BackColor:ControlDa"
S"rkDark;ForeColor:White;}\t");
this->GridResultList->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"GridResultList.TabIndex")));
this->GridResultList->Text = resources->GetString(S"GridResultList.Text");
this->GridResultList->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"GridResultList.Visible")));
//
// ModelResultList
//
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->GridResultList);
this->Controls->Add(this->comboBox1);
this->Controls->Add(this->label1);
this->Controls->Add(this->label2);
this->Controls->Add(this->comboBox2);
this->Controls->Add(this->button2);
this->Controls->Add(this->lbl_Title);
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"ModelResultList";
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, ModelResultList_Load);
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->GridResultList))->EndInit();
this->ResumeLayout(false);
}
private: System::Void button3_Click(System::Object * sender, System::EventArgs * e)
{
this->Close();
}
private: System::Void ModelResultList_Load(System::Object * sender, System::EventArgs * e)
{
comboBox1->Items->Add(S" R ");
comboBox1->Items->Add(S" V ");
comboBox1->SelectedIndex=0;
DataTable *dTmp1;
dTmp1 = dtblGetCostms(infClsRstInput,DBBRstInput);
//dataGrid1->DataSource = dTmp1;
comboBox2->DataSource = dTmp1;
comboBox2->DisplayMember = S"PROCESS_NO";
InitGridgStyle(1);
blnChkdev();
}
private: System::Void comboBox2_SelectedIndexChanged(System::Object * sender, System::EventArgs * e)
{
InitGridgStyle(1);
blnChkdev();
}
private: System::Void comboBox1_SelectedIndexChanged(System::Object * sender, System::EventArgs * e)
{
DataTable *dTmp1;
dTmp1 = dtblGetCostms(infClsRstInput,DBBRstInput);
//dataGrid1->DataSource = dTmp1;
comboBox2->DataSource = dTmp1;
comboBox2->DisplayMember = S"PROCESS_NO";
}
private: System::Void button2_Click(System::Object * sender, System::EventArgs * e)
{
vstrDateTime=String::Format("{0:yyyyMMddhhmmss}",__box(DateTime::Now));
vstrYMDHIS=String::Concat(S"機種別生産実績一覧",intDate(),S".xls");
CreateViewFAP(vstrYMDHIS);
OutputExcel();
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -