SavePSAllForm.cpp
上传用户:szb0815
上传日期:2007-06-13
资源大小:338k
文件大小:1k
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- #include "SavePSAllForm.h"
- #include "TreeViewMainForm.h"
- //---------------------------------------------------------------------------
- #pragma package(smart_init)
- #pragma resource "*.dfm"
- TForm1 *Form1;
- //---------------------------------------------------------------------------
- __fastcall TForm1::TForm1(TComponent* Owner)
- : TForm(Owner)
- {
- if (TreeViewMainForm->Cluster->TopNode == NULL)
- {
- SaveGeneTreeCheckBox = false;
- SaveGeneTreeCheckBox->Enabled = false;
- }
- if (TreeViewMainForm->Cluster->TopNode == NULL)
- {
- SaveGeneTreeCheckBox = false;
- SaveGeneTreeCheckBox->Enabled = false;
- }
- }
- //---------------------------------------------------------------------------
- void __fastcall TForm1::Button1Click(TObject *Sender)
- {
- if (SaveDialog1->Execute)
- {
- TreeViewMainForm->SavePSAll(SaveDialog1->FileName);
- }
- }
- //---------------------------------------------------------------------------