📄 form1.h
字号:
this->saveToolStripMenuItem->Text = L"&Save";
//
// saveAsToolStripMenuItem
//
this->saveAsToolStripMenuItem->Name = L"saveAsToolStripMenuItem";
this->saveAsToolStripMenuItem->Size = System::Drawing::Size(151, 22);
this->saveAsToolStripMenuItem->Text = L"Save &As";
//
// toolStripSeparator1
//
this->toolStripSeparator1->Name = L"toolStripSeparator1";
this->toolStripSeparator1->Size = System::Drawing::Size(148, 6);
//
// printToolStripMenuItem
//
this->printToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"printToolStripMenuItem.Image")));
this->printToolStripMenuItem->ImageTransparentColor = System::Drawing::Color::Magenta;
this->printToolStripMenuItem->Name = L"printToolStripMenuItem";
this->printToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::P));
this->printToolStripMenuItem->Size = System::Drawing::Size(151, 22);
this->printToolStripMenuItem->Text = L"&Print";
//
// printPreviewToolStripMenuItem
//
this->printPreviewToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"printPreviewToolStripMenuItem.Image")));
this->printPreviewToolStripMenuItem->ImageTransparentColor = System::Drawing::Color::Magenta;
this->printPreviewToolStripMenuItem->Name = L"printPreviewToolStripMenuItem";
this->printPreviewToolStripMenuItem->Size = System::Drawing::Size(151, 22);
this->printPreviewToolStripMenuItem->Text = L"Print Pre&view";
//
// toolStripSeparator2
//
this->toolStripSeparator2->Name = L"toolStripSeparator2";
this->toolStripSeparator2->Size = System::Drawing::Size(148, 6);
//
// exitToolStripMenuItem
//
this->exitToolStripMenuItem->Name = L"exitToolStripMenuItem";
this->exitToolStripMenuItem->Size = System::Drawing::Size(151, 22);
this->exitToolStripMenuItem->Text = L"E&xit";
//
// editToolStripMenuItem
//
this->editToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(8) {this->undoToolStripMenuItem,
this->redoToolStripMenuItem, this->toolStripSeparator3, this->cutToolStripMenuItem, this->copyToolStripMenuItem, this->pasteToolStripMenuItem,
this->toolStripSeparator4, this->selectAllToolStripMenuItem});
this->editToolStripMenuItem->Name = L"editToolStripMenuItem";
this->editToolStripMenuItem->Size = System::Drawing::Size(37, 20);
this->editToolStripMenuItem->Text = L"&Edit";
//
// undoToolStripMenuItem
//
this->undoToolStripMenuItem->Name = L"undoToolStripMenuItem";
this->undoToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Z));
this->undoToolStripMenuItem->Size = System::Drawing::Size(150, 22);
this->undoToolStripMenuItem->Text = L"&Undo";
//
// redoToolStripMenuItem
//
this->redoToolStripMenuItem->Name = L"redoToolStripMenuItem";
this->redoToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Y));
this->redoToolStripMenuItem->Size = System::Drawing::Size(150, 22);
this->redoToolStripMenuItem->Text = L"&Redo";
//
// toolStripSeparator3
//
this->toolStripSeparator3->Name = L"toolStripSeparator3";
this->toolStripSeparator3->Size = System::Drawing::Size(147, 6);
//
// cutToolStripMenuItem
//
this->cutToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"cutToolStripMenuItem.Image")));
this->cutToolStripMenuItem->ImageTransparentColor = System::Drawing::Color::Magenta;
this->cutToolStripMenuItem->Name = L"cutToolStripMenuItem";
this->cutToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::X));
this->cutToolStripMenuItem->Size = System::Drawing::Size(150, 22);
this->cutToolStripMenuItem->Text = L"Cu&t";
//
// copyToolStripMenuItem
//
this->copyToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"copyToolStripMenuItem.Image")));
this->copyToolStripMenuItem->ImageTransparentColor = System::Drawing::Color::Magenta;
this->copyToolStripMenuItem->Name = L"copyToolStripMenuItem";
this->copyToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::C));
this->copyToolStripMenuItem->Size = System::Drawing::Size(150, 22);
this->copyToolStripMenuItem->Text = L"&Copy";
//
// pasteToolStripMenuItem
//
this->pasteToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pasteToolStripMenuItem.Image")));
this->pasteToolStripMenuItem->ImageTransparentColor = System::Drawing::Color::Magenta;
this->pasteToolStripMenuItem->Name = L"pasteToolStripMenuItem";
this->pasteToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::V));
this->pasteToolStripMenuItem->Size = System::Drawing::Size(150, 22);
this->pasteToolStripMenuItem->Text = L"&Paste";
//
// toolStripSeparator4
//
this->toolStripSeparator4->Name = L"toolStripSeparator4";
this->toolStripSeparator4->Size = System::Drawing::Size(147, 6);
//
// selectAllToolStripMenuItem
//
this->selectAllToolStripMenuItem->Name = L"selectAllToolStripMenuItem";
this->selectAllToolStripMenuItem->Size = System::Drawing::Size(150, 22);
this->selectAllToolStripMenuItem->Text = L"Select &All";
//
// toolsToolStripMenuItem
//
this->toolsToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->customizeToolStripMenuItem,
this->optionsToolStripMenuItem});
this->toolsToolStripMenuItem->Name = L"toolsToolStripMenuItem";
this->toolsToolStripMenuItem->Size = System::Drawing::Size(44, 20);
this->toolsToolStripMenuItem->Text = L"&Tools";
//
// customizeToolStripMenuItem
//
this->customizeToolStripMenuItem->Name = L"customizeToolStripMenuItem";
this->customizeToolStripMenuItem->Size = System::Drawing::Size(134, 22);
this->customizeToolStripMenuItem->Text = L"&Customize";
//
// optionsToolStripMenuItem
//
this->optionsToolStripMenuItem->Name = L"optionsToolStripMenuItem";
this->optionsToolStripMenuItem->Size = System::Drawing::Size(134, 22);
this->optionsToolStripMenuItem->Text = L"&Options";
//
// elementToolStripMenuItem
//
this->elementToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(4) {this->lineToolStripMenuItem,
this->rectangleToolStripMenuItem, this->circleToolStripMenuItem, this->curveToolStripMenuItem});
this->elementToolStripMenuItem->Name = L"elementToolStripMenuItem";
this->elementToolStripMenuItem->Size = System::Drawing::Size(57, 20);
this->elementToolStripMenuItem->Text = L"&Element";
this->elementToolStripMenuItem->DropDownOpening += gcnew System::EventHandler(this, &Form1::elementToolStripMenuItem_DropDownOpening);
//
// lineToolStripMenuItem
//
this->lineToolStripMenuItem->Checked = true;
this->lineToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
this->lineToolStripMenuItem->Name = L"lineToolStripMenuItem";
this->lineToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->lineToolStripMenuItem->Text = L"&Line";
this->lineToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::lineToolStripMenuItem_Click);
//
// rectangleToolStripMenuItem
//
this->rectangleToolStripMenuItem->Name = L"rectangleToolStripMenuItem";
this->rectangleToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->rectangleToolStripMenuItem->Text = L"&Rectangle";
this->rectangleToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::rectangleToolStripMenuItem_Click);
//
// circleToolStripMenuItem
//
this->circleToolStripMenuItem->Name = L"circleToolStripMenuItem";
this->circleToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->circleToolStripMenuItem->Text = L"&Circle";
this->circleToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::circleToolStripMenuItem_Click);
//
// curveToolStripMenuItem
//
this->curveToolStripMenuItem->Name = L"curveToolStripMenuItem";
this->curveToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->curveToolStripMenuItem->Text = L"Cur&ve";
this->curveToolStripMenuItem->DoubleClick += gcnew System::EventHandler(this, &Form1::curveToolStripMenuItem_DoubleClick);
//
// colorToolStripMenuItem
//
this->colorToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(4) {this->blackToolStripMenuItem,
this->redToolStripMenuItem, this->greenToolStripMenuItem, this->blueToolStripMenuItem});
this->colorToolStripMenuItem->Name = L"colorToolStripMenuItem";
this->colorToolStripMenuItem->Size = System::Drawing::Size(44, 20);
this->colorToolStripMenuItem->Text = L"&Color";
this->colorToolStripMenuItem->DropDownOpening += gcnew System::EventHandler(this, &Form1::colorToolStripMenuItem_DropDownOpening);
//
// blackToolStripMenuItem
//
this->blackToolStripMenuItem->Checked = true;
this->blackToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
this->blackToolStripMenuItem->Name = L"blackToolStripMenuItem";
this->blackToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->blackToolStripMenuItem->Text = L"Blac&k";
this->blackToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::blackToolStripMenuItem_Click);
//
// redToolStripMenuItem
//
this->redToolStripMenuItem->Name = L"redToolStripMenuItem";
this->redToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->redToolStripMenuItem->Text = L"&Red";
this->redToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::redToolStripMenuItem_Click);
//
// greenToolStripMenuItem
//
this->greenToolStripMenuItem->Name = L"greenToolStripMenuItem";
this->greenToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->greenToolStripMenuItem->Text = L"&Green";
this->greenToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::greenToolStripMenuItem_Click);
//
// blueToolStripMenuItem
//
this->blueToolStripMenuItem->Name = L"blueToolStripMenuItem";
this->blueToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->blueToolStripMenuItem->Text = L"&Blue";
this->blueToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::blueToolStripMenuItem_Click);
//
// helpToolStripMenuItem
//
this->helpToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(5) {this->contentsToolStripMenuItem,
this->indexToolStripMenuItem, this->searchToolStripMenuItem, this->toolStripSeparator5, this->aboutToolStripMenuItem});
this->helpToolStripMenuItem->Name = L"helpToolStripMenuItem";
this->helpToolStripMenuItem->Size = System::Drawing::Size(40, 20);
this->helpToolStripMenuItem->Text = L"&Help";
//
// contentsToolStripMenuItem
//
this->contentsToolStripMenuItem->Name = L"contentsToolStripMenuItem";
this->contentsToolStripMenuItem->Size = System::Drawing::Size(129, 22);
this->contentsToolStripMenuItem->Text = L"&Contents";
//
// indexToolStripMenuItem
//
this->indexToolStripMenuItem->Name = L"indexToolStripMenuItem";
this->indexToolStripMenuItem->Size = System::Drawing::Size(129, 22);
this->indexToolStripMenuItem->Text = L"&Index";
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -