创新can调试器Linux版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.2 KiB

4 years ago
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <process.h>
  10. //---------------------------------------------------------------------------
  11. class TForm1 : public TForm
  12. {
  13. __published: // IDE-managed Components
  14. TComboBox *ComboBox1;
  15. TComboBox *ComboBox2;
  16. TButton *Button1;
  17. TButton *Button2;
  18. TButton *Button3;
  19. TGroupBox *GroupBox1;
  20. TLabel *Label4;
  21. TLabel *Label5;
  22. TLabel *Label6;
  23. TLabel *Label7;
  24. TGroupBox *GroupBox2;
  25. TLabel *Label8;
  26. TLabel *Label9;
  27. TComboBox *ComboBox6;
  28. TComboBox *ComboBox7;
  29. TEdit *Edit1;
  30. TEdit *Edit4;
  31. TGroupBox *GroupBox6;
  32. TListBox *ListBox1;
  33. TButton *Button4;
  34. TGroupBox *GroupBox3;
  35. TLabel *Label1;
  36. TEdit *Edit2;
  37. TLabel *Label2;
  38. TEdit *Edit3;
  39. TEdit *Edit5;
  40. TLabel *Label10;
  41. TLabel *Label11;
  42. TEdit *Edit6;
  43. TLabel *Label12;
  44. TLabel *Label13;
  45. TComboBox *ComboBox3;
  46. TComboBox *ComboBox4;
  47. TButton *Button5;
  48. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  49. void __fastcall Button1Click(TObject *Sender);
  50. void __fastcall Button2Click(TObject *Sender);
  51. void __fastcall Button3Click(TObject *Sender);
  52. void __fastcall Button6Click(TObject *Sender);
  53. void __fastcall FormCreate(TObject *Sender);
  54. void __fastcall Button4Click(TObject *Sender);
  55. void __fastcall EnableUI(BOOL bEnable);
  56. void __fastcall ComboBox1Click(TObject *Sender);
  57. void __fastcall ComboBox2Click(TObject *Sender);
  58. void __fastcall Button5Click(TObject *Sender);
  59. private: // User declarations
  60. public:
  61. HANDLE m_readhandle; // User declarations
  62. __fastcall TForm1(TComponent* Owner);
  63. };
  64. //---------------------------------------------------------------------------
  65. extern PACKAGE TForm1 *Form1;
  66. //---------------------------------------------------------------------------
  67. #endif