SuperDesign/Source/RySmartEditor/FTP/FrmFTPSelect.cs
zilinsoft 993f1ca1a9 ### 2024-12-20 星期五更新
------
#### SuperDesign    V3.0.2412.2001
- *.[新增]新增程序更新日志设置和自动发布功能。
- *.[修复]修复Post数据格式不正确时双击文本框会导致软件闪退的BUG。
2024-12-20 08:15:19 +08:00

33 lines
884 B
C#

using GameBackup3H3.DbOp;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using .Manager;
namespace SuperDesign.Manager.Site
{
public partial class FrmFTPSelect : Form
{
public FrmFTPSelect()
{
InitializeComponent();
OlvName.AspectGetter = delegate (object x) { return ((FTPInfo)x).Name; };
}
public FTPInfo SelectedItem { get; set; } = null;
private void ObjectListView1_DoubleClick(object sender, EventArgs e)
{
var item = (FTPInfo)objectListView1.SelectedObject;
if (item == null) { return; }
SelectedItem = item;
DialogResult = DialogResult.OK;
}
}
}