FIX: ??? ?? ????? ???? ???? ??????? ??? ??????? ???? ?????? DateTimePicker ?? .NET Framework 1.0

?????? ????????? ?????? ?????????
???? ???????: 813354 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ??? ?????? ??? ??????? ???????? Microsoft .NET Framework ??????? 1.0 ??????? ???? ?????? DateTimePicker ?? ??????? ?? ????? ???? ???? ??????? ??? ????? ???????.

?????

???? ??? ??????? ???? ???? ???????? ??????? ?? ???? ??????? ??? ???? ??????. ???? ???? DateTimePicker ????? ?????? Microsoft.Win32.UserPreferenceChangedEventHandler. ??? ?????? ?? ???? ???? ?????? DateTimePicker ?? ??? ???? ??? ?????? ??????? ??????. ????? ???? ??? ?????? ???? ???????? ??????? ?? ????? ???? ?????? DateTimePicker.

????

??? ??? ???????? ??? ?????? ??? ???? ???? ???? ??????? .NET Framework 1.0.

?????? ??? ???? ???? ???? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://www.microsoft.com/downloads/details.aspx?familyid=6978D761-4A92-4106-A9BC-83E78D4ABC5B&displaylang=en

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???". ?? ????? ??? ??????? ???? ??? ?? Microsoft .NET Framework 1.0 Service Pack 3.

??????? ????

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

  1. ????? ????? Microsoft Windows. ?????? ????? ???? ??????? ???????:
    1. ??? ????? Microsoft Visual Studio .NET.
    2. ?? ??????? ???? ??? ??? ???? ?? ???? ??? ???????. ???? ???? ?????? ????? ????.
    3. ??? ????? Project ? ???? ??? Visual C# ????????.
    4. ??? ????? ? ???? ??? ????? Windows.
    5. ?? ?????? ?????? ???? MyProject ??? ?? ???? ??? ?????. ?????????? ??? ????? ????? ?????? Form1.
    6. ?? ??????? ???? ???? ??? ???? ???????.
    7. ????? ????? ????? ???? ???? ?? ??? ????? Form1. ?????????? ??? ????? ???? ???? ???? ??textBox1 ???? ???? ???? ??textBox2 ??????? ???? ??textBox3.
    8. ????? ????? ???? ?? ??? ??????? Form1. ?????????? ??? ????? ???? ???? ??button1 ????? ???? ??button2.
    9. ????? ????????? ???????? ??????? ??? ????? ??????? Form1_Load ?? ??????? Form1.
      GC.Collect();
      GC.WaitForPendingFinalizers();
      long before = GC.GetTotalMemory(true);
      textBox1.Text ="Before test: " + before.ToString();
      ????? GC.GetTotalMemory ??????? ??? ????? ?????? ??????? ?????? ?? ??????? ???? ??? ???????.
    10. ?? ????? Form1 ???? ????? ??????? ??? button1 ?? ?? ?????? ???????? ???????? ??????? ??? ????? ??????? button1_Click ??????? Form1.
      long after;
      for (int i=0; i<100; i++) 
      {
      DateTimePicker dtp=new DateTimePicker();	
      dtp.Dispose();
      dtp=null;
      }
      after = GC.GetTotalMemory(true);
      textBox2.Text = " After test: " + after.ToString();
    11. ?? ????? Form1 ???? ????? ??????? ??? button2 ?? ?? ?????? ???????? ???????? ??????? ??? ????? ??????? button2_Click ?? ??????? Form1.
      GC.Collect();
      GC.WaitForPendingFinalizers();
      long after = GC.GetTotalMemory(true);
      textBox2.Text = " After Garbage Collection: " + after.ToString();
      ????? GC.Collect ???? ??? ??????? ????? ????? ??? ????? ?????? ? dereferenced ??????? ???????.
    12. ?? ??????? ???? ???? ??? ??? ???? ???? ???? ???????.
  2. ????? ?? ?? ?????? ????? Windows. ?????? ????? ???? ??????? ???????:
    1. ?? ??????? ????? ? ???? ??? ???? ????.
    2. ?? ??????? ????? ? ???? ??? ????. ???? ???? ?????? Form1. ???? ??? ????? ?????? ???? ??? ??????? ?? ??????? ???? ??? ??????? ?? ???? ???? textBox1.
    3. ???? ??? button1.

      ????? ???? ?? ???? ?????? DateTimePicker ?? ??? ??????? ??????? ?? ?? disposes ???? ?????? DateTimePicker. ???? ??? ?????? 100 ???. ??? ????? ?????? ?? ??????? ???? ??? ??????? ??? ????? 100 ???? ?? ???? ???? textBox2. ?? ???? ???? ???????? ??????? ????? ??????? ??? ????? ??????.
    4. ???? ??? button2.

    ??? ????? ?????? ???? ??? ?? ??????? ???? ??? ??????? ??? ??????? ???????? ???? ????? ????? ???????? ??????? ???? ?? ???? ???? textBox2. ?? ????? ?? ???? ???? ?????? ??? ??????? ?? ???? ?? ??????? ???? ??? ???????.
?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ???? ??????? "?? ????? ?????Microsoft":
824684??? ????????? ???????? ???? ??? ??????? ??? ??? ??????? ????? Microsoft

?????

????? ?? ????????? ??? ?????? UserPreferenceChangedEventHandler ???? ????? Microsoft ??????? (MSDN) ?? ?????? ???? ???:
http://msdn2.microsoft.com/en-us/library/microsoft.win32.userpreferencechangedeventhandler(vs.71).aspx
????? ?? ????????? ??? ??? DateTimePicker ?? ?????? ???? MSDN ??????:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.datetimepicker(vs.71).aspx

???????

???? ???????: 813354 - ????? ??? ??????: 11/???? ??????/1435 - ??????: 1.5
????? ???
  • Microsoft .NET Framework 1.0
????? ??????: 
kbnosurvey kbarchive kbmt kbhotfixserver kbqfe kbmemory kbgarbagecollect kbforms kbcode kbbug kbfix kbqfe kbnetframe100presp3fix KB813354 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????813354

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

 

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