以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  0923新版本有个错误  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=57290)

--  作者:rjh4078
--  发布时间:2014/9/22 16:18:00
--  0923新版本有个错误

.NET Framework 版本:2.0.50727.6421
Foxtable 版本:2014.9.23.1
错误所在事件:窗口,logopad,SizeChanged
详细错误信息:
找不到方法:“Int32 Foxtable.WinForm.Label.o o  OO ()”。

 

这个在项目里没问题 发布后就报错

 

SizeChanged代码

 

Dim txt1 As WinForm.TextBox=e.Form.Controls("username")
Dim txt2 As WinForm.TextBox=e.Form.Controls("password")

txt1.Left = (txt1.Parent.Width - txt1.Width) / 2
txt2.Left = (txt2.Parent.Width - txt2.Width) / 2

Dim btn1 As WinForm.Button=e.Form.controls("logo")
Dim btn2 As WinForm.Button=e.Form.controls("exit")
btn1.Left = (btn1.Parent.Width - btn1.Width) / 2
btn2.Left = (btn2.Parent.Width - btn2.Width) / 2
Dim LB1 As WinForm.Label=e.Form.controls("LBS")
Dim LB2 As WinForm.Label=e.Form.controls("LBZ")
Dim LB3 As WinForm.Label=e.Form.controls("LBD")
LB1.Left = (LB1.Parent.Width - LB1.Width) / 2
LB2.Left = (LB2.Parent.Width - LB2.Width) / 2
LB3.Left = (LB3.Parent.Width - LB3.Width) / 2
Dim P1 As WinForm.Panel=e.Form.controls("Panel3")
P1.Left = (P1.Parent.Width - P1.Width) / 2

 

 


--  作者:Bin
--  发布时间:2014/9/22 16:18:00
--  
例子发上来看看