📄 mainform.h
字号:
this->labelGroup->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"labelGroup.AutoSize")));
this->labelGroup->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"labelGroup.Dock")));
this->labelGroup->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"labelGroup.Enabled")));
this->labelGroup->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"labelGroup.Font")));
this->labelGroup->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"labelGroup.Image")));
this->labelGroup->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"labelGroup.ImageAlign")));
this->labelGroup->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"labelGroup.ImageIndex")));
this->labelGroup->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"labelGroup.ImeMode")));
this->labelGroup->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"labelGroup.Location")));
this->labelGroup->Name = S"labelGroup";
this->labelGroup->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"labelGroup.RightToLeft")));
this->labelGroup->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"labelGroup.Size")));
this->labelGroup->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"labelGroup.TabIndex")));
this->labelGroup->Text = resources->GetString(S"labelGroup.Text");
this->labelGroup->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"labelGroup.TextAlign")));
this->labelGroup->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"labelGroup.Visible")));
this->labelGroup->Click += new System::EventHandler(this, labelGroup_Click);
//
// comboBoxGroup
//
this->comboBoxGroup->AccessibleDescription = resources->GetString(S"comboBoxGroup.AccessibleDescription");
this->comboBoxGroup->AccessibleName = resources->GetString(S"comboBoxGroup.AccessibleName");
this->comboBoxGroup->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"comboBoxGroup.Anchor")));
this->comboBoxGroup->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"comboBoxGroup.BackgroundImage")));
this->comboBoxGroup->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"comboBoxGroup.Dock")));
this->comboBoxGroup->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->comboBoxGroup->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxGroup.Enabled")));
this->comboBoxGroup->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"comboBoxGroup.Font")));
this->comboBoxGroup->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"comboBoxGroup.ImeMode")));
this->comboBoxGroup->IntegralHeight = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxGroup.IntegralHeight")));
this->comboBoxGroup->ItemHeight = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxGroup.ItemHeight")));
this->comboBoxGroup->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"comboBoxGroup.Location")));
this->comboBoxGroup->MaxDropDownItems = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxGroup.MaxDropDownItems")));
this->comboBoxGroup->MaxLength = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxGroup.MaxLength")));
this->comboBoxGroup->Name = S"comboBoxGroup";
this->comboBoxGroup->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"comboBoxGroup.RightToLeft")));
this->comboBoxGroup->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"comboBoxGroup.Size")));
this->comboBoxGroup->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"comboBoxGroup.TabIndex")));
this->comboBoxGroup->Text = resources->GetString(S"comboBoxGroup.Text");
this->comboBoxGroup->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"comboBoxGroup.Visible")));
this->comboBoxGroup->SelectedIndexChanged += new System::EventHandler(this, comboBoxGroup_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")));
//
// cboLocation
//
this->cboLocation->AccessibleDescription = resources->GetString(S"cboLocation.AccessibleDescription");
this->cboLocation->AccessibleName = resources->GetString(S"cboLocation.AccessibleName");
this->cboLocation->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"cboLocation.Anchor")));
this->cboLocation->BackgroundImage = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"cboLocation.BackgroundImage")));
this->cboLocation->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"cboLocation.Dock")));
this->cboLocation->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->cboLocation->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"cboLocation.Enabled")));
this->cboLocation->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"cboLocation.Font")));
this->cboLocation->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"cboLocation.ImeMode")));
this->cboLocation->IntegralHeight = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"cboLocation.IntegralHeight")));
this->cboLocation->ItemHeight = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"cboLocation.ItemHeight")));
this->cboLocation->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"cboLocation.Location")));
this->cboLocation->MaxDropDownItems = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"cboLocation.MaxDropDownItems")));
this->cboLocation->MaxLength = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"cboLocation.MaxLength")));
this->cboLocation->Name = S"cboLocation";
this->cboLocation->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"cboLocation.RightToLeft")));
this->cboLocation->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"cboLocation.Size")));
this->cboLocation->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"cboLocation.TabIndex")));
this->cboLocation->Text = resources->GetString(S"cboLocation.Text");
this->cboLocation->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"cboLocation.Visible")));
this->cboLocation->SelectedIndexChanged += new System::EventHandler(this, cboLocation_SelectedIndexChanged);
//
// labcostmstname
//
this->labcostmstname->AccessibleDescription = resources->GetString(S"labcostmstname.AccessibleDescription");
this->labcostmstname->AccessibleName = resources->GetString(S"labcostmstname.AccessibleName");
this->labcostmstname->Anchor = (*__try_cast<__box System::Windows::Forms::AnchorStyles * >(resources->GetObject(S"labcostmstname.Anchor")));
this->labcostmstname->AutoSize = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"labcostmstname.AutoSize")));
this->labcostmstname->Dock = (*__try_cast<__box System::Windows::Forms::DockStyle * >(resources->GetObject(S"labcostmstname.Dock")));
this->labcostmstname->Enabled = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"labcostmstname.Enabled")));
this->labcostmstname->Font = (__try_cast<System::Drawing::Font * >(resources->GetObject(S"labcostmstname.Font")));
this->labcostmstname->Image = (__try_cast<System::Drawing::Image * >(resources->GetObject(S"labcostmstname.Image")));
this->labcostmstname->ImageAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"labcostmstname.ImageAlign")));
this->labcostmstname->ImageIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"labcostmstname.ImageIndex")));
this->labcostmstname->ImeMode = (*__try_cast<__box System::Windows::Forms::ImeMode * >(resources->GetObject(S"labcostmstname.ImeMode")));
this->labcostmstname->Location = (*__try_cast<__box System::Drawing::Point * >(resources->GetObject(S"labcostmstname.Location")));
this->labcostmstname->Name = S"labcostmstname";
this->labcostmstname->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"labcostmstname.RightToLeft")));
this->labcostmstname->Size = (*__try_cast<__box System::Drawing::Size * >(resources->GetObject(S"labcostmstname.Size")));
this->labcostmstname->TabIndex = (*__try_cast<__box System::Int32 * >(resources->GetObject(S"labcostmstname.TabIndex")));
this->labcostmstname->Text = resources->GetString(S"labcostmstname.Text");
this->labcostmstname->TextAlign = (*__try_cast<__box System::Drawing::ContentAlignment * >(resources->GetObject(S"labcostmstname.TextAlign")));
this->labcostmstname->Visible = (*__try_cast<__box System::Boolean * >(resources->GetObject(S"labcostmstname.Visible")));
//
// MainForm
//
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->labcostmstname);
this->Controls->Add(this->cboLocation);
this->Controls->Add(this->label1);
this->Controls->Add(this->panelLogin);
this->Controls->Add(this->labelMenuType);
this->Controls->Add(this->comboBoxMenuType);
this->Controls->Add(this->buttonOK);
this->Controls->Add(this->buttonQuit);
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->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
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"MainForm";
this->RightToLeft = (*__try_cast<__box System::Windows::Forms::RightToLeft * >(resources->GetObject(S"$this.RightToLeft")));
this->SizeGripStyle = System::Windows::Forms::SizeGripStyle::Show;
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, MainForm_Load);
this->Closed += new System::EventHandler(this, MainForm_Closed);
this->panelLogin->ResumeLayout(false);
this->ResumeLayout(false);
}
private: System::Void MainForm_Load(System::Object * sender, System::EventArgs * e)
{
//Open & Init
if (!InitSystem())
this->Close();
//setlabelLanguage();
this->comboBoxLanguage->Items->Add(S"中文");
this->comboBoxLanguage->Items->Add(S"日本語");
this->comboBoxLanguage->Items->Add(S"English");
comboBoxLanguage->SelectedIndex = iLanguage;
//comboBoxMenuType->SelectedIndex = 0;
comboBoxMenuType->Enabled = true;
comboBoxLanguage->Enabled = true;
cboShift->SelectedIndex = 0;
cboLocation->SelectedIndex = 0;
//labcostmstname->Text=strcostMstname(cboLocation->Text,iLanguage,DB);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -