From 1318cc77e20a82b3328aa82ea6b8d8ca600de44f Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期二, 10 六月 2025 15:51:55 +0800
Subject: [PATCH] 1. 拆分数据库,每一个管理类是单独的数据库文件 2. 修复复制产生的ID错误
---
SourceCode/Bond/Servo/InputDialog.h | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/InputDialog.h b/SourceCode/Bond/Servo/InputDialog.h
new file mode 100644
index 0000000..352bdf0
--- /dev/null
+++ b/SourceCode/Bond/Servo/InputDialog.h
@@ -0,0 +1,37 @@
+锘�#pragma once
+#include "afxdialogex.h"
+
+
+// CInputDialog 瀵硅瘽妗�
+
+class CInputDialog : public CDialogEx
+{
+ DECLARE_DYNAMIC(CInputDialog)
+
+public:
+ CInputDialog(const CString& strTitle, const CString& strPrompt, CWnd* pParent = nullptr);
+ virtual ~CInputDialog();
+
+ CString GetInputText() const; // 鑾峰彇杈撳叆鍐呭
+
+// 瀵硅瘽妗嗘暟鎹�
+#ifdef AFX_DESIGN_TIME
+ enum { IDD = IDD_DIALOG_INPUT };
+#endif
+
+private:
+ CEdit m_editInput;
+ CStatic m_staticPrompt;
+
+ CString m_strTitle; // 瀵硅瘽妗嗘爣棰�
+ CString m_strPrompt; // 鎻愮ず鏂囨湰
+ CString m_strInput; // 杈撳叆鐨勬枃鏈�
+
+protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 鏀寔
+
+ DECLARE_MESSAGE_MAP()
+public:
+ virtual BOOL OnInitDialog();
+ afx_msg void OnBnClickedOk();
+};
--
Gitblit v1.9.3