版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

67 lines
1.8 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11. using static System.Windows.Forms.VisualStyles.VisualStyleElement.Button;
  12. namespace AssistClient
  13. {
  14. public partial class FrmDebug3 : Form
  15. {
  16. SynchronizationContext SyncContext = null;
  17. public FrmDebug3( )
  18. {
  19. InitializeComponent();
  20. //获取UI线程同步上下文
  21. SyncContext = SynchronizationContext.Current;
  22. //init();
  23. }
  24. private void FrmDebug3_Load(object sender, EventArgs e)
  25. {
  26. }
  27. private void propertyGrid2_PropertyValueChanged(object s, PropertyValueChangedEventArgs e)
  28. {
  29. //其中包含了两个重要的属性:OldValue和ChangeItem。而ChangeItem则是“PropertyDescriptorGridEntry”类型。
  30. //一般可以通过ChangeItem的PropertyDescriptor的ComponentType查找到属性的实际类型。
  31. //而通过ChangeItem的Label,则可以查看到当前在属性编辑输入框中显示的值。
  32. //通过ChangeItem,基本可以处理所有的属性变化的处理
  33. }
  34. private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
  35. {
  36. switch (tabControl1.SelectedTab.Text)
  37. {
  38. case "":
  39. break;
  40. }
  41. }
  42. private void tsbtnOpenDev_Click(object sender, EventArgs e)
  43. {
  44. try
  45. {
  46. }
  47. catch (Exception ex)
  48. {
  49. }
  50. }
  51. private void tsbtnClose_Click(object sender, EventArgs e)
  52. {
  53. }
  54. }
  55. }