一段c#代码转换为vb.net代码,求助
protectedvoidPage_Load(objectsender,EventArgse){if(IsPostBack){return;}this.FpSpread1...
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
{
return;
}
this.FpSpread1.SaveViewStateToSession = false;
this.FpSpread1.SaveOrLoadSheetState += new FarPoint.Web.Spread.SheetViewStateEventHandler(FpSpread1_SaveOrLoadSheetState);
}
void FpSpread1_SaveOrLoadSheetState(object sender, FarPoint.Web.Spread.SheetViewStateEventArgs e)
{
}
求转换为vb.net代码,尤其是 :
this.FpSpread1.SaveOrLoadSheetState += new FarPoint.Web.Spread.SheetViewStateEventHandler(FpSpread1_SaveOrLoadSheetState);
这行代码,vb.net里对事件添加委托,不会弄,求助,帮忙转换的,请本地测试下是否能通过,谢谢! 展开
{
if (IsPostBack)
{
return;
}
this.FpSpread1.SaveViewStateToSession = false;
this.FpSpread1.SaveOrLoadSheetState += new FarPoint.Web.Spread.SheetViewStateEventHandler(FpSpread1_SaveOrLoadSheetState);
}
void FpSpread1_SaveOrLoadSheetState(object sender, FarPoint.Web.Spread.SheetViewStateEventArgs e)
{
}
求转换为vb.net代码,尤其是 :
this.FpSpread1.SaveOrLoadSheetState += new FarPoint.Web.Spread.SheetViewStateEventHandler(FpSpread1_SaveOrLoadSheetState);
这行代码,vb.net里对事件添加委托,不会弄,求助,帮忙转换的,请本地测试下是否能通过,谢谢! 展开
2个回答
展开全部
Protected Sub Page_Load(sender As Object, e As EventArgs)
If IsPostBack Then
Return
End If
Me.FpSpread1.SaveViewStateToSession = False
Me.FpSpread1.SaveOrLoadSheetState += New FarPoint.Web.Spread.SheetViewStateEventHandler(AddressOf FpSpread1_SaveOrLoadSheetState)
End Sub
Private Sub FpSpread1_SaveOrLoadSheetState(sender As Object, e As FarPoint.Web.Spread.SheetViewStateEventArgs)
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询