Exemplo n.º 1
0
 /// <summary>
 /// 设置GridControl下的GridView
 /// </summary>
 /// <param name="gridView">被设置的GridView</param>
 /// <param name="type">GridControl 的类型</param>
 /// <param name="table">数据源DataTable</param>
 /// <param name="buttonclik">按钮列按钮点击事件</param>
 public static void SetGridView(GridView gridView,
                                GridControlType type,
                                out DataTable table
                                , ButtonPressedEventHandler buttonclik)
 {
     ToolsManage.SetGridView(gridView, type, out table, buttonclik, null);
 }
Exemplo n.º 2
0
 /// <summary>
 ///  设置GridControl下的GridView
 /// </summary>
 /// <param name="gridView">被设置的GridView</param>
 /// <param name="type">GridControl 的类型</param>
 /// <param name="table">数据源DataTable</param>
 public static void SetGridView(GridView gridView, GridControlType type, out DataTable table)
 {
     ToolsManage.SetGridView(gridView, type, out table, null, null);
 }