SVN r955
SVN-Revision: r955
This commit is contained in:
@@ -320,7 +320,7 @@ namespace Lskj.PubSpec
|
|||||||
//GridDragTree dragTree = new GridDragTree(this.gcMain.GridView, this.treeLeft.TreeView);
|
//GridDragTree dragTree = new GridDragTree(this.gcMain.GridView, this.treeLeft.TreeView);
|
||||||
//dragTree.OnDragComplete += new GridDragTreeCompleteEventHandler(OnDragCompleted);
|
//dragTree.OnDragComplete += new GridDragTreeCompleteEventHandler(OnDragCompleted);
|
||||||
this.gcMain.IsSpecModel = true;
|
this.gcMain.IsSpecModel = true;
|
||||||
this.gcMain.SetEditColumns(this._gridColumns);
|
this.gcMain.SetEditColumns(this._gridColumns, GridCustomColumnStruct.PubSpecMainGridView + this.SysModel.FormKey);
|
||||||
this.gcMain.SetGridRowColors(BaseModuleImpl.GetBaseGridRowColors(this.Model.ModuleCode));
|
this.gcMain.SetGridRowColors(BaseModuleImpl.GetBaseGridRowColors(this.Model.ModuleCode));
|
||||||
this.gcMain.SetGridRightMenus(BaseModuleImpl.GetBaseGridRightMenus(this.Model.ModuleCode), this.Model, OnGridViewRightCallBack, null);
|
this.gcMain.SetGridRightMenus(BaseModuleImpl.GetBaseGridRightMenus(this.Model.ModuleCode), this.Model, OnGridViewRightCallBack, null);
|
||||||
this.gcMain.GridView.FocusedRowObjectChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowObjectChangedEventHandler(OnGridViewFocusedRowObjectChanged);
|
this.gcMain.GridView.FocusedRowObjectChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowObjectChangedEventHandler(OnGridViewFocusedRowObjectChanged);
|
||||||
@@ -1162,35 +1162,4 @@ namespace Lskj.PubSpec
|
|||||||
/// <para>修改人:</para>
|
/// <para>修改人:</para>
|
||||||
/// <para>修改日期:</para>
|
/// <para>修改日期:</para>
|
||||||
/// <para>修改备注:</para>
|
/// <para>修改备注:</para>
|
||||||
/// <para>版本:1.0</para>
|
/// <para>版本:1.
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender">The sender.</param>
|
|
||||||
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
|
||||||
private void OnExportClick(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
this.gcMain.GridControl.ToExcel(this.Model.FormText);
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
|
||||||
MessageUtil.Show(Message, ex.Message);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void simpleButton1_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
WebBrowserUtil.StartWebBrowser(this.Model.ModuleCode, this.SysModel.MenuText);
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
|
||||||
MessageUtil.Show(Message, ex.Message);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user