100165808.htm
来自「C#高级编程(第三版),顶死你们。。 。up」· HTM 代码 · 共 83 行
HTM
83 行
<!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>
32.5.4 Visual Studio .NET Server Explorer
</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="100165808.htm">
32.5.4 Visual Studio .NET Server Explorer
</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='100165808.htm'><font color='red'>32.5.4 Visual Studio .NET Server Explorer</font></a></h1>
<div id="divRelateNode" style="padding-left: 2px">
<div style='float:left;width:49%'>·<a href='100165805.htm'>32.5.1 MMC计算机管理</a></div><div style='float:right;width:49%'>·<a href='100165806.htm'>32.5.2 net.exe</a></div><div style='float:left;width:49%'>·<a href='100165807.htm'>32.5.3 sc.exe</a></div><div style='float:right;width:49%'>·<a href='100165809.htm'>32.5.5 ServiceController类</a></div><div style='float:left;width:49%'>·<a href='100165810.htm'>32.6 故障排除</a></div><div style='float:right;width:49%'>·<a href='100165811.htm'>32.6.1 交互式服务</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-right:0cm;FTEL:8.15pt;margin-left:
0cm'><a FTEL="_Toc507815588"><span lang=EN-US>32.5.4 Visual Studio .NET
Server Explorer</span></a></h3>
<p class=MsoNormal><span style='font-family:宋体'>使用</span><span lang=EN-US>Visual
Studio .NET</span><span style='font-family:宋体'>中的</span><span lang=EN-US>Server
Explorer</span><span style='font-family:宋体'>,也可以控制服务;</span><span lang=EN-US>Services</span><span
style='font-family:宋体'>在</span><span lang=EN-US>Servers</span><span
style='font-family:宋体'>的下面,是计算机的名称。选择一个服务,打开上下文菜单,就可以启动和停止服务。这个上下文菜单也可以用于把</span><span
lang=EN-US>ServiceController</span><span style='font-family:宋体'>类添加到项目中。如果要控制应用程序中的具体服务,则可以把服务从</span><span
lang=EN-US>Server Explorer</span><span style='font-family:宋体'>拖放到设计器上:即把</span><span
lang=EN-US>ServiceController</span><span style='font-family:宋体'>实例添加到应用程序中,</span><span
lang=EN-US>ServiceController</span><span style='font-family:宋体'>对象的属性自动设置为访问选中的服务,引用</span><span
lang=EN-US>System.ServiceProcess.dll</span><span style='font-family:宋体'>。使用</span><span
lang=EN-US>ServiceController</span><span style='font-family:宋体'>实例控制服务的方式与使用下一节中开发的应用程序来控制服务的方式相同。</span></p>
</div>
<!-- page -->
<div class="page" style="text-align: center">
<a href="100165807.htm">上一页</a> <a href="index.html">首页</a> <a href="100165809.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='100165808.htm'><font color='red'>32.5.4 Visual Studio .NET Server Explorer</font></a></h1>
<div id="divRealteNod2" style="padding-left: 2px">
<div style='float:left;width:49%'>·<a href='100165805.htm'>32.5.1 MMC计算机管理</a></div><div style='float:right;width:49%'>·<a href='100165806.htm'>32.5.2 net.exe</a></div><div style='float:left;width:49%'>·<a href='100165807.htm'>32.5.3 sc.exe</a></div><div style='float:right;width:49%'>·<a href='100165809.htm'>32.5.5 ServiceController类</a></div><div style='float:left;width:49%'>·<a href='100165810.htm'>32.6 故障排除</a></div><div style='float:right;width:49%'>·<a href='100165811.htm'>32.6.1 交互式服务</a></div></div>
</div>
</div>
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?