首先
target.Show();
目标窗口要显式,默认是不显式的,试了很久,才知道这里出问题
例,如要选择TreeView
accessor.TV.Select();
accessor.TV.Focus();
首先
target.Show();
目标窗口要显式,默认是不显式的,试了很久,才知道这里出问题
例,如要选择TreeView
accessor.TV.Select();
accessor.TV.Focus();