31 lines
553 B
C#
31 lines
553 B
C#
using System;
|
|
using CPF.Drawing;
|
|
using CPF.ReoGrid.Core;
|
|
using CPF.ReoGrid.Rendering;
|
|
|
|
namespace CPF.ReoGrid.Views
|
|
{
|
|
internal class CommentViewport : Viewport
|
|
{
|
|
public CommentViewport(IViewportController vc) : base(vc)
|
|
{
|
|
}
|
|
|
|
public override void DrawView(CellDrawingContext dc)
|
|
{
|
|
bool flag = this.sheet.cellComments != null;
|
|
if (flag)
|
|
{
|
|
foreach (CellComment cellComment in this.sheet.cellComments.Values)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
public override IView GetViewByPoint(Point p)
|
|
{
|
|
return this.GetChildrenByPoint(p);
|
|
}
|
|
}
|
|
}
|