📄 lostreaderform.h
字号:
//文件名:LostReaderForm.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;
using namespace System::Data::SqlClient;
namespace 图书租借管理系统 {
/// <summary>
/// LostReaderForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class LostReaderForm : public System::Windows::Forms::Form
{
public:
LostReaderForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~LostReaderForm()
{
if (components)
{
delete components;
}
}
private: My::MyBooksDataSet^ MyBooksDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 读者挂失BindingSource;
private: My::MyBooksDataSetTableAdapters::读者挂失TableAdapter^ 读者挂失TableAdapter;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::DataGridView^ 读者信息DataGridView;
private: System::Windows::Forms::ToolStripButton^ 读者挂失BindingNavigatorSaveItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::Button^ 查询Button;
private: System::Windows::Forms::TextBox^ 挂失读者证件号码TextBox;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::TextBox^ 挂失读者姓名TextBox;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::GroupBox^ groupBox1;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::TextBox^ 证件名称TextBox;
private: System::Windows::Forms::TextBox^ 证件号码TextBox;
private: System::Windows::Forms::DateTimePicker^ 挂失日期DateTimePicker;
private: System::Windows::Forms::TextBox^ 说明TextBox;
private: System::Windows::Forms::BindingNavigator^ 读者挂失BindingNavigator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripLabel^ bindingNavigatorCountItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripTextBox^ bindingNavigatorPositionItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator1;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::TextBox^ 姓名TextBox;
private: System::Windows::Forms::TextBox^ 编号TextBox;
private: System::Windows::Forms::DataGridView^ 读者挂失DataGridView;
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::Windows::Forms::Label^ 证件号码Label;
System::Windows::Forms::Label^ 挂失日期Label;
System::Windows::Forms::Label^ 说明Label;
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(LostReaderForm::typeid));
this->MyBooksDataSet = (gcnew My::MyBooksDataSet());
this->读者挂失BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->读者挂失TableAdapter = (gcnew My::MyBooksDataSetTableAdapters::读者挂失TableAdapter());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->读者信息DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->读者挂失BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->查询Button = (gcnew System::Windows::Forms::Button());
this->挂失读者证件号码TextBox = (gcnew System::Windows::Forms::TextBox());
this->label2 = (gcnew System::Windows::Forms::Label());
this->挂失读者姓名TextBox = (gcnew System::Windows::Forms::TextBox());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->证件名称TextBox = (gcnew System::Windows::Forms::TextBox());
this->证件号码TextBox = (gcnew System::Windows::Forms::TextBox());
this->挂失日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->读者挂失BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->姓名TextBox = (gcnew System::Windows::Forms::TextBox());
this->编号TextBox = (gcnew System::Windows::Forms::TextBox());
this->读者挂失DataGridView = (gcnew System::Windows::Forms::DataGridView());
编号Label = (gcnew System::Windows::Forms::Label());
姓名Label = (gcnew System::Windows::Forms::Label());
证件名称Label = (gcnew System::Windows::Forms::Label());
证件号码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();
this->groupBox1->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->读者挂失BindingNavigator))->BeginInit();
this->读者挂失BindingNavigator->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->读者挂失DataGridView))->BeginInit();
this->SuspendLayout();
//
// 编号Label
//
编号Label->AutoSize = true;
编号Label->Location = System::Drawing::Point(2, 31);
编号Label->Name = L"编号Label";
编号Label->Size = System::Drawing::Size(35, 12);
编号Label->TabIndex = 17;
编号Label->Text = L"编号:";
//
// 姓名Label
//
姓名Label->AutoSize = true;
姓名Label->Location = System::Drawing::Point(2, 58);
姓名Label->Name = L"姓名Label";
姓名Label->Size = System::Drawing::Size(35, 12);
姓名Label->TabIndex = 19;
姓名Label->Text = L"姓名:";
//
// 证件名称Label
//
证件名称Label->AutoSize = true;
证件名称Label->Location = System::Drawing::Point(2, 85);
证件名称Label->Name = L"证件名称Label";
证件名称Label->Size = System::Drawing::Size(59, 12);
证件名称Label->TabIndex = 21;
证件名称Label->Text = L"证件名称:";
//
// 证件号码Label
//
证件号码Label->AutoSize = true;
证件号码Label->Location = System::Drawing::Point(2, 112);
证件号码Label->Name = L"证件号码Label";
证件号码Label->Size = System::Drawing::Size(59, 12);
证件号码Label->TabIndex = 23;
证件号码Label->Text = L"证件号码:";
//
// 挂失日期Label
//
挂失日期Label->AutoSize = true;
挂失日期Label->Location = System::Drawing::Point(2, 140);
挂失日期Label->Name = L"挂失日期Label";
挂失日期Label->Size = System::Drawing::Size(59, 12);
挂失日期Label->TabIndex = 25;
挂失日期Label->Text = L"挂失日期:";
//
// 说明Label
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -