SmartHouseAPI/Source/MyHouse/FrmAbout.cs
zilinsoft f0ff641ed4 ## 2025-02-08 星期六更新
### MyHouse    V1.0.2502.0801
- *.[新增]适配新版接口。
### SmartHouseAPI    V1.0.2502.0801
- *.[新增]支持Docker部署,支持NAS。
2025-02-08 17:01:20 +08:00

47 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MyHouse
{
public partial class FrmAbout : RySkins.SKinForm
{
public FrmAbout()
{
InitializeComponent();
}
private void FrmAbout_Load(object sender, EventArgs e)
{
lblTitle.Text = Soft_ConstInfo.Soft_Title + " V" + ryCommon.RySoft.VersionStr;
LblQQ_Qun.Text = Soft_ConstInfo.QQ_Qun;
if (Soft_ConstInfo.Soft_Url.Length == 0) { lblVisitUrl.Enabled = false; }
}
private void LblVisitUrl_Click(object sender, EventArgs e)
{
ryCommon.RyFiles.OpenUrl(Soft_ConstInfo.Soft_Url);
}
private void BtnCancel_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
}
private void LblQQ_Qun_Click(object sender, EventArgs e)
{
try
{
Clipboard.SetText(LblQQ_Qun.Text);
MessageBox.Show("已成功复制到剪切板,请复制到QQ搜索。","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
catch { }
}
}
}