??????? ??? ??? AutoEventWireup

?????? ????????? ?????? ?????????
???? ???????: 814745 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

???? ??? ??????? ????? AutoEventWireup:
  • ?? AutoEventWireup ??? ?????? ???? ???? ??? ?? ??? ???? ????? ???? "????? ???" autowired.
  • ?????? ?????????? ?? AutoEventWireup ????? ?? ???? ????? ??? ???:
    • TRUE ??? ????? autowiring ?????.
    • FALSE ????? ?? ??? ????? ????? autowiring.

??????? ????

?? Visual Studio .NET ?? ?? Visual Studio 2005 ????? ??????? ??? ?????? ????? ????? ???????? ???????? ?????. ??? ??? ?????? ??? ???? ??????? ?????? "????? ???" ?????? ???????? ?????? ????????? ???????? ??? ??? ??????? ???????? ????? ???????.

?? Visual Basic .NET ?? ?? Visual Basic 2005 ?????? ???? ??? ??????? ???????? ?????? ???????? ?????? ?? ????? ????? ????? ???????.

???? ????? ????????? ???????? ?????? ?????? ?????? ?? Visual Basic .NET ?? ?? Visual Basic 2005:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
?? Visual C# .NET ? ?????? ?????? ???? ????? ?????:
this.Load += new System.EventHandler(this.Page_Load);
???? ??? ???? ASP.NET ???? ???? ???? ?????? ??? AutoEventWireup ????? "????? ???" ???????? ?????? ????? ???? ??????? ????? ???????. ??? ?? ????? ??? AutoEventWireup ????? ?????? @ ??? TRUE (?? ??? ?? ??????? ??? ????? ????? ??????????) ? ???? ??? ???? ASP.NET ???????? ?????? ????? ??????? ?????? ????????.

??? ???? ??????? ?????? ????? ??? Page_Init ? Page_Load ???? ???? ???? ?????? ???? ??? ???? ASP.NET ???? ??????? ?????? ???????? ?????? ?? ???? ??? ?????.

??? ???? ?????? ????? ?? ??????? ????? AutoEventWireup ???? ??????? ?????? ???????? ???????? ????? ??????? ??? ??? ?? ???? ????? ????? ?????? ????? ???????? ? ??????? ??????. ???? ???? ??? ????? ????? ?????? ????? ???????.

?? ???? Visual Studio .NET ? Visual Studio 2005 ????? ???? ??? ????? ?????. ?? Visual Studio .NET ?? Visual Studio 2005 ? ?? ??????? ????????? AutoEventWireup FALSE. ???????? ??? ???? ?????? ?????? ?????? ?????? ?????? ?? ???? ????? ????? ??? ??? ??????? ??? ?????? ????? ??????? ?????? ???. ????? ????? ????? ??????? ????? ??? ????? ??????? ????? ???????.

?????

??? ????? AutoEventWireup ???? ???? ??? TRUE Visual Studio .NET ?? Visual Studio 2005? ?????????? ???? ??? ???? ??????? ???????? ????? ???????. ?? ??? ????? ???? ??? ???? ASP.NET ???????? ????????? ?????? ????? ????? ???????? ??? ????? ????? ??????. ???? ?? ???? ??? ??? ??? ??????? ????? ??????? ??? ???? ????? ??? ????? ??????. ???? ???? Microsoft ?????? ?????? AutoEventWireup ??? FALSE ????? ????? ?? Visual Studio .NET.

?????

????? ?? ?????????? ?? ?????? ????? MSDN ???????? ??? ?????:
???? ????? ?????? Server ASP.NET
http://msdn2.microsoft.com/en-us/library/59t350k3(vs.71).aspx
???? @
http://msdn2.microsoft.com/en-us/library/ydy4x04a(vs.71).aspx

???????

???? ???????: 814745 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 3.5
????? ???
  • MSDN 2003 Universal Edition
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft .NET Framework 2.0
????? ??????: 
kbmt kbvs2005swept kbvs2005applies kbdesigner kbhelp kbdocs kbonline kbinetdev kbenv kbevent kbctrl kbcontrol kbwebforms kbprogramming kbdocerr KB814745 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????814745

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com