📄 accidentform.h
字号:
//文件名:AccidentForm.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>
/// AccidentForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class AccidentForm : public System::Windows::Forms::Form
{
public:
AccidentForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~AccidentForm()
{
if (components)
{
delete components;
}
}
private: My::MyOfficeDataSet^ MyOfficeDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 出车事故管理BindingSource;
private: My::MyOfficeDataSetTableAdapters::出车事故管理TableAdapter^ 出车事故管理TableAdapter;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridView^ 出车事故管理DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn12;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn13;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn14;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripTextBox^ 结束日期ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ 出车事故管理BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel2;
private: System::Windows::Forms::TextBox^ 说明TextBox;
private: System::Windows::Forms::BindingNavigator^ 出车事故管理BindingNavigator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
private: System::Windows::Forms::ToolStripTextBox^ 开始日期ToolStripTextBox;
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::TextBox^ 事故概要TextBox;
private: System::Windows::Forms::TextBox^ 对方单位名称TextBox;
private: System::Windows::Forms::TextBox^ 对方联系电话TextBox;
private: System::Windows::Forms::TextBox^ 对方车牌号TextBox;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(AccidentForm::typeid));
this->MyOfficeDataSet = (gcnew My::MyOfficeDataSet());
this->出车事故管理BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->出车事故管理TableAdapter = (gcnew My::MyOfficeDataSetTableAdapters::出车事故管理TableAdapter());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->出车事故管理DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->dataGridViewTextBoxColumn5 = (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->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->结束日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->出车事故管理BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->toolStripLabel2 = (gcnew System::Windows::Forms::ToolStripLabel());
this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->出车事故管理BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
this->开始日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
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->事故概要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());
自编号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->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, 30);
自编号Label->Name = L"自编号Label";
自编号Label->Size = System::Drawing::Size(47, 12);
自编号Label->TabIndex = 31;
自编号Label->Text = L"自编号:";
//
// 车牌号Label
//
车牌号Label->AutoSize = true;
车牌号Label->Location = System::Drawing::Point(185, 30);
车牌号Label->Name = L"车牌号Label";
车牌号Label->Size = System::Drawing::Size(47, 12);
车牌号Label->TabIndex = 33;
车牌号Label->Text = L"车牌号:";
//
// 驾驶员Label
//
驾驶员Label->AutoSize = true;
驾驶员Label->Location = System::Drawing::Point(379, 29);
驾驶员Label->Name = L"驾驶员Label";
驾驶员Label->Size = System::Drawing::Size(47, 12);
驾驶员Label->TabIndex = 35;
驾驶员Label->Text = L"驾驶员:";
//
// 日期Label
//
日期Label->AutoSize = true;
日期Label->Location = System::Drawing::Point(2, 57);
日期Label->Name = L"日期Label";
日期Label->Size = System::Drawing::Size(35, 12);
日期Label->TabIndex = 37;
日期Label->Text = L"日期:";
//
// 地点Label
//
地点Label->AutoSize = true;
地点Label->Location = System::Drawing::Point(172, 58);
地点Label->Name = L"地点Label";
地点Label->Size = System::Drawing::Size(35, 12);
地点Label->TabIndex = 39;
地点Label->Text = L"地点:";
//
// 公司负担金额Label
//
公司负担金额Label->AutoSize = true;
公司负担金额Label->Location = System::Drawing::Point(269, 57);
公司负担金额Label->Name = L"公司负担金额Label";
公司负担金额Label->Size = System::Drawing::Size(83, 12);
公司负担金额Label->TabIndex = 41;
公司负担金额Label->Text = L"公司负担金额:";
//
// 个人负担金额Label
//
个人负担金额Label->AutoSize = true;
个人负担金额Label->Location = System::Drawing::Point(405, 57);
个人负担金额Label->Name = L"个人负担金额Label";
个人负担金额Label->Size = System::Drawing::Size(83, 12);
个人负担金额Label->TabIndex = 43;
个人负担金额Label->Text = L"个人负担金额:";
//
// 保险理赔金额Label
//
保险理赔金额Label->AutoSize = true;
保险理赔金额Label->Location = System::Drawing::Point(2, 84);
保险理赔金额Label->Name = L"保险理赔金额Label";
保险理赔金额Label->Size = System::Drawing::Size(83, 12);
保险理赔金额Label->TabIndex = 45;
保险理赔金额Label->Text = L"保险理赔金额:";
//
// 事故概要Label
//
事故概要Label->AutoSize = true;
事故概要Label->Location = System::Drawing::Point(2, 165);
事故概要Label->Name = L"事故概要Label";
事故概要Label->Size = System::Drawing::Size(59, 12);
事故概要Label->TabIndex = 47;
事故概要Label->Text = L"事故概要:";
//
// 对方单位名称Label
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -