📄 stationform.h
字号:
this->车位使用BindingNavigatorSaveItem->Text = L"保存";
this->车位使用BindingNavigatorSaveItem->Click += gcnew System::EventHandler(this, &StationForm::车位使用BindingNavigatorSaveItem_Click);
//
// 打印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(51, 20);
this->打印ToolStripButton->Text = L"打印";
this->打印ToolStripButton->Click += gcnew System::EventHandler(this, &StationForm::打印ToolStripButton_Click);
//
// 自动编号DataGridViewTextBoxColumn
//
this->自动编号DataGridViewTextBoxColumn->DataPropertyName = L"自动编号";
this->自动编号DataGridViewTextBoxColumn->HeaderText = L"自动编号";
this->自动编号DataGridViewTextBoxColumn->Name = L"自动编号DataGridViewTextBoxColumn";
this->自动编号DataGridViewTextBoxColumn->ReadOnly = true;
//
// 车位使用DataGridView
//
this->车位使用DataGridView->AllowUserToAddRows = false;
this->车位使用DataGridView->AllowUserToDeleteRows = false;
this->车位使用DataGridView->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom)
| System::Windows::Forms::AnchorStyles::Left)
| System::Windows::Forms::AnchorStyles::Right));
this->车位使用DataGridView->AutoGenerateColumns = false;
this->车位使用DataGridView->BackgroundColor = System::Drawing::Color::LightGray;
this->车位使用DataGridView->ColumnHeadersBorderStyle = System::Windows::Forms::DataGridViewHeaderBorderStyle::Sunken;
dataGridViewCellStyle1->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleCenter;
dataGridViewCellStyle1->BackColor = System::Drawing::SystemColors::ActiveCaption;
dataGridViewCellStyle1->Font = (gcnew System::Drawing::Font(L"宋体", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
dataGridViewCellStyle1->ForeColor = System::Drawing::SystemColors::WindowText;
dataGridViewCellStyle1->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle1->SelectionForeColor = System::Drawing::SystemColors::GradientActiveCaption;
dataGridViewCellStyle1->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->车位使用DataGridView->ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this->车位使用DataGridView->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(11) {this->自动编号DataGridViewTextBoxColumn,
this->车位编号DataGridViewTextBoxColumn, this->车位面积DataGridViewTextBoxColumn, this->楼栋名称DataGridViewTextBoxColumn, this->业主编号DataGridViewTextBoxColumn,
this->业主姓名DataGridViewTextBoxColumn, this->启用日期DataGridViewTextBoxColumn, this->停用日期DataGridViewTextBoxColumn, this->费用金额DataGridViewTextBoxColumn,
this->管理人员DataGridViewTextBoxColumn, this->补充说明DataGridViewTextBoxColumn});
this->车位使用DataGridView->DataSource = this->车位使用BindingSource;
this->车位使用DataGridView->Location = System::Drawing::Point(7, 129);
this->车位使用DataGridView->MultiSelect = false;
this->车位使用DataGridView->Name = L"车位使用DataGridView";
this->车位使用DataGridView->ReadOnly = true;
dataGridViewCellStyle2->Alignment = System::Windows::Forms::DataGridViewContentAlignment::TopCenter;
dataGridViewCellStyle2->BackColor = System::Drawing::SystemColors::Control;
dataGridViewCellStyle2->Font = (gcnew System::Drawing::Font(L"宋体", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
dataGridViewCellStyle2->ForeColor = System::Drawing::SystemColors::WindowText;
dataGridViewCellStyle2->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle2->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle2->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->车位使用DataGridView->RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
this->车位使用DataGridView->RowHeadersVisible = false;
dataGridViewCellStyle3->SelectionBackColor = System::Drawing::Color::Green;
this->车位使用DataGridView->RowsDefaultCellStyle = dataGridViewCellStyle3;
this->车位使用DataGridView->RowTemplate->Height = 23;
this->车位使用DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
this->车位使用DataGridView->Size = System::Drawing::Size(528, 280);
this->车位使用DataGridView->TabIndex = 57;
//
// 车位编号DataGridViewTextBoxColumn
//
this->车位编号DataGridViewTextBoxColumn->DataPropertyName = L"车位编号";
this->车位编号DataGridViewTextBoxColumn->HeaderText = L"车位编号";
this->车位编号DataGridViewTextBoxColumn->Name = L"车位编号DataGridViewTextBoxColumn";
this->车位编号DataGridViewTextBoxColumn->ReadOnly = true;
//
// 车位面积DataGridViewTextBoxColumn
//
this->车位面积DataGridViewTextBoxColumn->DataPropertyName = L"车位面积";
this->车位面积DataGridViewTextBoxColumn->HeaderText = L"车位面积";
this->车位面积DataGridViewTextBoxColumn->Name = L"车位面积DataGridViewTextBoxColumn";
this->车位面积DataGridViewTextBoxColumn->ReadOnly = true;
//
// 楼栋名称DataGridViewTextBoxColumn
//
this->楼栋名称DataGridViewTextBoxColumn->DataPropertyName = L"楼栋名称";
this->楼栋名称DataGridViewTextBoxColumn->HeaderText = L"楼栋名称";
this->楼栋名称DataGridViewTextBoxColumn->Name = L"楼栋名称DataGridViewTextBoxColumn";
this->楼栋名称DataGridViewTextBoxColumn->ReadOnly = true;
//
// 业主编号DataGridViewTextBoxColumn
//
this->业主编号DataGridViewTextBoxColumn->DataPropertyName = L"业主编号";
this->业主编号DataGridViewTextBoxColumn->HeaderText = L"业主编号";
this->业主编号DataGridViewTextBoxColumn->Name = L"业主编号DataGridViewTextBoxColumn";
this->业主编号DataGridViewTextBoxColumn->ReadOnly = true;
//
// 业主姓名DataGridViewTextBoxColumn
//
this->业主姓名DataGridViewTextBoxColumn->DataPropertyName = L"业主姓名";
this->业主姓名DataGridViewTextBoxColumn->HeaderText = L"业主姓名";
this->业主姓名DataGridViewTextBoxColumn->Name = L"业主姓名DataGridViewTextBoxColumn";
this->业主姓名DataGridViewTextBoxColumn->ReadOnly = true;
//
// 启用日期DataGridViewTextBoxColumn
//
this->启用日期DataGridViewTextBoxColumn->DataPropertyName = L"启用日期";
this->启用日期DataGridViewTextBoxColumn->HeaderText = L"启用日期";
this->启用日期DataGridViewTextBoxColumn->Name = L"启用日期DataGridViewTextBoxColumn";
this->启用日期DataGridViewTextBoxColumn->ReadOnly = true;
//
// 停用日期DataGridViewTextBoxColumn
//
this->停用日期DataGridViewTextBoxColumn->DataPropertyName = L"停用日期";
this->停用日期DataGridViewTextBoxColumn->HeaderText = L"停用日期";
this->停用日期DataGridViewTextBoxColumn->Name = L"停用日期DataGridViewTextBoxColumn";
this->停用日期DataGridViewTextBoxColumn->ReadOnly = true;
//
// 费用金额DataGridViewTextBoxColumn
//
this->费用金额DataGridViewTextBoxColumn->DataPropertyName = L"费用金额";
this->费用金额DataGridViewTextBoxColumn->HeaderText = L"费用金额";
this->费用金额DataGridViewTextBoxColumn->Name = L"费用金额DataGridViewTextBoxColumn";
this->费用金额DataGridViewTextBoxColumn->ReadOnly = true;
//
// 管理人员DataGridViewTextBoxColumn
//
this->管理人员DataGridViewTextBoxColumn->DataPropertyName = L"管理人员";
this->管理人员DataGridViewTextBoxColumn->HeaderText = L"管理人员";
this->管理人员DataGridViewTextBoxColumn->Name = L"管理人员DataGridViewTextBoxColumn";
this->管理人员DataGridViewTextBoxColumn->ReadOnly = true;
//
// 补充说明DataGridViewTextBoxColumn
//
this->补充说明DataGridViewTextBoxColumn->DataPropertyName = L"补充说明";
this->补充说明DataGridViewTextBoxColumn->HeaderText = L"补充说明";
this->补充说明DataGridViewTextBoxColumn->Name = L"补充说明DataGridViewTextBoxColumn";
this->补充说明DataGridViewTextBoxColumn->ReadOnly = true;
//
// 费用金额TextBox
//
this->费用金额TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->车位使用BindingSource, L"费用金额", true)));
this->费用金额TextBox->Location = System::Drawing::Point(302, 75);
this->费用金额TextBox->Name = L"费用金额TextBox";
this->费用金额TextBox->Size = System::Drawing::Size(74, 21);
this->费用金额TextBox->TabIndex = 52;
//
// 管理人员TextBox
//
this->管理人员TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->车位使用BindingSource, L"管理人员", true)));
this->管理人员TextBox->Location = System::Drawing::Point(446, 75);
this->管理人员TextBox->Name = L"管理人员TextBox";
this->管理人员TextBox->Size = System::Drawing::Size(91, 21);
this->管理人员TextBox->TabIndex = 54;
//
// 补充说明TextBox
//
this->补充说明TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->车位使用BindingSource, L"补充说明", true)));
this->补充说明TextBox->Location = System::Drawing::Point(65, 100);
this->补充说明TextBox->Name = L"补充说明TextBox";
this->补充说明TextBox->Size = System::Drawing::Size(472, 21);
this->补充说明TextBox->TabIndex = 56;
this->补充说明TextBox->Text = L"暂无";
//
// 自动编号TextBox
//
this->自动编号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->车位使用BindingSource, L"自动编号", true)));
this->自动编号TextBox->Location = System::Drawing::Point(64, 26);
this->自动编号TextBox->Name = L"自动编号TextBox";
this->自动编号TextBox->ReadOnly = true;
this->自动编号TextBox->Size = System::Drawing::Size(41, 21);
this->自动编号TextBox->TabIndex = 36;
//
// 车位编号TextBox
//
this->车位编号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->车位使用BindingSource, L"车位编号", true)));
this->车位编号TextBox->Location = System::Drawing::Point(171, 26);
this->车位编号TextBox->Name = L"车位编号TextBox";
this->车位编号TextBox->Size = System::Drawing::Size(88, 21);
this->车位编号TextBox->TabIndex = 38;
//
// 车位面积TextBox
//
this->车位面积TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->车位使用BindingSource, L"车位面积", true)));
this->车位面积TextBox->Location = System::Drawing::Point(345, 26);
this->车位面积TextBox->Name = L"车位面积TextBox";
this->车位面积TextBox->Size = System::Drawing::Size(50, 21);
this->车位面积TextBox->TabIndex = 40;
//
// 楼栋名称ComboBox
//
this->楼栋名称ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->车位使用BindingSource, L"楼栋名称", true)));
this->楼栋名称ComboBox->DataSource = this->楼栋信息BindingSource;
this->楼栋名称ComboBox->DisplayMember = L"楼栋名称";
this->楼栋名称ComboBox->FormattingEnabled = true;
this->楼栋名称ComboBox->Location = System::Drawing::Point(458, 27);
this->楼栋名称ComboBox->Name = L"楼栋名称ComboBox";
this->楼栋名称ComboBox->Size = System::Drawing::Size(79, 20);
this->楼栋名称ComboBox->TabIndex = 42;
this->楼栋名称ComboBox->ValueMember = L"楼栋名称";
this->楼栋名称ComboBox->SelectedIndexChanged += gcnew System::EventHandler(this, &StationForm::楼栋名称ComboBox_SelectedIndexChanged);
//
// 楼栋信息BindingSource
//
this->楼栋信息BindingSource->DataMember = L"楼栋信息";
this->楼栋信息BindingSource->DataSource = this->DBCommunityDataSet;
//
// 业主编号TextBox
//
this->业主编号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->车位使用BindingSource, L"业主编号", true)));
this->业主编号TextBox->Location = System::Drawing::Point(64, 50);
this->业主编号TextBox->Name = L"业主编号TextBox";
this->业主编号TextBox->ReadOnly = true;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -