📄 formmain.h
字号:
#pragma once
#include "FormAbout.h"
#include "FormFindNReplace.h"
#include "FormOptions.h"
#include "IDEOptions.h"
#include "Interpreter.h"
namespace LeastLIDE {
using namespace System;
using namespace System::Threading;
using namespace System::IO;
using namespace System::Text;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
using namespace System::Diagnostics;
using namespace System::Text::RegularExpressions;
/// <summary>
/// Summary for FormMain
///
/// WARNING: If you change the name of this class, you will need to change the
/// 'Resource File Name' property for the managed resource compiler tool
/// associated with all .resx files this class depends on. Otherwise,
/// the designers will not be able to interact properly with localized
/// resources associated with this form.
/// </summary>
public ref class FormMain : public System::Windows::Forms::Form
{
public:
FormMain(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~FormMain()
{
if (components)
{
delete components;
}
}
protected:
protected:
private: System::Windows::Forms::ToolStripMenuItem^ fileToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ newToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ openToolStripMenuItem;
private: System::Windows::Forms::ToolStripSeparator^ toolStripMenuItem1;
private: System::Windows::Forms::ToolStripMenuItem^ saveToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ saveAsToolStripMenuItem;
private: System::Windows::Forms::ToolStripSeparator^ toolStripMenuItem2;
private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ editToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ cutToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ copyToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ pasteToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ deleteToolStripMenuItem;
private: System::Windows::Forms::ToolStripSeparator^ toolStripMenuItem4;
private: System::Windows::Forms::ToolStripMenuItem^ findAndReplaceToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ buildToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ runToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ helpToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ howToToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ contentToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ aboutMeToolStripMenuItem;
private: System::Windows::Forms::MenuStrip^ menuStripMain;
private: System::Windows::Forms::OpenFileDialog^ openFileDlg;
private: System::Windows::Forms::SaveFileDialog^ saveFileDlg;
private: System::Windows::Forms::ToolStripMenuItem^ undoToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ redoToolStripMenuItem;
private: System::Windows::Forms::ToolStripSeparator^ toolStripMenuItem3;
private: System::Windows::Forms::TableLayoutPanel^ tableLayoutPanel1;
private: System::Windows::Forms::ToolStrip^ toolStripMain;
private: System::Windows::Forms::ToolStripButton^ toolStripButton1;
private: System::Windows::Forms::ToolStripButton^ toolStripButton2;
private: System::Windows::Forms::ToolStripButton^ toolStripButton3;
private: System::Windows::Forms::ToolStripButton^ toolStripButton4;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator1;
private: System::Windows::Forms::ToolStripButton^ toolStripButton5;
private: System::Windows::Forms::ToolStripButton^ toolStripButton6;
private: System::Windows::Forms::ToolStripButton^ toolStripButton7;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator2;
private: System::Windows::Forms::ToolStripButton^ toolStripButton8;
private: System::Windows::Forms::ToolStripButton^ toolStripButton9;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator3;
private: System::Windows::Forms::ToolStripButton^ toolStripButtonCompile;
private: System::Windows::Forms::SplitContainer^ splitContainerH;
private: System::Windows::Forms::SplitContainer^ splitContainerV;
private: System::Windows::Forms::StatusStrip^ statusStrip1;
private: System::Windows::Forms::TabControl^ tabCtrlSide;
private: System::Windows::Forms::TabPage^ tabPageFiles;
private: System::Windows::Forms::TabControl^ tabControlCode;
private: System::Windows::Forms::TabPage^ tabPage4;
private: System::Windows::Forms::RichTextBox^ codeTextBox;
private: System::Windows::Forms::TabControl^ tabControlBtm;
private: System::Windows::Forms::TabPage^ tabPageOutput;
private: System::Windows::Forms::TabPage^ tabPageErrorList;
private: System::Windows::Forms::ToolStripStatusLabel^ toolStripStatusLabelMain;
private: System::Windows::Forms::ToolStripStatusLabel^ toolStripStatusLabelRow;
private: System::Windows::Forms::ToolStripStatusLabel^ toolStripStatusLabelCol;
private: System::Windows::Forms::TextBox^ textBoxOutput;
private: System::Windows::Forms::ListBox^ listBoxErrors;
private: System::Windows::Forms::SplitContainer^ splitContainer1;
private: System::Windows::Forms::TreeView^ treeViewFile;
private: System::Windows::Forms::TableLayoutPanel^ tableLayoutPanelFile;
private: System::Windows::Forms::TextBox^ textBoxFileFilter;
private: System::Windows::Forms::ImageList^ imageListFile;
private: System::Windows::Forms::ListView^ listViewFile;
private: System::Windows::Forms::ToolStripSeparator^ toolStripMenuItem5;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator4;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
private: System::Windows::Forms::ToolStripComboBox^ toolStripComboBoxFind;
private: System::Windows::Forms::ToolStripButton^ toolStripButtonFind;
private: System::Windows::Forms::ToolStripMenuItem^ setIDEToolStripMenuItem;
private: System::Windows::Forms::ToolStripButton^ toolStripButtonRun;
private: System::Windows::Forms::ToolStripMenuItem^ compileToolStripMenuItem;
private: System::ComponentModel::IContainer^ components;
private:
/// <summary>
/// Required designer variable.
/// </summary>
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(FormMain::typeid));
this->fileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->newToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->openToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->saveToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->saveAsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripMenuItem2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->exitToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->editToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->undoToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->redoToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripMenuItem3 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->cutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->copyToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->pasteToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->deleteToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripMenuItem4 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->findAndReplaceToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripMenuItem5 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->setIDEToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->buildToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->compileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -