.


:




:

































 

 

 

 


41.




, .

: ( ) , ( ), , .

. , , . , , . . , , . , , , . , , , , , .. .

, , . , . , D, , CD C D.

. , .. , , .. , . , , , , , , , . . O , , , , . , , , .


 

42. . . , . , . + . , , , , . , , , , , .

. W , . , , , . , , .. , .

,

R = f + f . (1)

f f

Δ Q , Δ t; Δ Q , Δ t .

, .. ( ) , (1) R = μ v μ v , (2)

.

, f = 0, f ≠ 0. , , ( ). , (2). R = μ v , v , , , μ = μ = d/dt, (3)

. .

, (, - ), v = const = , (3) :


43. , . , , , -. Delphi , . , . Width Height, - Left Top ( ). - Position : poDefault - ; poDefaultPosOnly - - , - - Width Height; poDefaultSizeOnly - , - - Left Top; poDesigned - - - Left, Top, Width, Height; poDesktopCenter - - Width Height; poScreenCenter - , - - Width Height. WindowState: wsNormal - ; wsMinimized - ; wsMaximized - . , . - Name. , . Form1. - Name Object Inspector. Caption. , . . .. , , . , . (AutoCreate form) . . : , . : 1. Forms ( Project Options). ( , - . , AboutForm ). 2. . , , , . , : _.ShowModal( ). , , ShowModal, . Hide () Close (). ModalResult, . : Active Boolean true, ; BorderIcons ; Canvas , ; ClientHeight ; FormStyle ; Menu ; Position ; WindowState (, , ). : reate ; Show Hide ; lose . : OnActivate ; OnClick ; OnClose ; OnCreate ; OnDblClick ; OnDestroy ; OnKeyDown ; OnMouseDown ; OnMouseMove ; OnMouseUp ; OnMouseWheel ; OnResize , . Delphi (Form1, Form2 . .), (Application.CreateForm (TForm1, Form1);) , . Release, Free Destroy, , (). Free, . , : OnCloseQuery (, ); OnClose ( ); OnDeActivate ( ); OnHide; OnDestroy. Sender TObject, - , ( . , . , , , , Sender). Sender, -. (Sender as TObject) . , (Sender as TEdit) , Delphi Edit.


 

44. . Delphi . . . , , . Delphi, , . Delphi - . Delphi : try.. except try.. finally. try..except. , try.. except try { }; except on Exceptionl do {, 1}; on Exception2 do {, 2}; else {, }; end; , try, , , except. except . -, , , on. , , , . -, except . . , , , , on Exception do. , else, , except. . , .

try...finally : , finally, . try.. finally , finally , - try.

try {, };finally { , };end; , , finally, , . try , finally. , , try , finally . finally , . try...finally, , . : . try...finally . . , , ., Windows Dr. Watson, Microsoft





:


: 2015-10-27; !; : 1484 |


:

:

,
==> ...

1278 - | 1262 -


© 2015-2024 lektsii.org - -

: 0.012 .