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

📄 printform.h

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~PrintForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: My::MyOfficeDataSet^  MyOfficeDataSet;
	protected: 
	private: System::Windows::Forms::BindingSource^  印刷物品管理BindingSource;
	private: My::MyOfficeDataSetTableAdapters::印刷物品管理TableAdapter^  印刷物品管理TableAdapter;
	private: System::Windows::Forms::ToolStripButton^  印刷物品管理BindingNavigatorSaveItem;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator2;
	private: System::Windows::Forms::ToolStripLabel^  toolStripLabel2;
	private: System::Windows::Forms::ToolStripTextBox^  结束日期ToolStripTextBox;
	private: System::Windows::Forms::ToolStripButton^  查询ToolStripButton;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	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::TextBox^  用途TextBox;
	private: System::Windows::Forms::ComboBox^  单位ComboBox;
	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::ToolStripButton^  bindingNavigatorAddNewItem;
	private: System::Windows::Forms::ToolStripTextBox^  开始日期ToolStripTextBox;
	private: System::Windows::Forms::ToolStripLabel^  toolStripLabel1;
	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(PrintForm::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;
			this->MyOfficeDataSet = (gcnew My::MyOfficeDataSet());
			this->印刷物品管理BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->印刷物品管理TableAdapter = (gcnew My::MyOfficeDataSetTableAdapters::印刷物品管理TableAdapter());
			this->印刷物品管理BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->toolStripLabel2 = (gcnew System::Windows::Forms::ToolStripLabel());
			this->结束日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (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->自编号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->用途TextBox = (gcnew System::Windows::Forms::TextBox());
			this->单位ComboBox = (gcnew System::Windows::Forms::ComboBox());
			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->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->开始日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
			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());
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->MyOfficeDataSet))->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();
			// 
			// MyOfficeDataSet
			// 
			this->MyOfficeDataSet->DataSetName = L"MyOfficeDataSet";
			this->MyOfficeDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
			// 
			// 印刷物品管理BindingSource
			// 
			this->印刷物品管理BindingSource->DataMember = L"印刷物品管理";
			this->印刷物品管理BindingSource->DataSource = this->MyOfficeDataSet;
			// 
			// 印刷物品管理TableAdapter
			// 
			this->印刷物品管理TableAdapter->ClearBeforeFill = true;
			// 
			// 印刷物品管理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, 20);
			this->印刷物品管理BindingNavigatorSaveItem->Text = L"保存";
			this->印刷物品管理BindingNavigatorSaveItem->Click += gcnew System::EventHandler(this, &PrintForm::印刷物品管理BindingNavigatorSaveItem_Click);
			// 
			// dataGridViewTextBoxColumn1
			// 
			this->dataGridViewTextBoxColumn1->DataPropertyName = L"自编号";
			this->dataGridViewTextBoxColumn1->HeaderText = L"自编号";
			this->dataGridViewTextBoxColumn1->Name = L"dataGridViewTextBoxColumn1";
			this->dataGridViewTextBoxColumn1->ReadOnly = true;
			// 
			// dataGridViewTextBoxColumn2
			// 
			this->dataGridViewTextBoxColumn2->DataPropertyName = L"请印部门";
			this->dataGridViewTextBoxColumn2->HeaderText = L"请印部门";
			this->dataGridViewTextBoxColumn2->Name = L"dataGridViewTextBoxColumn2";
			this->dataGridViewTextBoxColumn2->ReadOnly = true;
			// 
			// bindingNavigatorSeparator2
			// 
			this->bindingNavigatorSeparator2->Name = L"bindingNavigatorSeparator2";
			this->bindingNavigatorSeparator2->Size = System::Drawing::Size(6, 25);
			// 
			// toolStripLabel2
			// 
			this->toolStripLabel2->Name = L"toolStripLabel2";
			this->toolStripLabel2->Size = System::Drawing::Size(59, 22);
			this->toolStripLabel2->Text = L"结束日期:";
			// 
			// 结束日期ToolStripTextBox
			// 
			this->结束日期ToolStripTextBox->Name = L"结束日期ToolStripTextBox";
			this->结束日期ToolStripTextBox->Size = System::Drawing::Size(100, 25);
			this->结束日期ToolStripTextBox->Text = L"2099-12-31";
			// 
			// 查询ToolStripButton
			// 
			this->查询ToolStripButton->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"查询ToolStripButton.Image")));
			this->查询ToolStripButton->Name = L"查询ToolStripButton";
			this->查询ToolStripButton->Size = System::Drawing::Size(49, 22);
			this->查询ToolStripButton->Text = L"查询";
			this->查询ToolStripButton->Click += gcnew System::EventHandler(this, &PrintForm::查询ToolStripButton_Click);
			// 
			// dataGridViewTextBoxColumn7
			// 
			this->dataGridViewTextBoxColumn7->DataPropertyName = L"数量";
			this->dataGridViewTextBoxColumn7->HeaderText = L"数量";
			this->dataGridViewTextBoxColumn7->Name = L"dataGridViewTextBoxColumn7";
			this->dataGridViewTextBoxColumn7->ReadOnly = true;
			// 
			// dataGridViewTextBoxColumn8
			// 
			this->dataGridViewTextBoxColumn8->DataPropertyName = L"批准人";
			this->dataGridViewTextBoxColumn8->HeaderText = L"批准人";
			this->dataGridViewTextBoxColumn8->Name = L"dataGridViewTextBoxColumn8";
			this->dataGridViewTextBoxColumn8->ReadOnly = true;
			// 
			// dataGridViewTextBoxColumn9
			// 
			this->dataGridViewTextBoxColumn9->DataPropertyName = L"说明";
			this->dataGridViewTextBoxColumn9->HeaderText = L"说明";
			this->dataGridViewTextBoxColumn9->Name = L"dataGridViewTextBoxColumn9";
			this->dataGridViewTextBoxColumn9->ReadOnly = true;
			// 
			// dataGridViewTextBoxColumn6
			// 
			this->dataGridViewTextBoxColumn6->DataPropertyName = L"单位";
			this->dataGridViewTextBoxColumn6->HeaderText = L"单位";
			this->dataGridViewTextBoxColumn6->Name = L"dataGridViewTextBoxColumn6";
			this->dataGridViewTextBoxColumn6->ReadOnly = true;
			// 
			// dataGridViewTextBoxColumn3
			// 
			this->dataGridViewTextBoxColumn3->DataPropertyName = L"请印日期";
			this->dataGridViewTextBoxColumn3->HeaderText = L"请印日期";
			this->dataGridViewTextBoxColumn3->Name = L"dataGridViewTextBoxColumn3";
			this->dataGridViewTextBoxColumn3->ReadOnly = true;
			// 
			// dataGridViewTextBoxColumn4
			// 
			this->dataGridViewTextBoxColumn4->DataPropertyName = L"名称";
			this->dataGridViewTextBoxColumn4->HeaderText = L"名称";
			this->dataGridViewTextBoxColumn4->Name = L"dataGridViewTextBoxColumn4";
			this->dataGridViewTextBoxColumn4->ReadOnly = true;
			// 
			// dataGridViewTextBoxColumn5
			// 
			this->dataGridViewTextBoxColumn5->DataPropertyName = L"用途";
			this->dataGridViewTextBoxColumn5->HeaderText = L"用途";
			this->dataGridViewTextBoxColumn5->Name = L"dataGridViewTextBoxColumn5";
			this->dataGridViewTextBoxColumn5->ReadOnly = true;
			// 
			// 自编号Label
			// 
			自编号Label->AutoSize = true;
			自编号Label->Location = System::Drawing::Point(2, 29);
			自编号Label->Name = L"自编号Label";
			自编号Label->Size = System::Drawing::Size(47, 12);
			自编号Label->TabIndex = 22;
			自编号Label->Text = L"自编号:";
			// 
			// 自编号TextBox
			// 
			this->自编号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->印刷物品管理BindingSource, L"自编号", true)));
			this->自编号TextBox->Location = System::Drawing::Point(55, 26);
			this->自编号TextBox->Name = L"自编号TextBox";
			this->自编号TextBox->Size = System::Drawing::Size(134, 21);
			this->自编号TextBox->TabIndex = 23;
			// 
			// 请印部门Label
			// 

⌨️ 快捷键说明

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