回复 4楼cure_shy的帖子
选择样式问题可以通过实现 ISelectionRender 接口实现:
- public partial class Form2 : Form
- {
- public Form2()
- {
- InitializeComponent();
- }
- private void Form2_Load(object sender, EventArgs e)
- {
- MySelectionRender mysrender = new MySelectionRender();
- this.fpSpread1.SelectionRenderer = mysrender;
- }
- }
- class MySelectionRender : FarPoint.Win.Spread.ISelectionRenderer
- {
- public void PaintSelection(Graphics g, int x, int y, int width, int height)
- {
- }
- }
复制代码 |