⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readerform.h

📁 vc++开发环境SQL数据库图书租借管理系统
💻 H
📖 第 1 页 / 共 3 页
字号:
//文件名:ReaderForm.h
#include"AssociatorForm.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>
	/// ReaderForm 摘要
	///
	/// 警告: 如果更改此类的名称,则需要更改
	///          与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
	///          “资源文件名”属性。否则,
	///          设计器将不能与此窗体的关联
	///          本地化资源正确交互。
	/// </summary>
	public ref class ReaderForm : public System::Windows::Forms::Form
	{
	public:
		ReaderForm(void)
		{
			InitializeComponent();
			//
			//TODO: 在此处添加构造函数代码
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~ReaderForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: My::MyBooksDataSet^  MyBooksDataSet;
	protected: 
	private: System::Windows::Forms::BindingSource^  读者信息BindingSource;
	private: My::MyBooksDataSetTableAdapters::读者信息TableAdapter^  读者信息TableAdapter;
	private: System::Windows::Forms::ToolStripButton^  会员等级ToolStripButton;
	private: System::Windows::Forms::ToolStripButton^  读者信息BindingNavigatorSaveItem;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator2;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator1;
	private: System::Windows::Forms::ToolStripTextBox^  bindingNavigatorPositionItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveLastItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveNextItem;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn10;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn12;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn11;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::TextBox^  编号TextBox;
	private: System::Windows::Forms::TextBox^  姓名TextBox;
	private: System::Windows::Forms::ComboBox^  性别ComboBox;
	private: System::Windows::Forms::DateTimePicker^  出生日期DateTimePicker;
	private: System::Windows::Forms::ComboBox^  证件名称ComboBox;
	private: System::Windows::Forms::TextBox^  证件号码TextBox;
	private: System::Windows::Forms::ComboBox^  会员等级ComboBox;
	private: System::Windows::Forms::DateTimePicker^  办证日期DateTimePicker;
	private: System::Windows::Forms::TextBox^  联系电话TextBox;
	private: System::Windows::Forms::TextBox^  手机号码TextBox;
	private: System::Windows::Forms::TextBox^  电子邮件TextBox;
	private: System::Windows::Forms::TextBox^  说明TextBox;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorDeleteItem;
	private: System::Windows::Forms::ToolStripLabel^  bindingNavigatorCountItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorAddNewItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMovePreviousItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveFirstItem;
	private: System::Windows::Forms::DataGridView^  读者信息DataGridView;
	private: System::Windows::Forms::BindingNavigator^  读者信息BindingNavigator;
	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::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(ReaderForm::typeid));
			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::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;
			this->MyBooksDataSet = (gcnew My::MyBooksDataSet());
			this->读者信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->读者信息TableAdapter = (gcnew My::MyBooksDataSetTableAdapters::读者信息TableAdapter());
			this->会员等级ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->读者信息BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->编号TextBox = (gcnew System::Windows::Forms::TextBox());
			this->姓名TextBox = (gcnew System::Windows::Forms::TextBox());
			this->性别ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->出生日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->证件名称ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->证件号码TextBox = (gcnew System::Windows::Forms::TextBox());
			this->会员等级ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->办证日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->联系电话TextBox = (gcnew System::Windows::Forms::TextBox());
			this->手机号码TextBox = (gcnew System::Windows::Forms::TextBox());
			this->电子邮件TextBox = (gcnew System::Windows::Forms::TextBox());
			this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
			this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
			this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->读者信息DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->读者信息BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
			编号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());
			会员等级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();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->读者信息BindingNavigator))->BeginInit();
			this->读者信息BindingNavigator->SuspendLayout();
			this->SuspendLayout();
			// 
			// 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;
			// 
			// 会员等级ToolStripButton
			// 
			this->会员等级ToolStripButton->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"会员等级ToolStripButton.Image")));
			this->会员等级ToolStripButton->ImageTransparentColor = System::Drawing::Color::Magenta;
			this->会员等级ToolStripButton->Name = L"会员等级ToolStripButton";
			this->会员等级ToolStripButton->Size = System::Drawing::Size(73, 22);
			this->会员等级ToolStripButton->Text = L"会员等级";
			this->会员等级ToolStripButton->Click += gcnew System::EventHandler(this, &ReaderForm::会员等级ToolStripButton_Click);
			// 
			// 读者信息BindingNavigatorSaveItem
			// 
			this->读者信息BindingNavigatorSaveItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"读者信息BindingNavigatorSaveItem.Image")));
			this->读者信息BindingNavigatorSaveItem->Name = L"读者信息BindingNavigatorSaveItem";
			this->读者信息BindingNavigatorSaveItem->Size = System::Drawing::Size(49, 22);
			this->读者信息BindingNavigatorSaveItem->Text = L"保存";
			this->读者信息BindingNavigatorSaveItem->Click += gcnew System::EventHandler(this, &ReaderForm::读者信息BindingNavigatorSaveItem_Click);
			// 
			// dataGridViewTextBoxColumn2
			// 
			this->dataGridViewTextBoxColumn2->DataPropertyName = L"姓名";
			this->dataGridViewTextBoxColumn2->HeaderText = L"姓名";
			this->dataGridViewTextBoxColumn2->Name = L"dataGridViewTextBoxColumn2";
			this->dataGridViewTextBoxColumn2->ReadOnly = true;
			// 
			// dataGridViewTextBoxColumn1
			// 
			this->dataGridViewTextBoxColumn1->DataPropertyName = L"编号";
			this->dataGridViewTextBoxColumn1->HeaderText = L"编号";
			this->dataGridViewTextBoxColumn1->Name = L"dataGridViewTextBoxColumn1";
			this->dataGridViewTextBoxColumn1->ReadOnly = true;
			// 
			// bindingNavigatorSeparator2
			// 
			this->bindingNavigatorSeparator2->Name = L"bindingNavigatorSeparator2";
			this->bindingNavigatorSeparator2->Size = System::Drawing::Size(6, 25);
			// 
			// 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"当前位置";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -