示例#1
0
            public void ShowContextMenuStrip(ViewTypes viewType, Graphics.Point containerLocation)
            {
                switch (viewType)
                {
                default:
                case ViewTypes.Cells:
                    this.canvas.BaseContextMenu = this.canvas.CellsContextMenu;
                    break;

                case ViewTypes.ColumnHeader:
                    this.canvas.BaseContextMenu = this.canvas.ColumnHeaderContextMenu;
                    break;

                case ViewTypes.RowHeader:
                    this.canvas.BaseContextMenu = this.canvas.RowHeaderContextMenu;
                    break;

                case ViewTypes.LeadHeader:
                    this.canvas.BaseContextMenu = this.canvas.LeadHeaderContextMenu;
                    break;
                }
            }
示例#2
0
 public void ShowTooltip(Graphics.Point point, string content)
 {
     // not implemented
 }
示例#3
0
 public Graphics.Point PointToScreen(Graphics.Point p)
 {
     return(this.canvas.PointToScreen(p));
 }