ab56a9bcf7
SVN-Revision: r240
47 lines
1.5 KiB
C#
47 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using DevExpress.XtraGrid.Views.Grid;
|
|
using System.Data;
|
|
using Lskj.Model;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Lskj.Control.Model
|
|
{
|
|
/// <summary>
|
|
/// ChartView右键菜单
|
|
/// </summary>
|
|
public class ChartViewMenuStrip : BaseRightMenu
|
|
{
|
|
/// <summary>
|
|
/// 图表控件
|
|
/// </summary>
|
|
protected ChartControlEx ChartControlObj;
|
|
|
|
/// <summary>
|
|
/// <para>说明:设置右键菜单</para>
|
|
/// <para>创建人:龚宇超</para>
|
|
/// <para>创建日期:2018-01-29 </para>
|
|
/// <para>修改人:</para>
|
|
/// <para>修改日期:</para>
|
|
/// <para>修改备注:</para>
|
|
/// <para>版本:1.0</para>
|
|
/// </summary>
|
|
/// <param name="view">The view.</param>
|
|
/// <param name="table">The table.</param>
|
|
/// <param name="model">The model.</param>
|
|
/// <param name="control">The control.</param>
|
|
/// <param name="menu">The menu.</param>
|
|
public override void InitRightMenus(System.Windows.Forms.Control view, DataTable table, DynamicModel model, MyControl control = null, ContextMenuStrip menu = null)
|
|
{
|
|
base.InitRightMenus(view, table, model, control, menu);
|
|
|
|
this.ChartControlObj = view as ChartControlEx;
|
|
if (this.ChartControlObj != null)
|
|
{
|
|
this.ChartControlObj.ContextMenuStrip = base.MenuStrip;
|
|
}
|
|
}
|
|
}
|
|
} |