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

📄 libraryform.h

📁 vc++开发环境SQL数据库图书租借管理系统
💻 H
📖 第 1 页 / 共 4 页
字号:
//文件名:LibraryForm.h
#include"PublisherForm.h"
#include"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;

using namespace System::Data::SqlClient;


namespace 图书租借管理系统 {

	/// <summary>
	/// LibraryForm 摘要
	///
	/// 警告: 如果更改此类的名称,则需要更改
	///          与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
	///          “资源文件名”属性。否则,
	///          设计器将不能与此窗体的关联
	///          本地化资源正确交互。
	/// </summary>
	public ref class LibraryForm : public System::Windows::Forms::Form
	{
	public:
		LibraryForm(void)
		{
			InitializeComponent();
			//
			//TODO: 在此处添加构造函数代码
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~LibraryForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: My::MyBooksDataSet^  MyBooksDataSet;
	protected: 
	private: System::Windows::Forms::BindingSource^  馆藏图书BindingSource;
	private: My::MyBooksDataSetTableAdapters::馆藏图书TableAdapter^  馆藏图书TableAdapter;
	private: System::Windows::Forms::ComboBox^  类别ComboBox;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn15;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMovePreviousItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveFirstItem;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn14;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn10;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn11;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn13;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn12;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorDeleteItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorAddNewItem;
	private: System::Windows::Forms::ToolStripButton^  馆藏图书BindingNavigatorSaveItem;
	private: System::Windows::Forms::ToolStripButton^  图书类别ToolStripButton;
	private: System::Windows::Forms::ToolStripButton^  出版社ToolStripButton;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator2;
	private: System::Windows::Forms::ToolStripLabel^  bindingNavigatorCountItem;
	private: System::Windows::Forms::ToolStripTextBox^  bindingNavigatorPositionItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator1;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveLastItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveNextItem;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	private: System::Windows::Forms::TextBox^  存放位置TextBox;
	private: System::Windows::Forms::TextBox^  说明TextBox;
	private: System::Windows::Forms::DataGridView^  馆A藏图书DataGridView;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::BindingNavigator^  馆藏图书BindingNavigator;
	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::TextBox^  书号TextBox;
	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::TextBox^  单价TextBox;
	private: System::Windows::Forms::TextBox^  所属丛书TextBox;
	private: System::Windows::Forms::DateTimePicker^  入库日期DateTimePicker;
	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::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::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(LibraryForm::typeid));
			this->MyBooksDataSet = (gcnew My::MyBooksDataSet());
			this->馆藏图书BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->馆藏图书TableAdapter = (gcnew My::MyBooksDataSetTableAdapters::馆藏图书TableAdapter());
			this->类别ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->dataGridViewTextBoxColumn15 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->馆藏图书BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->图书类别ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->出版社ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
			this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->存放位置TextBox = (gcnew System::Windows::Forms::TextBox());
			this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
			this->馆A藏图书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->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->馆藏图书BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
			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->书号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->页数TextBox = (gcnew System::Windows::Forms::TextBox());
			this->单价TextBox = (gcnew System::Windows::Forms::TextBox());
			this->所属丛书TextBox = (gcnew System::Windows::Forms::TextBox());
			this->入库日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			类别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());
			入库数量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->馆A藏图书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(202, 55);
			类别Label->Name = L"类别Label";
			类别Label->Size = System::Drawing::Size(35, 12);
			类别Label->TabIndex = 62;
			类别Label->Text = L"类别:";
			// 
			// 书号Label
			// 
			书号Label->AutoSize = true;
			书号Label->Location = System::Drawing::Point(2, 31);
			书号Label->Name = L"书号Label";
			书号Label->Size = System::Drawing::Size(35, 12);

⌨️ 快捷键说明

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