StableVersion4.3/HL_FristAidPlatform_EMRS/DiagnosticInfo.cs

36 lines
877 B
C#
Raw Normal View History

2024-03-11 09:47:34 +08:00
using DevExpress.XtraTreeList;
using System;
using System.Windows.Forms;
namespace HL_FristAidPlatform_EMRS
{
public partial class DiagnosticInfo : Form
{
public DiagnosticInfo(string value)
{
InitializeComponent();
TextBoxValue = value;
}
public string TextBoxValue
{
get { return textBox1.Text; }
set { textBox1.Text = value; }
}
private void DiagnosticInfo_Load(object sender, EventArgs e)
{
treeList1.ExpandAll();
}
private void treeList1_AfterCheckNode(object sender, NodeEventArgs e)
{
textBox1.Text=e.Node.GetDisplayText(this.treeListColumn1);
}
private void DiagnosticInfo_FormClosed(object sender, FormClosedEventArgs e)
{
this.Dispose();
}
}
}