From ad352f38f05bbcec10cd00dd0824e53d1bf35906 Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Wed, 23 Aug 2023 13:49:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF=E7=9A=84ti?= =?UTF-8?q?tle=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OTP/Form1.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OTP/Form1.cs b/OTP/Form1.cs index 032eb29..85c608c 100644 --- a/OTP/Form1.cs +++ b/OTP/Form1.cs @@ -40,6 +40,10 @@ namespace OTP public int Id { get; set; } public string Title { get; set; } public string SecretKey { get; set; } + public override string ToString() + { + return Title; // 返回 Title 属性的值作为显示文本 + } }