100165529.htm
来自「C#高级编程(第三版),顶死你们。。 。up」· HTM 代码 · 共 69 行
HTM
69 行
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
19.2.2 外观
</title></head>
<body>
<div class="area">
<div class="col1">
<div class="lineBlue">
</div>
<!-- title -->
<div class="arcTitle">
<h1>
<a href="../16">
C#高级编程(第3版)【全文连载】
</a>
</h1>
<div style="text-align: center; font-size: 15px">
<a href="100165529.htm">
19.2.2 外观
</a>
</div>
<div style="text-align: center; font-size: 15px">
<a class="url" href="../../default.htm">http://book.csdn.net/</a>
2006-10-13 14:41:00
</div>
<div style="margin: 0px auto; width: 700px; border: solid 1px #0b5f98;">
<div style="float: left; width: 16px; background-color: #0b5f98; color: White; padding: 1px;">
图书导读
</div>
<div style="float: right; width: 670px; text-align: left; line-height: 16pt; padding-left: 2px">
<!--导读-->
<h1 id="divCurrentNode" style="color: #b83507; width: 100%; text-align: left; font-size: 12px; padding-left: 2px">当前章节:<a href='100165529.htm'><font color='red'>19.2.2 外观</font></a></h1>
<div id="divRelateNode" style="padding-left: 2px">
<div style='float:left;width:49%'>·<a href='100165526.htm'>19.1 创建Windows窗体应用程序</a></div><div style='float:right;width:49%'>·<a href='100165527.htm'>19.2 Control类</a></div><div style='float:left;width:49%'>·<a href='100165528.htm'>19.2.1 大小和位置</a></div><div style='float:right;width:49%'>·<a href='100165530.htm'>19.2.3 用户交互操作</a></div><div style='float:left;width:49%'>·<a href='100165531.htm'>19.2.4 Windows功能</a></div><div style='float:right;width:49%'>·<a href='100165532.htm'>19.2.5 杂项功能</a></div></div>
</div>
</div>
</div>
<!-- main -->
<div id="main">
<div id="text"> <link href="css.css" rel="stylesheet" type="text/css" /><h3 style="MARGIN-TOP: 8.15pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FTEL: 8.15pt"><span lang="EN-US">19.2.2 </span><span style="FONT-FAMILY: 黑体">外观</span></h3>
<p class="MsoNormal"><span style="FONT-FAMILY: 宋体">与控件外观相关的属性有</span><span lang="EN-US">BackColor</span><span style="FONT-FAMILY: 宋体">和</span><span lang="EN-US">ForeColor</span><span style="FONT-FAMILY: 宋体">,它们把</span><span lang="EN-US">System.Drawing.Color</span><span style="FONT-FAMILY: 宋体">对象作为其值。</span><span lang="EN-US">BackGroundImage</span><span style="FONT-FAMILY: 宋体">属性把基于</span><span lang="EN-US">Image</span><span style="FONT-FAMILY: 宋体">的对象作为其值。</span><span lang="EN-US">System.Drawing.Image</span><span style="FONT-FAMILY: 宋体">是一个抽象类,用作</span><span lang="EN-US">Bitmap</span><span style="FONT-FAMILY: 宋体">和</span><span lang="EN-US">Metafile</span><span style="FONT-FAMILY: 宋体">类的基类。</span></p>
<p class="MsoNormal"><span lang="EN-US">Font</span><span style="FONT-FAMILY: 宋体">和</span><span lang="EN-US">Text</span><span style="FONT-FAMILY: 宋体">属性处理文字的显示。要修改</span><span lang="EN-US">Font</span><span style="FONT-FAMILY: 宋体">属性,需要创建一个</span><span lang="EN-US">Font</span><span style="FONT-FAMILY: 宋体">对象。在创建</span><span lang="EN-US">Font</span><span style="FONT-FAMILY: 宋体">对象时,要指定字体名称、字号和样式。</span></p></div>
<!-- page -->
<div class="page" style="text-align: center">
<a href="100165528.htm">上一页</a> <a href="index.html">首页</a> <a href="100165530.htm">下一页</a>
</div>
<div style="margin: 0px auto; width: 700px; border: solid 1px #0b5f98;">
<div style="float: left; width: 16px; background-color: #0b5f98; color: White; padding: 1px;">
图书导读
</div>
<div style="float: right; width: 670px; text-align: left; line-height: 16pt; padding-left: 2px">
<!--导读-->
<h1 id="divCurrentNode2" style="color: #b83507; width: 100%; text-align: left; font-size: 12px; padding-left: 2px">当前章节:<a href='100165529.htm'><font color='red'>19.2.2 外观</font></a></h1>
<div id="divRealteNod2" style="padding-left: 2px">
<div style='float:left;width:49%'>·<a href='100165526.htm'>19.1 创建Windows窗体应用程序</a></div><div style='float:right;width:49%'>·<a href='100165527.htm'>19.2 Control类</a></div><div style='float:left;width:49%'>·<a href='100165528.htm'>19.2.1 大小和位置</a></div><div style='float:right;width:49%'>·<a href='100165530.htm'>19.2.3 用户交互操作</a></div><div style='float:left;width:49%'>·<a href='100165531.htm'>19.2.4 Windows功能</a></div><div style='float:right;width:49%'>·<a href='100165532.htm'>19.2.5 杂项功能</a></div></div>
</div>
</div>
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?