📄 productresultlist.h
字号:
void InitGridMainForMonth(void);
public:
void GetDataGridTeamForDay(String* sProcessNo,int selectIndex);
void GetDataGridTeamForDay1(String* sProcessNo,int selectIndex);
//void InitGridMinor();//both GetDataGridMinorForDay and GetDataGridMinorForMonth will use same table style
private:
/// <summary>
/// 昁梫側僨僓僀僫曄悢偱偡丅
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 僨僓僀僫 僒億乕僩偵昁梫側儊僜僢僪偱偡丅偙偺儊僜僢僪偺撪梕傪
/// 僐乕僪 僄僨傿僞偱曄峏偟側偄偱偔偩偝偄丅
/// </summary>
void InitializeComponent(void)
{
System::Resources::ResourceManager * resources = new System::Resources::ResourceManager(__typeof(FAP::ProductResultList));
this->btnSearch = new System::Windows::Forms::Button();
this->comboBoxProcessNum = new System::Windows::Forms::ComboBox();
this->label1 = new System::Windows::Forms::Label();
this->label2 = new System::Windows::Forms::Label();
this->comboBoxUnit = new System::Windows::Forms::ComboBox();
this->button2 = new System::Windows::Forms::Button();
this->dataGridMainForMonth = new System::Windows::Forms::DataGrid();
this->lbl_Title = new System::Windows::Forms::Label();
this->button3 = new System::Windows::Forms::Button();
this->label3 = new System::Windows::Forms::Label();
this->dateTimePickerFrom = new System::Windows::Forms::DateTimePicker();
this->dateTimePickerTo = new System::Windows::Forms::DateTimePicker();
this->dataGridMainForDay = new System::Windows::Forms::DataGrid();
this->comboBox1 = new System::Windows::Forms::ComboBox();
this->label4 = new System::Windows::Forms::Label();
this->label5 = new System::Windows::Forms::Label();
this->comboBox2 = new System::Windows::Forms::ComboBox();
this->label6 = new System::Windows::Forms::Label();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGridMainForMonth))->BeginInit();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGridMainForDay))->BeginInit();
this->SuspendLayout();
//
// btnSearch
//
this->btnSearch->AccessibleDescription = resources->GetString(S"btnSearch.AccessibleDescription");
this->btnSearch->AccessibleName = resources->GetString(S"btnSearch.AccessibleName");
this->btnSearch->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"btnSearch.Anchor")));
this->btnSearch->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"btnSearch.BackgroundImage")));
this->btnSearch->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"btnSearch.Dock")));
this->btnSearch->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"btnSearch.Enabled")));
this->btnSearch->FlatStyle = (*__try_cast<__box System::Windows::Forms::FlatStyle * >(resources->GetObject(S"btnSearch.FlatStyle")));
this->btnSearch->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"btnSearch.Font")));
this->btnSearch->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"btnSearch.Image")));
this->btnSearch->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"btnSearch.ImageAlign")));
this->btnSearch->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"btnSearch.ImageIndex")));
this->btnSearch->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"btnSearch.ImeMode")));
this->btnSearch->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"btnSearch.Location")));
this->btnSearch->Name = S"btnSearch";
this->btnSearch->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"btnSearch.RightToLeft")));
this->btnSearch->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"btnSearch.Size")));
this->btnSearch->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"btnSearch.TabIndex")));
this->btnSearch->Text = resources->GetString(S"btnSearch.Text");
this->btnSearch->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"btnSearch.TextAlign")));
this->btnSearch->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"btnSearch.Visible")));
this->btnSearch->Click += new System::EventHandler(this, btnSearch_Click);
//
// comboBoxProcessNum
//
this->comboBoxProcessNum->AccessibleDescription = resources->GetString(S"comboBoxProcessNum.AccessibleDescription");
this->comboBoxProcessNum->AccessibleName = resources->GetString(S"comboBoxProcessNum.AccessibleName");
this->comboBoxProcessNum->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"comboBoxProcessNum.Anchor")));
this->comboBoxProcessNum->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"comboBoxProcessNum.BackgroundImage")));
this->comboBoxProcessNum->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"comboBoxProcessNum.Dock")));
this->comboBoxProcessNum->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->comboBoxProcessNum->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxProcessNum.Enabled")));
this->comboBoxProcessNum->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"comboBoxProcessNum.Font")));
this->comboBoxProcessNum->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"comboBoxProcessNum.ImeMode")));
this->comboBoxProcessNum->IntegralHeight = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxProcessNum.IntegralHeight")));
this->comboBoxProcessNum->ItemHeight = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxProcessNum.ItemHeight")));
this->comboBoxProcessNum->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"comboBoxProcessNum.Location")));
this->comboBoxProcessNum->MaxDropDownItems = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxProcessNum.MaxDropDownItems")));
this->comboBoxProcessNum->MaxLength = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxProcessNum.MaxLength")));
this->comboBoxProcessNum->Name = S"comboBoxProcessNum";
this->comboBoxProcessNum->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"comboBoxProcessNum.RightToLeft")));
this->comboBoxProcessNum->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"comboBoxProcessNum.Size")));
this->comboBoxProcessNum->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxProcessNum.TabIndex")));
this->comboBoxProcessNum->Text = resources->GetString(S"comboBoxProcessNum.Text");
this->comboBoxProcessNum->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxProcessNum.Visible")));
this->comboBoxProcessNum->SelectedIndexChanged += new System::EventHandler(this, comboBoxProcessNum_SelectedIndexChanged);
//
// label1
//
this->label1->AccessibleDescription = resources->GetString(S"label1.AccessibleDescription");
this->label1->AccessibleName = resources->GetString(S"label1.AccessibleName");
this->label1->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"label1.Anchor")));
this->label1->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label1.AutoSize")));
this->label1->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"label1.Dock")));
this->label1->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label1.Enabled")));
this->label1->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"label1.Font")));
this->label1->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"label1.Image")));
this->label1->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label1.ImageAlign")));
this->label1->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label1.ImageIndex")));
this->label1->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"label1.ImeMode")));
this->label1->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"label1.Location")));
this->label1->Name = S"label1";
this->label1->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"label1.RightToLeft")));
this->label1->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"label1.Size")));
this->label1->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label1.TabIndex")));
this->label1->Text = resources->GetString(S"label1.Text");
this->label1->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label1.TextAlign")));
this->label1->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label1.Visible")));
//
// label2
//
this->label2->AccessibleDescription = resources->GetString(S"label2.AccessibleDescription");
this->label2->AccessibleName = resources->GetString(S"label2.AccessibleName");
this->label2->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"label2.Anchor")));
this->label2->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label2.AutoSize")));
this->label2->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"label2.Dock")));
this->label2->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label2.Enabled")));
this->label2->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"label2.Font")));
this->label2->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"label2.Image")));
this->label2->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label2.ImageAlign")));
this->label2->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label2.ImageIndex")));
this->label2->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"label2.ImeMode")));
this->label2->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"label2.Location")));
this->label2->Name = S"label2";
this->label2->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"label2.RightToLeft")));
this->label2->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"label2.Size")));
this->label2->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label2.TabIndex")));
this->label2->Text = resources->GetString(S"label2.Text");
this->label2->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label2.TextAlign")));
this->label2->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label2.Visible")));
//
// comboBoxUnit
//
this->comboBoxUnit->AccessibleDescription = resources->GetString(S"comboBoxUnit.AccessibleDescription");
this->comboBoxUnit->AccessibleName = resources->GetString(S"comboBoxUnit.AccessibleName");
this->comboBoxUnit->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"comboBoxUnit.Anchor")));
this->comboBoxUnit->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"comboBoxUnit.BackgroundImage")));
this->comboBoxUnit->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"comboBoxUnit.Dock")));
this->comboBoxUnit->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->comboBoxUnit->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxUnit.Enabled")));
this->comboBoxUnit->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"comboBoxUnit.Font")));
this->comboBoxUnit->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"comboBoxUnit.ImeMode")));
this->comboBoxUnit->IntegralHeight = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxUnit.IntegralHeight")));
this->comboBoxUnit->ItemHeight = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxUnit.ItemHeight")));
System::Object* __mcTemp__1[] = new System::Object*[2];
__mcTemp__1[0] = resources->GetString(S"comboBoxUnit.Items");
__mcTemp__1[1] = resources->GetString(S"comboBoxUnit.Items1");
this->comboBoxUnit->Items->AddRange(__mcTemp__1);
this->comboBoxUnit->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"comboBoxUnit.Location")));
this->comboBoxUnit->MaxDropDownItems = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxUnit.MaxDropDownItems")));
this->comboBoxUnit->MaxLength = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxUnit.MaxLength")));
this->comboBoxUnit->Name = S"comboBoxUnit";
this->comboBoxUnit->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"comboBoxUnit.RightToLeft")));
this->comboBoxUnit->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"comboBoxUnit.Size")));
this->comboBoxUnit->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxUnit.TabIndex")));
this->comboBoxUnit->Text = resources->GetString(S"comboBoxUnit.Text");
this->comboBoxUnit->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxUnit.Visible")));
this->comboBoxUnit->SelectedIndexChanged += new System::EventHandler(this, comboBoxUnit_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")));
//
// dataGridMainForMonth
//
this->dataGridMainForMonth->AccessibleDescription = resources->GetString(S"dataGridMainForMonth.AccessibleDescription");
this->dataGridMainForMonth->AccessibleName = resources->GetString(S"dataGridMainForMonth.AccessibleName");
this->dataGridMainForMonth->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"dataGridMainForMonth.Anchor")));
this->dataGridMainForMonth->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"dataGridMainForMonth.BackgroundImage")));
this->dataGridMainForMonth->CaptionFont = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dataGridMainForMonth.CaptionFont")));
this->dataGridMainForMonth->CaptionText = resources->GetString(S"dataGridMainForMonth.CaptionText");
this->dataGridMainForMonth->CaptionVisible = false;
this->dataGridMainForMonth->DataMember = S"";
this->dataGridMainForMonth->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"dataGridMainForMonth.Dock")));
this->dataGridMainForMonth->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dataGridMainForMonth.Enabled")));
this->dataGridMainForMonth->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dataGridMainForMonth.Font")));
this->dataGridMainForMonth->HeaderForeColor = System::Drawing::SystemColors::ControlText;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -