??????? ????

 

6. '?'?? ?????'. ?'?????' ???
6.1. '?'?? ?????'.
6.2. ?'?????' ???.
6.3.
???'?? ?+?''.
6.4. ????'??''??'? ????'.

'?'?? ?????'

'?+' ?????'???'??? ??'??? ?????? Visual Basic. NET, ??+:????:

  • ????''? ? '???? ?+??' PictureBox, ??%? ?+'?'? ?????;
  • ????''? ? '???? ?+??' "?????" (CommandButton), ??'??'? +??' ????'? ??? ? ??'??? ??????;
  • ???'? ? ??? ?+??' "???" ??????? Dim MyPen As New Pen(Color.Black);
  • ?'? ? ??? ?+'?'? ?????? ??????? Dim g As Graphics = PictureBox1.CreateGraphics (???'? ?'? MyPen g ???? ??'? ??? ??, ? +'?? ??'?? ?????'???'? ???? ?????' ???);
  • -?'? '?'%?? ?? (? ???'?:) ??????? '? MyPen.Width = 6
  • -?'? ?' ?? ??????? '? MyPen.Color = Color.Red
  • ????'???'? ?????' ?'? ?????? ??'??: ???'??? (???'? ??????) '? g.DrawLine(MyPen, 0, 0, 300, 200)

?? ??????' ????'??', ?? ? ?????:

?? ???? - ???'?.
?? ??????'??? ?+'?' ????'?'?? ????? ?+??' PictureBox.
?' '?'%?? ?? ? ????? ?????? ???? ???'?.

?'?????' (????'??') ???

? ?? ??: ???????: ? ????'?? '?'??? ? ?'?'???, ???? ??????? ???? ?+?''? ? '??'??'? ?'????. ' Visual Basic .NET ???? ?'??'??'? ??? ?? ?'????.
''? ?????? '??'??': ?'??? (????'?) ???'???'?? ?? '??????' (&) ' '?'??' (+). ?+?'' ????, '? ?????? '??'??' ?'??? ? ????%?? ??? ????'?, Visual Basic. NET ? ??'?'?' ??? ?? ???+''.
???? ????'?? ?'?' ?'??? (??'?'? ????'?? ? ??) - Len(?'?????? ?'?).
???? ?'?'?? ?'??? ????'??? (?'??) - Mid(?:???? ?'?????? ?'?; ???? ????', ? ??'????? ??? ?'? ?'?'?; ??'?'?? ?'??': ????'??). ?' '?'??? ???'? ? ???+?: ?', ?' ?'?'?'?? ????'??? ? ??????? ???? ????' ?? ??? ?:????? ?'??????? ?'?'.

???'? ? Visual Basic 2005:
???'??? ?+?' '- 9. '?'?. ??? ? ??'???? ??'. ('?'?? ??'?'???)
???'??? ?+?' '- 10. '?'?? ???'?'. ('?'?? ??'?'???)
???'??? ?+?' '- 11. ????'??' '???. ('?'?? ??'?'???)

???'? ? Visual Basic 2008:
???'??? ?+?' '- 9. '?'?. ??? ? ??'???? ??'. ('?'?? ??'?'???)
???'??? ?+?' '- 10. '?'?? ???'?'. ('?'?? ??'?'???)
???'??? ?+?' '- 11. ????'??' '???. ('?'?? ??'?'???)

-??.

???'? ????' "??'??", ????%? ? ??'???? ??' ?+??, ???'?'??? ??'??: ???'???.

?? ??:??'? ? ???? ?+?? ???. ''?''? ?:? ??? ????' ??????''? ? ???????.

 


?? ???'???? ?'?'?? ??' ?????+ ??+'??'? ??'?
''?????? ?.?. ?.'., 2009-2011

?'??@Mail.ru     

Hosted by uCoz