1、先画出弹出对话框的windows窗体
Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框

代码如下:

 1Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框using System;
 2Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框using System.Collections.Generic;
 3Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框using System.ComponentModel;
 4Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框using System.Data;
 5Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框using System.Drawing;
 6Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框using System.Text;
 7Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框using System.Windows.Forms;
 8Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框
 9Dot Net WinForm 控件开发 (六) 为属性提供弹出式编辑对话框namespace CustomControlSample
10}


2、再编写属性值编辑器类

 1#endregion

3、再添加一个属性,并用EditorAttribute 指定相应的编辑器类

 1#endregion

The end.

相关文章:

  • 2021-08-26
  • 2021-05-16
  • 2022-12-23
  • 2021-08-28
  • 2021-06-12
  • 2021-11-26
猜你喜欢
  • 2021-05-20
  • 2021-12-29
  • 2021-04-07
  • 2021-09-19
  • 2021-11-17
相关资源
相似解决方案