📄 ondutyform.h
字号:
//文件名:OnDutyForm.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>
/// OnDutyForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class OnDutyForm : public System::Windows::Forms::Form
{
public:
OnDutyForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~OnDutyForm()
{
if (components)
{
delete components;
}
}
private: My::MyOfficeDataSet^ MyOfficeDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 公司值班管理BindingSource;
private: My::MyOfficeDataSetTableAdapters::公司值班管理TableAdapter^ 公司值班管理TableAdapter;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripButton^ 公司值班管理BindingNavigatorSaveItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel2;
private: System::Windows::Forms::ToolStripTextBox^ 结束日期ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
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::TextBox^ 值班岗位TextBox;
private: System::Windows::Forms::DateTimePicker^ 开始日期DateTimePicker;
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::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::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(OnDutyForm::typeid));
this->MyOfficeDataSet = (gcnew My::MyOfficeDataSet());
this->公司值班管理BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->公司值班管理TableAdapter = (gcnew My::MyOfficeDataSetTableAdapters::公司值班管理TableAdapter());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->公司值班管理BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->toolStripLabel2 = (gcnew System::Windows::Forms::ToolStripLabel());
this->结束日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (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->值班岗位TextBox = (gcnew System::Windows::Forms::TextBox());
this->开始日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
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->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());
(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();
//
// 自编号Label
//
自编号Label->AutoSize = true;
自编号Label->Location = System::Drawing::Point(2, 28);
自编号Label->Name = L"自编号Label";
自编号Label->Size = System::Drawing::Size(47, 12);
自编号Label->TabIndex = 20;
自编号Label->Text = L"自编号:";
//
// 值班人员Label
//
值班人员Label->AutoSize = true;
值班人员Label->Location = System::Drawing::Point(162, 28);
值班人员Label->Name = L"值班人员Label";
值班人员Label->Size = System::Drawing::Size(59, 12);
值班人员Label->TabIndex = 22;
值班人员Label->Text = L"值班人员:";
//
// 值班岗位Label
//
值班岗位Label->AutoSize = true;
值班岗位Label->Location = System::Drawing::Point(2, 55);
值班岗位Label->Name = L"值班岗位Label";
值班岗位Label->Size = System::Drawing::Size(59, 12);
值班岗位Label->TabIndex = 24;
值班岗位Label->Text = L"值班岗位:";
//
// 开始日期Label
//
开始日期Label->AutoSize = true;
开始日期Label->Location = System::Drawing::Point(162, 55);
开始日期Label->Name = L"开始日期Label";
开始日期Label->Size = System::Drawing::Size(59, 12);
开始日期Label->TabIndex = 26;
开始日期Label->Text = L"开始日期:";
//
// 截止日期Label
//
截止日期Label->AutoSize = true;
截止日期Label->Location = System::Drawing::Point(354, 55);
截止日期Label->Name = L"截止日期Label";
截止日期Label->Size = System::Drawing::Size(59, 12);
截止日期Label->TabIndex = 28;
截止日期Label->Text = L"截止日期:";
//
// 委办事项Label
//
委办事项Label->AutoSize = true;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -