📄 formmain.h
字号:
//
this->splitContainerH->Panel2->Controls->Add(this->tabControlBtm);
this->splitContainerH->Size = System::Drawing::Size(664, 366);
this->splitContainerH->SplitterDistance = 262;
this->splitContainerH->TabIndex = 9;
//
// splitContainerV
//
this->splitContainerV->Dock = System::Windows::Forms::DockStyle::Fill;
this->splitContainerV->Location = System::Drawing::Point(0, 0);
this->splitContainerV->Name = L"splitContainerV";
//
// splitContainerV.Panel1
//
this->splitContainerV->Panel1->Controls->Add(this->tabCtrlSide);
//
// splitContainerV.Panel2
//
this->splitContainerV->Panel2->Controls->Add(this->tabControlCode);
this->splitContainerV->Size = System::Drawing::Size(664, 262);
this->splitContainerV->SplitterDistance = 130;
this->splitContainerV->TabIndex = 8;
//
// tabCtrlSide
//
this->tabCtrlSide->Controls->Add(this->tabPageFiles);
this->tabCtrlSide->Dock = System::Windows::Forms::DockStyle::Fill;
this->tabCtrlSide->Location = System::Drawing::Point(0, 0);
this->tabCtrlSide->Name = L"tabCtrlSide";
this->tabCtrlSide->SelectedIndex = 0;
this->tabCtrlSide->Size = System::Drawing::Size(130, 262);
this->tabCtrlSide->TabIndex = 0;
//
// tabPageFiles
//
this->tabPageFiles->Controls->Add(this->splitContainer1);
this->tabPageFiles->Location = System::Drawing::Point(4, 21);
this->tabPageFiles->Name = L"tabPageFiles";
this->tabPageFiles->Padding = System::Windows::Forms::Padding(3);
this->tabPageFiles->Size = System::Drawing::Size(122, 237);
this->tabPageFiles->TabIndex = 0;
this->tabPageFiles->Text = L"文件浏览器";
this->tabPageFiles->UseVisualStyleBackColor = true;
//
// splitContainer1
//
this->splitContainer1->Dock = System::Windows::Forms::DockStyle::Fill;
this->splitContainer1->Location = System::Drawing::Point(3, 3);
this->splitContainer1->Name = L"splitContainer1";
this->splitContainer1->Orientation = System::Windows::Forms::Orientation::Horizontal;
//
// splitContainer1.Panel1
//
this->splitContainer1->Panel1->Controls->Add(this->treeViewFile);
//
// splitContainer1.Panel2
//
this->splitContainer1->Panel2->Controls->Add(this->tableLayoutPanelFile);
this->splitContainer1->Size = System::Drawing::Size(116, 231);
this->splitContainer1->SplitterDistance = 122;
this->splitContainer1->TabIndex = 0;
//
// treeViewFile
//
this->treeViewFile->Dock = System::Windows::Forms::DockStyle::Fill;
this->treeViewFile->ImageIndex = 0;
this->treeViewFile->ImageList = this->imageListFile;
this->treeViewFile->Location = System::Drawing::Point(0, 0);
this->treeViewFile->Name = L"treeViewFile";
this->treeViewFile->SelectedImageIndex = 0;
this->treeViewFile->Size = System::Drawing::Size(116, 122);
this->treeViewFile->TabIndex = 0;
this->treeViewFile->AfterSelect += gcnew System::Windows::Forms::TreeViewEventHandler(this, &FormMain::treeViewFile_AfterSelect);
this->treeViewFile->AfterExpand += gcnew System::Windows::Forms::TreeViewEventHandler(this, &FormMain::treeViewFile_AfterExpand);
//
// imageListFile
//
this->imageListFile->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^ >(resources->GetObject(L"imageListFile.ImageStream")));
this->imageListFile->TransparentColor = System::Drawing::Color::Transparent;
this->imageListFile->Images->SetKeyName(0, L"harddrive");
this->imageListFile->Images->SetKeyName(1, L"folder");
this->imageListFile->Images->SetKeyName(2, L"folderOpen.png");
this->imageListFile->Images->SetKeyName(3, L"source");
//
// tableLayoutPanelFile
//
this->tableLayoutPanelFile->ColumnCount = 1;
this->tableLayoutPanelFile->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
100)));
this->tableLayoutPanelFile->Controls->Add(this->textBoxFileFilter, 0, 0);
this->tableLayoutPanelFile->Controls->Add(this->listViewFile, 0, 1);
this->tableLayoutPanelFile->Dock = System::Windows::Forms::DockStyle::Fill;
this->tableLayoutPanelFile->Location = System::Drawing::Point(0, 0);
this->tableLayoutPanelFile->Name = L"tableLayoutPanelFile";
this->tableLayoutPanelFile->RowCount = 2;
this->tableLayoutPanelFile->RowStyles->Add((gcnew System::Windows::Forms::RowStyle()));
this->tableLayoutPanelFile->RowStyles->Add((gcnew System::Windows::Forms::RowStyle()));
this->tableLayoutPanelFile->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Absolute,
20)));
this->tableLayoutPanelFile->Size = System::Drawing::Size(116, 105);
this->tableLayoutPanelFile->TabIndex = 0;
//
// textBoxFileFilter
//
this->textBoxFileFilter->Dock = System::Windows::Forms::DockStyle::Left;
this->textBoxFileFilter->Location = System::Drawing::Point(3, 3);
this->textBoxFileFilter->Name = L"textBoxFileFilter";
this->textBoxFileFilter->Size = System::Drawing::Size(95, 21);
this->textBoxFileFilter->TabIndex = 1;
this->textBoxFileFilter->Text = L"*.*";
//
// listViewFile
//
this->listViewFile->Activation = System::Windows::Forms::ItemActivation::TwoClick;
this->listViewFile->Alignment = System::Windows::Forms::ListViewAlignment::Left;
this->listViewFile->Dock = System::Windows::Forms::DockStyle::Fill;
this->listViewFile->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::None;
this->listViewFile->Location = System::Drawing::Point(3, 30);
this->listViewFile->MultiSelect = false;
this->listViewFile->Name = L"listViewFile";
this->listViewFile->Size = System::Drawing::Size(110, 97);
this->listViewFile->SmallImageList = this->imageListFile;
this->listViewFile->TabIndex = 2;
this->listViewFile->UseCompatibleStateImageBehavior = false;
this->listViewFile->View = System::Windows::Forms::View::List;
this->listViewFile->DoubleClick += gcnew System::EventHandler(this, &FormMain::listViewFile_DoubleClick);
//
// tabControlCode
//
this->tabControlCode->Controls->Add(this->tabPage4);
this->tabControlCode->Dock = System::Windows::Forms::DockStyle::Fill;
this->tabControlCode->Location = System::Drawing::Point(0, 0);
this->tabControlCode->Name = L"tabControlCode";
this->tabControlCode->SelectedIndex = 0;
this->tabControlCode->Size = System::Drawing::Size(530, 262);
this->tabControlCode->TabIndex = 0;
//
// tabPage4
//
this->tabPage4->Controls->Add(this->codeTextBox);
this->tabPage4->Location = System::Drawing::Point(4, 21);
this->tabPage4->Name = L"tabPage4";
this->tabPage4->Padding = System::Windows::Forms::Padding(3);
this->tabPage4->Size = System::Drawing::Size(522, 237);
this->tabPage4->TabIndex = 1;
this->tabPage4->Text = L"Untitled";
this->tabPage4->UseVisualStyleBackColor = true;
//
// codeTextBox
//
this->codeTextBox->Dock = System::Windows::Forms::DockStyle::Fill;
this->codeTextBox->Location = System::Drawing::Point(3, 3);
this->codeTextBox->Name = L"codeTextBox";
this->codeTextBox->Size = System::Drawing::Size(516, 231);
this->codeTextBox->TabIndex = 0;
this->codeTextBox->TabStop = false;
this->codeTextBox->Text = L"";
this->codeTextBox->TextChanged += gcnew System::EventHandler(this, &FormMain::codeTextBox_TextChanged);
//
// tabControlBtm
//
this->tabControlBtm->Alignment = System::Windows::Forms::TabAlignment::Bottom;
this->tabControlBtm->Controls->Add(this->tabPageOutput);
this->tabControlBtm->Controls->Add(this->tabPageErrorList);
this->tabControlBtm->Dock = System::Windows::Forms::DockStyle::Fill;
this->tabControlBtm->ItemSize = System::Drawing::Size(62, 17);
this->tabControlBtm->Location = System::Drawing::Point(0, 0);
this->tabControlBtm->Name = L"tabControlBtm";
this->tabControlBtm->SelectedIndex = 0;
this->tabControlBtm->Size = System::Drawing::Size(664, 100);
this->tabControlBtm->TabIndex = 0;
this->tabControlBtm->MouseClick += gcnew System::Windows::Forms::MouseEventHandler(this, &FormMain::tabControlBtm_MouseClick);
//
// tabPageOutput
//
this->tabPageOutput->Controls->Add(this->textBoxOutput);
this->tabPageOutput->Location = System::Drawing::Point(4, 4);
this->tabPageOutput->Name = L"tabPageOutput";
this->tabPageOutput->Padding = System::Windows::Forms::Padding(3);
this->tabPageOutput->Size = System::Drawing::Size(656, 75);
this->tabPageOutput->TabIndex = 0;
this->tabPageOutput->Text = L"解释器输出";
this->tabPageOutput->UseVisualStyleBackColor = true;
//
// textBoxOutput
//
this->textBoxOutput->Dock = System::Windows::Forms::DockStyle::Fill;
this->textBoxOutput->Location = System::Drawing::Point(3, 3);
this->textBoxOutput->Multiline = true;
this->textBoxOutput->Name = L"textBoxOutput";
this->textBoxOutput->ScrollBars = System::Windows::Forms::ScrollBars::Vertical;
this->textBoxOutput->Size = System::Drawing::Size(650, 69);
this->textBoxOutput->TabIndex = 0;
this->textBoxOutput->KeyUp += gcnew System::Windows::Forms::KeyEventHandler(this, &FormMain::textBoxOutput_KeyUp);
//
// tabPageErrorList
//
this->tabPageErrorList->Controls->Add(this->listBoxErrors);
this->tabPageErrorList->Location = System::Drawing::Point(4, 4);
this->tabPageErrorList->Name = L"tabPageErrorList";
this->tabPageErrorList->Padding = System::Windows::Forms::Padding(3);
this->tabPageErrorList->Size = System::Drawing::Size(656, 75);
this->tabPageErrorList->TabIndex = 1;
this->tabPageErrorList->Text = L"错误列表";
this->tabPageErrorList->UseVisualStyleBackColor = true;
//
// listBoxErrors
//
this->listBoxErrors->Dock = System::Windows::Forms::DockStyle::Fill;
this->listBoxErrors->FormattingEnabled = true;
this->listBoxErrors->ItemHeight = 12;
this->listBoxErrors->Location = System::Drawing::Point(3, 3);
this->listBoxErrors->Name = L"listBoxErrors";
this->listBoxErrors->Size = System::Drawing::Size(650, 64);
this->listBoxErrors->TabIndex = 0;
this->listBoxErrors->SelectedIndexChanged += gcnew System::EventHandler(this, &FormMain::listBoxErrors_SelectedIndexChanged);
//
// statusStrip1
//
this->statusStrip1->AllowMerge = false;
this->statusStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->toolStripStatusLabelMain,
this->toolStripStatusLabelRow, this->toolStripStatusLabelCol});
this->statusStrip1->Location = System::Drawing::Point(0, 403);
this->statusStrip1->Name = L"statusStrip1";
this->statusStrip1->RenderMode = System::Windows::Forms::ToolStripRenderMode::ManagerRenderMode;
this->statusStrip1->Size = System::Drawing::Size(670, 22);
this->statusStrip1->TabIndex = 6;
this->statusStrip1->Text = L"statusStrip1";
//
// toolStripStatusLabelMain
//
this->toolStripStatusLabelMain->AutoSize = false;
this->toolStripStatusLabelMain->Name = L"toolStripStatusLabelMain";
this->toolStripStatusLabelMain->Size = System::Drawing::Size(200, 17);
this->toolStripStatusLabelMain->Text = L"Ready";
this->toolStripStatusLabelMain->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// toolStripStatusLabelRow
//
this->toolStripStatusLabelRow->AutoSize = false;
this->toolStripStatusLabelRow->Margin = System::Windows::Forms::Padding(50, 3, 0, 2);
this->toolStripStatusLabelRow->Name = L"toolStripStatusLabelRow";
this->toolStripStatusLabelRow->Size = System::Drawing::Size(109, 17);
this->toolStripStatusLabelRow->Text = L"0";
//
// toolStripStatusLabelCol
//
this->toolStripStatusLabelCol->AutoSize = false;
this->toolStripStatusLabelCol->Margin = System::Windows::Forms::Padding(100, 3, 10, 2);
this->toolStripStatusLabelCol->Name = L"toolStripStatusLabelCol";
this->toolStripStatusLabelCol->Size = System::Drawing::Size(109, 17);
this->toolStripStatusLabelCol->Text = L"0";
//
// toolStripMain
//
this->toolStripMain->ImageScalingSize = System::Drawing::Size(24, 24);
this->toolStripMain->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(18) {this->toolStripButton1,
this->toolStripButton2, this->toolStripButton3, this->toolStripButton4, this->toolStripSeparator1, this->toolStripButton5, this->toolStripButton6,
this->toolStripButton7, this->toolStripSeparator2, this->toolStripButton8, this->toolStripButton9, this->toolStripSeparator3,
this->toolStripButtonCompile, this->toolStripButtonRun, this->toolStripSeparator4, this->toolStripLabel1, this->toolStripComboBoxFind,
this->toolStripButtonFind});
this->toolStripMain->Location = System::Drawing::Point(0, 0);
this->toolStripMain->Name = L"toolStripMain";
this->toolStripMain->Size = System::Drawing::Size(670, 31);
this->toolStripMain->TabIndex = 5;
this->toolStripMain->Text = L"toolStrip1";
//
// toolStripButton1
//
this->toolStripButton1->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->toolStripButton1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripButton1.Image")));
this->toolStripButton1->ImageTransparentColor = System::Drawing::Color::Magenta;
this->toolStripButton1->Name = L"toolStripButton1";
this->toolStripButton1->Size = System::Drawing::Size(28, 28);
this->toolStripButton1->Text = L"toolStripButton1";
this->toolStripButton1->ToolTipText = L"New";
this->toolStripButton1->Click += gcnew System::EventHandler(this, &FormMain::newToolStripMenuItem_Click);
//
// toolStripButton2
//
this->toolStripButton2->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->toolStripButton2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripButton2.Image")));
this->toolStripButton2->ImageTransparentColor = System::Drawing::Color::Magenta;
this->toolStripButton2->Name = L"toolStripButton2";
this->toolStripButton2->Size = System::Drawing::Size(28, 28);
this->toolStripButton2->Text = L"toolStripButton2";
this->toolStripButton2->ToolTipText = L"Open";
this->toolStripButton2->Click += gcnew System::EventHandler(this, &FormMain::openToolStripMenuItem_Click);
//
// toolStripButton3
//
this->toolStripButton3->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->toolStripButton3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripButton3.Image")));
this->toolStripButton3->ImageTransparentColor = System::Drawing::Color::Magenta;
this->toolStripButton3->Name = L"toolStripButton3";
this->toolStripButton3->Size = System::Drawing::Size(28, 28);
this->toolStripButton3->Text = L"toolStripButton3";
this->toolStripButton3->ToolTipText = L"Save";
this->toolStripButton3->Click += gcnew System::EventHandler(this, &FormMain::saveToolStripMenuItem_Click);
//
// toolStripButton4
//
this->toolStripButton4->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->toolStripButton4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripButton4.Image")));
this->toolStripButton4->ImageTransparentColor = System::Drawing::Color::Magenta;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -