📄 c++ builder 程序设计实用教程 - 6_3_4 主窗体的完整设计 - 张晋 - 17xie.htm
字号:
style="mso-spacerun: yes"> </SPAN>end<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>object Panel1:
TPanel<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Left =
8<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Top =
8<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Width =
249<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Height =
273<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Caption =
'Panel1'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>TabOrder =
0<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>end<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>object Button1:
TButton<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Left =
32<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Top =
40<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Width =
209<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Height =
41<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Caption = '</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">单击进入绘制直线子窗体</SPAN><SPAN
lang=EN-US style="FONT-FAMILY: 'Times New Roman'">'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Charset =
DEFAULT_CHARSET<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Color =
clRed<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Height =
-16<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Name = 'MS Sans
Serif'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Style =
[]<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>ParentFont =
False<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>TabOrder =
1<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>OnClick =
Button1Click<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>end<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>object Button2:
TButton<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Left =
32<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Top =
120<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN><SPAN
style="mso-spacerun: yes"> </SPAN>Width = 201<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Height =
41<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Caption = '</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">单击进入绘制椭圆子窗体</SPAN><SPAN
lang=EN-US style="FONT-FAMILY: 'Times New Roman'">'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Charset =
DEFAULT_CHARSET<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Color =
clRed<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Height =
-16<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Name = 'MS Sans
Serif'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Style =
[]<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>ParentFont =
False<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>TabOrder =
2<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>OnClick =
Button2Click<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>end<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>object Button3:
TButton<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Left =
32<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Top =
208<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Width =
201<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Height =
41<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Caption = '</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">单击进入绘制矩形子窗体</SPAN><SPAN
lang=EN-US style="FONT-FAMILY: 'Times New Roman'">'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Charset =
DEFAULT_CHARSET<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Color =
clRed<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Height =
-16<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Name = 'MS Sans
Serif'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Style =
[]<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>ParentFont =
False<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>TabOrder =
3<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>OnClick =
Button3Click<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>end<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>object Button4:
TButton<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Left =
296<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Top =
208<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Width =
113<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Height =
33<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Caption = '</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">退出总程序</SPAN><SPAN
lang=EN-US style="FONT-FAMILY: 'Times New Roman'">'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Charset =
DEFAULT_CHARSET<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Color =
clBlack<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Height =
-16<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Name = 'MS Sans
Serif'<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>Font.Style =
[]<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>ParentFont =
False<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>TabOrder =
4<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
style="mso-spacerun: yes"> </SPAN>OnClick =
Button4Click<o:p></o:p></SPAN></P>
<P class=a0><SPAN lang=EN-US style="FONT-FAMILY: 'Times New Roman'"><SPAN
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -