📄 productresultcheck.h
字号:
this->label5->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"label5.Anchor")));
this->label5->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label5.AutoSize")));
this->label5->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"label5.Dock")));
this->label5->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label5.Enabled")));
this->label5->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"label5.Font")));
this->label5->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"label5.Image")));
this->label5->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label5.ImageAlign")));
this->label5->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label5.ImageIndex")));
this->label5->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"label5.ImeMode")));
this->label5->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"label5.Location")));
this->label5->Name = S"label5";
this->label5->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"label5.RightToLeft")));
this->label5->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"label5.Size")));
this->label5->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label5.TabIndex")));
this->label5->Text = resources->GetString(S"label5.Text");
this->label5->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label5.TextAlign")));
this->label5->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label5.Visible")));
//
// dateTimePickerTo
//
this->dateTimePickerTo->AccessibleDescription = resources->GetString(S"dateTimePickerTo.AccessibleDescription");
this->dateTimePickerTo->AccessibleName = resources->GetString(S"dateTimePickerTo.AccessibleName");
this->dateTimePickerTo->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"dateTimePickerTo.Anchor")));
this->dateTimePickerTo->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"dateTimePickerTo.BackgroundImage")));
this->dateTimePickerTo->CalendarFont = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dateTimePickerTo.CalendarFont")));
this->dateTimePickerTo->CustomFormat = S"yyyy-MM-dd";
this->dateTimePickerTo->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"dateTimePickerTo.Dock")));
this->dateTimePickerTo->DropDownAlign = (*__try_cast<__box System::Windows::Forms::LeftRightAlignment * >(resources->GetObject(S"dateTimePickerTo.DropDownAlign")));
this->dateTimePickerTo->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dateTimePickerTo.Enabled")));
this->dateTimePickerTo->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dateTimePickerTo.Font")));
this->dateTimePickerTo->Format = System::Windows::Forms::DateTimePickerFormat::Custom;
this->dateTimePickerTo->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"dateTimePickerTo.ImeMode")));
this->dateTimePickerTo->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"dateTimePickerTo.Location")));
this->dateTimePickerTo->Name = S"dateTimePickerTo";
this->dateTimePickerTo->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"dateTimePickerTo.RightToLeft")));
this->dateTimePickerTo->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"dateTimePickerTo.Size")));
this->dateTimePickerTo->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"dateTimePickerTo.TabIndex")));
this->dateTimePickerTo->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dateTimePickerTo.Visible")));
//
// label4
//
this->label4->AccessibleDescription = resources->GetString(S"label4.AccessibleDescription");
this->label4->AccessibleName = resources->GetString(S"label4.AccessibleName");
this->label4->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"label4.Anchor")));
this->label4->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label4.AutoSize")));
this->label4->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"label4.Dock")));
this->label4->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label4.Enabled")));
this->label4->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"label4.Font")));
this->label4->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"label4.Image")));
this->label4->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label4.ImageAlign")));
this->label4->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label4.ImageIndex")));
this->label4->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"label4.ImeMode")));
this->label4->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"label4.Location")));
this->label4->Name = S"label4";
this->label4->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"label4.RightToLeft")));
this->label4->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"label4.Size")));
this->label4->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"label4.TabIndex")));
this->label4->Text = resources->GetString(S"label4.Text");
this->label4->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"label4.TextAlign")));
this->label4->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"label4.Visible")));
//
// dateTimePickerFrom
//
this->dateTimePickerFrom->AccessibleDescription = resources->GetString(S"dateTimePickerFrom.AccessibleDescription");
this->dateTimePickerFrom->AccessibleName = resources->GetString(S"dateTimePickerFrom.AccessibleName");
this->dateTimePickerFrom->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"dateTimePickerFrom.Anchor")));
this->dateTimePickerFrom->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"dateTimePickerFrom.BackgroundImage")));
this->dateTimePickerFrom->CalendarFont = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dateTimePickerFrom.CalendarFont")));
this->dateTimePickerFrom->CustomFormat = S"yyyy-MM-dd";
this->dateTimePickerFrom->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"dateTimePickerFrom.Dock")));
this->dateTimePickerFrom->DropDownAlign = (*__try_cast<__box System::Windows::Forms::LeftRightAlignment * >(resources->GetObject(S"dateTimePickerFrom.DropDownAlign")));
this->dateTimePickerFrom->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dateTimePickerFrom.Enabled")));
this->dateTimePickerFrom->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"dateTimePickerFrom.Font")));
this->dateTimePickerFrom->Format = System::Windows::Forms::DateTimePickerFormat::Custom;
this->dateTimePickerFrom->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"dateTimePickerFrom.ImeMode")));
this->dateTimePickerFrom->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"dateTimePickerFrom.Location")));
this->dateTimePickerFrom->Name = S"dateTimePickerFrom";
this->dateTimePickerFrom->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"dateTimePickerFrom.RightToLeft")));
this->dateTimePickerFrom->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"dateTimePickerFrom.Size")));
this->dateTimePickerFrom->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"dateTimePickerFrom.TabIndex")));
this->dateTimePickerFrom->Value = System::DateTime(2005, 8, 11, 0, 0, 0, 0);
this->dateTimePickerFrom->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"dateTimePickerFrom.Visible")));
//
// 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);
//
// ProductResultCheck
//
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->btnSearch);
this->Controls->Add(this->label5);
this->Controls->Add(this->dateTimePickerTo);
this->Controls->Add(this->label4);
this->Controls->Add(this->dateTimePickerFrom);
this->Controls->Add(this->dataGridPrcheck);
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"ProductResultCheck";
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, ProductResultCheck_Load);
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGridPrcheck))->EndInit();
this->ResumeLayout(false);
}
void InitProductResultCheck(int intlanguage,int intlong);
void InitGridPrcheck(void);
private: System::Void button3_Click(System::Object * sender, System::EventArgs * e)
{
this->Close();
}
private: System::Void ProductResultCheck_Load(System::Object * sender, System::EventArgs * e)
{
ilong=0;
String *vstrDate1;
vstrDate1=String::Format("{0:yyyy-MM-01}",__box(DateTime::Today));
dateTimePickerFrom->Text=vstrDate1;
//Connect DB
oDB = new DBBase();
oDB->blnCnnOpen();
//Init Display
InitGridPrcheck();
InitProductResultCheck(iLanguage,ilong);
}
private: System::Void btnSearch_Click(System::Object * sender, System::EventArgs * e)
{
ilong=1;
//InitGridPrcheck();
InitProductResultCheck(iLanguage,ilong);
}
};
public __gc class RowColorDataGridTextBoxColumn : public System::Windows::Forms::DataGridTextBoxColumn
{
protected: void Paint(Graphics *g, Rectangle bounds, CurrencyManager *source, int rowNum, Brush *backBrush, Brush *foreBrush, bool alignToRight);
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -