📄 kindform.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 图书租借管理系统 {
/// <summary>
/// KindForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class KindForm : public System::Windows::Forms::Form
{
public:
KindForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~KindForm()
{
if (components)
{
delete components;
}
}
private: My::MyBooksDataSet^ MyBooksDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 图书类别BindingSource;
private: My::MyBooksDataSetTableAdapters::图书类别TableAdapter^ 图书类别TableAdapter;
private: System::Windows::Forms::ToolStripLabel^ bindingNavigatorCountItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator1;
private: System::Windows::Forms::ToolStripTextBox^ bindingNavigatorPositionItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ 图书类别BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::DataGridView^ 图书类别DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::BindingNavigator^ 图书类别BindingNavigator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::TextBox^ 类别编号TextBox;
private: System::Windows::Forms::TextBox^ 说明TextBox;
private: System::Windows::Forms::TextBox^ 类别名称TextBox;
private: System::ComponentModel::IContainer^ components;
private:
/// <summary>
/// 必需的设计器变量。
/// </summary>
#pragma region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::Windows::Forms::Label^ 说明Label;
System::Windows::Forms::Label^ 类别编号Label;
System::Windows::Forms::Label^ 类别名称Label;
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(KindForm::typeid));
this->MyBooksDataSet = (gcnew My::MyBooksDataSet());
this->图书类别BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->图书类别TableAdapter = (gcnew My::MyBooksDataSetTableAdapters::图书类别TableAdapter());
this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->图书类别BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->图书类别DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->图书类别BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
this->类别编号TextBox = (gcnew System::Windows::Forms::TextBox());
this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->类别名称TextBox = (gcnew System::Windows::Forms::TextBox());
说明Label = (gcnew System::Windows::Forms::Label());
类别编号Label = (gcnew System::Windows::Forms::Label());
类别名称Label = (gcnew System::Windows::Forms::Label());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->MyBooksDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->图书类别BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->图书类别DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->图书类别BindingNavigator))->BeginInit();
this->图书类别BindingNavigator->SuspendLayout();
this->SuspendLayout();
//
// 说明Label
//
说明Label->AutoSize = true;
说明Label->Location = System::Drawing::Point(2, 58);
说明Label->Name = L"说明Label";
说明Label->Size = System::Drawing::Size(35, 12);
说明Label->TabIndex = 14;
说明Label->Text = L"说明:";
//
// 类别编号Label
//
类别编号Label->AutoSize = true;
类别编号Label->Location = System::Drawing::Point(251, 31);
类别编号Label->Name = L"类别编号Label";
类别编号Label->Size = System::Drawing::Size(59, 12);
类别编号Label->TabIndex = 12;
类别编号Label->Text = L"类别编号:";
//
// 类别名称Label
//
类别名称Label->AutoSize = true;
类别名称Label->Location = System::Drawing::Point(2, 31);
类别名称Label->Name = L"类别名称Label";
类别名称Label->Size = System::Drawing::Size(59, 12);
类别名称Label->TabIndex = 10;
类别名称Label->Text = L"类别名称:";
//
// MyBooksDataSet
//
this->MyBooksDataSet->DataSetName = L"MyBooksDataSet";
this->MyBooksDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
//
// 图书类别BindingSource
//
this->图书类别BindingSource->DataMember = L"图书类别";
this->图书类别BindingSource->DataSource = this->MyBooksDataSet;
//
// 图书类别TableAdapter
//
this->图书类别TableAdapter->ClearBeforeFill = true;
//
// bindingNavigatorCountItem
//
this->bindingNavigatorCountItem->Name = L"bindingNavigatorCountItem";
this->bindingNavigatorCountItem->Size = System::Drawing::Size(35, 22);
this->bindingNavigatorCountItem->Text = L"/ {0}";
this->bindingNavigatorCountItem->ToolTipText = L"总项数";
//
// bindingNavigatorSeparator1
//
this->bindingNavigatorSeparator1->Name = L"bindingNavigatorSeparator1";
this->bindingNavigatorSeparator1->Size = System::Drawing::Size(6, 25);
//
// bindingNavigatorPositionItem
//
this->bindingNavigatorPositionItem->AccessibleName = L"位置";
this->bindingNavigatorPositionItem->AutoSize = false;
this->bindingNavigatorPositionItem->Name = L"bindingNavigatorPositionItem";
this->bindingNavigatorPositionItem->Size = System::Drawing::Size(50, 21);
this->bindingNavigatorPositionItem->Text = L"0";
this->bindingNavigatorPositionItem->ToolTipText = L"当前位置";
//
// bindingNavigatorMovePreviousItem
//
this->bindingNavigatorMovePreviousItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->bindingNavigatorMovePreviousItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"bindingNavigatorMovePreviousItem.Image")));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -