📄 maininterface.h
字号:
this->m教学楼ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"m教学楼ToolStripMenuItem.Image")));
this->m教学楼ToolStripMenuItem->Name = L"m教学楼ToolStripMenuItem";
this->m教学楼ToolStripMenuItem->Size = System::Drawing::Size(112, 22);
this->m教学楼ToolStripMenuItem->Text = L"M教学楼";
this->m教学楼ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainInterface::m教学楼ToolStripMenuItem_Click);
//
// g教学楼ToolStripMenuItem
//
this->g教学楼ToolStripMenuItem->BackColor = System::Drawing::SystemColors::Control;
this->g教学楼ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"g教学楼ToolStripMenuItem.Image")));
this->g教学楼ToolStripMenuItem->Name = L"g教学楼ToolStripMenuItem";
this->g教学楼ToolStripMenuItem->Size = System::Drawing::Size(112, 22);
this->g教学楼ToolStripMenuItem->Text = L"G教学楼";
this->g教学楼ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainInterface::g教学楼ToolStripMenuItem_Click);
//
// n教学楼ToolStripMenuItem
//
this->n教学楼ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"n教学楼ToolStripMenuItem.Image")));
this->n教学楼ToolStripMenuItem->Name = L"n教学楼ToolStripMenuItem";
this->n教学楼ToolStripMenuItem->Size = System::Drawing::Size(112, 22);
this->n教学楼ToolStripMenuItem->Text = L"N教学楼";
this->n教学楼ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainInterface::n教学楼ToolStripMenuItem_Click);
//
// h教学楼ToolStripMenuItem
//
this->h教学楼ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"h教学楼ToolStripMenuItem.Image")));
this->h教学楼ToolStripMenuItem->Name = L"h教学楼ToolStripMenuItem";
this->h教学楼ToolStripMenuItem->Size = System::Drawing::Size(112, 22);
this->h教学楼ToolStripMenuItem->Text = L"H教学楼";
this->h教学楼ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainInterface::h教学楼ToolStripMenuItem_Click);
//
// toolStripMenuItem2
//
this->toolStripMenuItem2->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->登录ToolStripMenuItem});
this->toolStripMenuItem2->Name = L"toolStripMenuItem2";
this->toolStripMenuItem2->Size = System::Drawing::Size(65, 20);
this->toolStripMenuItem2->Text = L"系统管理";
//
// 登录ToolStripMenuItem
//
this->登录ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"登录ToolStripMenuItem.Image")));
this->登录ToolStripMenuItem->Name = L"登录ToolStripMenuItem";
this->登录ToolStripMenuItem->Size = System::Drawing::Size(94, 22);
this->登录ToolStripMenuItem->Text = L"登录";
this->登录ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainInterface::登录ToolStripMenuItem_Click);
//
// toolStripMenuItem3
//
this->toolStripMenuItem3->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->InfoAboutSystemToolStripMenuItem,
this->InfoAboutWriterToolStripMenuItem, this->用户手册ToolStripMenuItem});
this->toolStripMenuItem3->Name = L"toolStripMenuItem3";
this->toolStripMenuItem3->Size = System::Drawing::Size(41, 20);
this->toolStripMenuItem3->Text = L"帮助";
//
// InfoAboutSystemToolStripMenuItem
//
this->InfoAboutSystemToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"InfoAboutSystemToolStripMenuItem.Image")));
this->InfoAboutSystemToolStripMenuItem->Name = L"InfoAboutSystemToolStripMenuItem";
this->InfoAboutSystemToolStripMenuItem->Size = System::Drawing::Size(130, 22);
this->InfoAboutSystemToolStripMenuItem->Text = L"关于本系统";
this->InfoAboutSystemToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainInterface::InfoAboutSystemToolStripMenuItem_Click);
//
// InfoAboutWriterToolStripMenuItem
//
this->InfoAboutWriterToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"InfoAboutWriterToolStripMenuItem.Image")));
this->InfoAboutWriterToolStripMenuItem->Name = L"InfoAboutWriterToolStripMenuItem";
this->InfoAboutWriterToolStripMenuItem->Size = System::Drawing::Size(130, 22);
this->InfoAboutWriterToolStripMenuItem->Text = L"关于作者";
this->InfoAboutWriterToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainInterface::InfoAboutWriterToolStripMenuItem_Click);
//
// 用户手册ToolStripMenuItem
//
this->用户手册ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"用户手册ToolStripMenuItem.Image")));
this->用户手册ToolStripMenuItem->Name = L"用户手册ToolStripMenuItem";
this->用户手册ToolStripMenuItem->Size = System::Drawing::Size(130, 22);
this->用户手册ToolStripMenuItem->Text = L"用户手册";
this->用户手册ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainInterface::用户手册ToolStripMenuItem_Click);
//
// MainInterface
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->AutoValidate = System::Windows::Forms::AutoValidate::EnablePreventFocusChange;
this->BackgroundImage = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"$this.BackgroundImage")));
this->ClientSize = System::Drawing::Size(553, 454);
this->Controls->Add(this->menuStrip1);
this->MaximizeBox = false;
this->Name = L"MainInterface";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"空闲教室查询系统";
this->TopMost = true;
this->Load += gcnew System::EventHandler(this, &MainInterface::MainInterface_Load);
this->menuStrip1->ResumeLayout(false);
this->menuStrip1->PerformLayout();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
/*按钮函数---产生按课表查询的对话框*/
private: System::Void menuStrip1_Click(System::Object^ sender, System::EventArgs^ e){
this->TopMost = false ;
}
/*按钮函数---产生按课表查询的对话框*/
private: System::Void ClassRoomType_ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e);
/*按钮函数---产生按课程科目查询的对话框*/
private: System::Void SubjectType_ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e);
/*按钮函数---产生管理员登陆的对话框*/
private: System::Void 登录ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e);
/*按钮函数---产生空闲教室查询的对话框---针对 M 楼 */
private: System::Void m教学楼ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e);
/*按钮函数---产生空闲教室查询的对话框---针对 G 楼 */
private: System::Void g教学楼ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) ;
/*按钮函数---产生空闲教室查询的对话框---针对 N 楼 */
private: System::Void n教学楼ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e);
/*按钮函数---产生空闲教室查询的对话框---针对 H 楼 */
private: System::Void h教学楼ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) ;
/*按钮函数---产生系统帮助的对话框*/
private: System::Void InfoAboutSystemToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e);
/*按钮函数---产生描述作者信息的对话框*/
private: System::Void InfoAboutWriterToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e);
/*按钮函数---产生用户手册的对话框*/
private: System::Void 用户手册ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e);
/*按钮函数---产生按课表查询的对话框*/
private: System::Void MainInterface_Load(System::Object^ sender, System::EventArgs^ e) ;
//public : static void CreatMainInterface(){
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -