📄 medpinyin.h
字号:
#pragma once
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
namespace My
{
/// <summary>
/// MedPinyin 摘要
///
/// 警告: 如果您更改该类的名称,则将需要更改
/// 与该类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。 否则,
/// 设计器将不能与此窗体关联的
/// 本地化资源正确交互。
/// </summary>
public __gc class MedPinyin : public System::Windows::Forms::Form
{
public:
String* strMedPinYin;
public:
MedPinyin(void)
{
InitializeComponent();
}
protected:
void Dispose(Boolean disposing)
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
private: System::Windows::Forms::Button * btnOK;
private: System::Windows::Forms::TextBox * tBoxPinyin;
private:
/// <summary>
/// 必需的设计器变量。
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
void InitializeComponent(void)
{
this->btnOK = new System::Windows::Forms::Button();
this->tBoxPinyin = new System::Windows::Forms::TextBox();
this->SuspendLayout();
//
// btnOK
//
this->btnOK->DialogResult = System::Windows::Forms::DialogResult::OK;
this->btnOK->Location = System::Drawing::Point(32, 40);
this->btnOK->Name = S"btnOK";
this->btnOK->Size = System::Drawing::Size(104, 32);
this->btnOK->TabIndex = 0;
this->btnOK->Text = S"确定";
this->btnOK->Click += new System::EventHandler(this, btnOK_Click);
//
// tBoxPinyin
//
this->tBoxPinyin->Location = System::Drawing::Point(160, 48);
this->tBoxPinyin->Name = S"tBoxPinyin";
this->tBoxPinyin->Size = System::Drawing::Size(184, 21);
this->tBoxPinyin->TabIndex = 1;
this->tBoxPinyin->Text = S"";
//
// MedPinyin
//
this->AcceptButton = this->btnOK;
this->AutoScaleBaseSize = System::Drawing::Size(6, 14);
this->ClientSize = System::Drawing::Size(392, 125);
this->Controls->Add(this->tBoxPinyin);
this->Controls->Add(this->btnOK);
this->MaximizeBox = false;
this->MinimizeBox = false;
this->Name = S"MedPinyin";
this->RightToLeft = System::Windows::Forms::RightToLeft::No;
this->Text = S"药品拼音码";
this->ResumeLayout(false);
}
private: System::Void btnOK_Click(System::Object * sender, System::EventArgs * e)
{
strMedPinYin = this->tBoxPinyin->Text;
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -