banboshi_V1/halftoneproject-master/AssistClient/FrmDebug3.cs

67 lines
1.8 KiB
C#
Raw Normal View History

2023-10-31 13:19:29 +08:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.Button;
namespace AssistClient
{
public partial class FrmDebug3 : Form
{
SynchronizationContext SyncContext = null;
public FrmDebug3( )
{
InitializeComponent();
//获取UI线程同步上下文
SyncContext = SynchronizationContext.Current;
//init();
}
private void FrmDebug3_Load(object sender, EventArgs e)
{
}
private void propertyGrid2_PropertyValueChanged(object s, PropertyValueChangedEventArgs e)
{
//其中包含了两个重要的属性OldValue和ChangeItem。而ChangeItem则是“PropertyDescriptorGridEntry”类型。
//一般可以通过ChangeItem的PropertyDescriptor的ComponentType查找到属性的实际类型。
//而通过ChangeItem的Label则可以查看到当前在属性编辑输入框中显示的值。
//通过ChangeItem基本可以处理所有的属性变化的处理
}
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
switch (tabControl1.SelectedTab.Text)
{
case "":
break;
}
}
private void tsbtnOpenDev_Click(object sender, EventArgs e)
{
try
{
}
catch (Exception ex)
{
}
}
private void tsbtnClose_Click(object sender, EventArgs e)
{
}
}
}