⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filen.cpp

📁 一个仪器的核心程序,它控制通信等方面的工作.
💻 CPP
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop

#include "filen.h"
#include "textcon.h"
#include "Html.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;

AnsiString	CurFileName;

//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm1::ExitClick(TObject *Sender)
{
	Application->Terminate();
}
/*/---------------------------------------------------------------------------

void __fastcall TForm1::FilterComboBox1Change(TObject *Sender)
{
	FileListBox1->Mask  = FilterComboBox1->Mask;
} */
//---------------------------------------------------------------------------


void __fastcall TForm1::FormCreate(TObject *Sender)
{
	FileListBox1->Mask  = FilterComboBox1->Mask;
} 
//---------------------------------------------------------------------------

void __fastcall TForm1::FileListBox1DblClick(TObject *Sender)
{
/*	//Edit2->Text = FileListBox1->FileName ;
	//Form2->Show;
    Form2 = new TForm2(Application);
    Form2->Caption = FileListBox1->FileName ;
    TForm2::Memo1->Lines->LoadFromFile(FileListBox1->FileName);
    Form2->ShowModal();
    delete Form2;
*/
    //TextCon.*TForm2::Memo1->Lines->LoadFromFile(FileListBox1->FileName);
    CurFileName = FileListBox1->FileName ;
    Form2->Caption = FileListBox1->FileName ;
	Form2->Show();
}
//---------------------------------------------------------------------------


void __fastcall TForm1::AllClick(TObject *Sender)
{
	Form3->Show();
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -