<?xml version="1.0" encoding="utf-8" ?><?xml-stylesheet type="text/xsl" title="XSL Formatting" href="/static_files/markdown/rss.xsl" media="all" ?>
<rss version="2.0">
    <channel>
        <title>东哩个东</title>
        <image>
            <link>https://blog.csdn.net/</link>
            <url>https://static-blog.csdn.net/images/logo.gif</url>
        </image>
        <description>的专栏</description>
        <link>https://blog.csdn.net/imperman</link>
        <language>zh-cn</language>
        <generator>https://blog.csdn.net/</generator>
        <ttl>5</ttl>
        <copyright><![CDATA[Copyright &copy; imperman]]></copyright>
        <pubDate>2018/03/26 07:08:46</pubDate>
                    <item>
                                <title><![CDATA[[原]sftp与samba文件传输速度的对比]]></title>
                <link>https://blog.csdn.net/imperman/article/details/49558157</link>
                <guid>https://blog.csdn.net/imperman/article/details/49558157</guid>
                <author>imperman</author>
                <pubDate>2015/11/01 14:43:39</pubDate>
                <description>
                    <![CDATA[
                    
单用户，两服务器在同一千兆交换下，都使用raid5方式挂载硬盘，sftp平均每秒30M，samba每秒100M。
                    <div>
                        作者：imperman 发表于 2015/11/01 14:43:39 <a href="https://blog.csdn.net/imperman/article/details/49558157">原文链接</a> https://blog.csdn.net/imperman/article/details/49558157                    </div>
                    <div>
                        阅读：4357                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[转]OpenVas在centos 6上安装过程]]></title>
                <link>https://blog.csdn.net/imperman/article/details/24044507</link>
                <guid>https://blog.csdn.net/imperman/article/details/24044507</guid>
                <author>imperman</author>
                <pubDate>2014/04/18 20:00:21</pubDate>
                <description>
                    <![CDATA[
                    
<h3>OpenVAS for CentOS via Atomic</h3>
<table border="0" cellpadding="10" width="100%"><tbody><tr><td valign="top" width="170" align="center" style="border:0px;"><img border="0" src="http://www.openvas.org/img/openvas-centos-atomic.png" alt="" /></td>
<td valign="top" style="border:0px;"><a href="http://www.openvas.org/setup-and-start.html">Setup and start OpenVAS</a><br /><a href="http://www.openvas.org/install-packages.html#atomic">Atomicorp Repository</a></td>
</tr></tbody></table><p><strong>Step 1: Configure Atomicorp Repository</strong><br />
(as user root, only once)</p>
<pre>wget -q -O - http://www.atomicorp.com/installers/atomic |sh
</pre>
<p><strong>Step 2: Quick-Install OpenVAS</strong><br />
(as user root, only once)</p>
<pre>yum upgrade
yum install openvas
openvas-setup
</pre>
<p><strong>Step 3: Quick-Start OpenVAS</strong><br /></p>
<p></p>
<pre>( nothing to do, all is up and running directly after installation )
</pre>
<p><strong>Step 4: Log into OpenVAS with user created in the step 2</strong></p>
<p>Open <a href="https://localhost:9392/">https://localhost:9392/</a>.</p>
<p> </p>
<p> </p>
<p>最重要一点，要把selinux关掉，否则任何功能都无法实现。需要在/etc/sysconfig/selinux中设置参数selinux=0</p>
                    <div>
                        作者：imperman 发表于 2014/04/18 20:00:21 <a href="https://blog.csdn.net/imperman/article/details/24044507">原文链接</a> https://blog.csdn.net/imperman/article/details/24044507                    </div>
                    <div>
                        阅读：2736 评论：2 <a href="https://blog.csdn.net/imperman/article/details/24044507#comments" target="_blank">查看评论</a>                    </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[转]asp.net mvc使用表单认证入门]]></title>
                <link>https://blog.csdn.net/imperman/article/details/21981667</link>
                <guid>https://blog.csdn.net/imperman/article/details/21981667</guid>
                <author>imperman</author>
                <pubDate>2014/03/24 19:30:08</pubDate>
                <description>
                    <![CDATA[
                    
<h1 id="ctl00_ArticleTitle">A Beginner's Tutorial on Custom Forms Authentication in ASP.NET MVC Application</h1>
<div class="entry">By <span class="author"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=3402606"><span><span>Rahul Rajat Singh</span></span></a></span>,
<span class="date">15 Apr 2013</span></div>
<table class="voting-bar"><tbody><tr><td nowrap="nowrap">
<div id="ctl00_CurRat" class="tooltip anchorLink">
<table class="small-text" cellspacing="0" cellpadding="0"><tbody><tr><td class="nowrap"><span id="ctl00_ArticleRating_VI"></span>
<div class="nowrap rating-stars-large">
<div class="clipped align-left float-left"><img src="http://s.codeproject.com/script/Ratings/Images/stars-fill-lg.png" alt="" style="border-width:0px;" /></div>
<div class="clipped"><img src="http://s.codeproject.com/script/Ratings/Images/stars-empty-lg.png" alt="" style="border-width:0px;" /></div>
</div>
</td>
<td id="ctl00_ArticleRating_VR" class="nowrap"><span id="ctl00_ArticleRating_VotesR"><span class="rating">4.98</span> (<span class="count">28</span> votes)</span></td>
</tr></tbody></table><div id="ctl00_RB" class="speech-bubble-container-up">
<div class="speech-bubble-up">
<div>
<table class="feature" title="Voting Distribution. Recent data only" cellspacing="0" cellpadding="0" width="100%"><tbody><tr class="chart-row"><td class="chart-column"><img title="" border="0" alt="" src="http://s.codeproject.com/Images/t.gif" width="20" height="1" /><br /><span title="0 votes">1</span></td>
<td class="chart-column"><img title="" border="0" alt="" src="http://s.codeproject.com/Images/t.gif" width="20" height="1" /><br /><span title="0 votes">2</span></td>
<td class="chart-column"><img title="" border="0" alt="" src="http://s.codeproject.com/Images/t.gif" width="20" height="1" /><br /><span title="0 votes">3</span></td>
<td class="chart-column"><img title="1 vote, 3.6%" border="0" alt="1 vote, 3.6%" src="http://www.codeproject.com/script/Ratings/Images/pollcol.gif" width="20" height="1" /><br /><span title="1 vote">4</span></td>
<td class="chart-column"><img title="27 votes, 96.4%" border="0" alt="27 votes, 96.4%" src="http://www.codeproject.com/script/Ratings/Images/pollcol.gif" width="20" height="50" /><br /><span title="27 votes">5</span></td>
</tr></tbody></table><div class="small-text align-center">4.98/5 - 28 votes</div>
<div class="small-text align-center subdue">μ 4.98, σ<sub><span style="font-size:12px;">a</span></sub> 1.08 [<a href="http://www.codeproject.com/KB/FAQs/RatingReputationFAQ.aspx#noisefilter">?</a>]</div>
</div>
</div>
<div class="speech-bubble-pointer-up">
<div class="speech-bubble-pointer-up-inner"></div>
</div>
</div>
</div>
</td>
<td nowrap="nowrap"> </td>
<td id="ctl00_RateArticleRow" class="voting-bar">
<div class="float-right align-right">
<div id="ctl00_RateArticle_RateItemWrapper" class="small-text">
<table class="small-text" cellspacing="0" cellpadding="0" width="100%"><tbody><tr><td id="ctl00_RateArticle_VoteResultDiv" class="rating-result align-right"><span class="align-right"></span><img class="loaderImg" alt="loading..." src="http://www.codeproject.com/Images/animated_loading_blue.gif" width="16" height="16" /></td>
<td class="voteTbl" align="right" style="white-space:nowrap;">
<table class="small-text"><tbody><tr><td id="ctl00_RateArticle_RateText" class="rating-prompt">Rate this:</td>
<td id="ctl00_RateArticle_VoteFormDiv" class="nowrap rating-stars-voter-large"><span id="ctl00_RateArticle_RB" class="tooltip ajaxHist radio voting"><span id="ctl00_RateArticle_VoteRBL"><input id="ctl00_RateArticle_VoteRBL_0" name="ctl00$RateArticle$VoteRBL" value="1" type="radio" /><input id="ctl00_RateArticle_VoteRBL_1" name="ctl00$RateArticle$VoteRBL" value="2" type="radio" /><input id="ctl00_RateArticle_VoteRBL_2" name="ctl00$RateArticle$VoteRBL" value="3" type="radio" /><input id="ctl00_RateArticle_VoteRBL_3" name="ctl00$RateArticle$VoteRBL" value="4" type="radio" /><input id="ctl00_RateArticle_VoteRBL_4" name="ctl00$RateArticle$VoteRBL" value="5" type="radio" /></span></span>
<div class="rating-star-block"><a class="star outline" title="vote 1" href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">vote 1</a><a class="star outline" title="vote 2" href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">vote
 2</a><a class="star outline" title="vote 3" href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">vote 3</a><a class="star outline" title="vote 4" href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">vote
 4</a><a class="star outline" title="vote 5" href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">vote 5</a></div>
</td>
<td style="padding-left:5px;"><input id="ctl00_RateArticle_SubmitRateBtn" class="button" name="ctl00$RateArticle$SubmitRateBtn" value="Vote!" type="submit" /></td>
</tr></tbody></table></td>
</tr></tbody></table><div class="hover-container">
<div id="ctl00_RateArticle_RSU" class="rating-comment align-left float-right">
<div class="padded">            Please <a id="ctl00_RateArticle_SignUp" href="https://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2FArticles%2F578374%2FAplusBeginner-27splusTutorialplusonplusCustomplusF">
Sign up or sign in</a> to vote.            </div>
</div>
</div>
</div>
</div>
<div class="float-right"><a id="ctl00_GitLink" href="https://workspaces.codeproject.com/rahul-rajat-singh/aplusbeginner-27splustutorialplusonpluscustomplusf"><img alt="Form me!" src="http://www.codeproject.com/images/ForkMeLocal.png" width="226" height="24" style="margin:4px 15px 0px 0px;border:0px;" /></a></div>
</td>
</tr></tbody></table><div id="contentdiv" class="text">
<ul class="download"><li><a href="http://www.codeproject.com/KB/aspnet/578374/MvcFormsAuthenticationSample.zip">Download sample - 1.4 MB</a></li></ul><h2>Introduction</h2>
<p>In this we will discuss about the ASP.NET Roles and Membership API from MVC perspective.  We will try to see how the default Roles and Membership provides can be used for authentication and authorization in an MVC application. We will also see how we can
 implement custom forms authentication in an ASP.NET MVC application.</p>
<h2>Background</h2>
<p>When we are working on application in which authentication and authorization is a key requirement,  we will find the ASP.NET roles and membership feature very useful. The basic principle and mechanism for forms authentication in ASP.NET MVC is same as of
 that of ASP.NET <code>Webforms</code>. But since we don't have the server controls with us the way to use it will be a little different from that of the webforms.  Nevertheless, since the core principle behind the Forms authentication is same, I suggest following
 articles will provide a quick recap on ASP.NET Forms authentication and how it can be implemented and customized in
<code>WebForms </code>applications.</p>
<ul><li><a href="http://www.codeproject.com/Articles/342061/Understanding-ASP-NET-Roles-and-Membership-A-Begin">Understanding ASP.NET Roles and Membership - A Beginner's Tutorial</a>[<a title="New Window" href="http://www.codeproject.com/Articles/342061/Understanding-ASP-NET-Roles-and-Membership-A-Begin">^</a>]</li><li><a href="http://www.codeproject.com/Articles/408306/Understanding-and-Implementing-ASP-NET-Custom-Form">Understanding and Implementing ASP.NET Custom Forms Authentication</a>[<a title="New Window" href="http://www.codeproject.com/Articles/408306/Understanding-and-Implementing-ASP-NET-Custom-Form">^</a>]</li></ul><h3>Authentication and Authorization</h3>
<p>Authentication means validating users. In this step, we verify user credentials to check  whether the person tying to log in is the right one or not.  Authorization on the other hand is keeping track of what the current user is allowed  to see and what should
 be hidden from him. It is more like keeping a register to what to  show and what not to show to the user.</p>
<p>Whenever a user logs in, he will have to authenticate himself with his credentials.  Once he is authenticated, he will be authorized to see resources/pages of the website.  Mostly these two concepts go together.</p>
<h3>Type of Authentications</h3>
<p>Before moving ahead, let us first see the two main type of authentications that are used mostly in ASP.NET applications.</p>
<ol><li><strong>Windows authentication:</strong> In this mode, the users are authenticated on their Windows username and password.  This method is least recommended in an internet scenario. In an internet scenario,  we should always use "Forms based authentication".</li><li><strong>Forms based authentication: </strong>In this type of authentication, the user will explicitly have to  provide his credentials and these credentials, once verified by the server, will let the user to log in.</li></ol><p>We will be discussing the form authentication in details in the rest of the article.
</p>
<h2>Using the code</h2>
<p>The default ASP.NET Roles and Membership classes come in very handy when we want to  provide authentication and authorization in our applications. Using the default membership API will use the membership database and provide us will all the functionality
 required to manage the user roles and membership.</p>
<p>ASP.NET also provides a way to implement custom Roles and Membership to take more granular control over things. We might still find ourselves in situations where we need to have our own database for tracking users and their roles.  The reasons could be:</p>
<ul><li>We have an existing database and we are trying to implement an application using that.</li><li>The Roles and Membership functionality is overkill for our application.</li><li>The Roles and Membership functionality is not sufficient for our applications and we need custom data.</li></ul><p>So let us first discuss the default membership API and what visual studio provides us out of the box. We will then move on to taking the full control on authorization and authentication on our hand by implementing custom forms authentication.
</p>
<h3>Forms Authentication</h3>
<p>To enable forms authentication we need to perform following steps in our application.</p>
<ol><li>Configure the application to use Forms Authentication.</li><li>Create a login page.</li><li>Whenever a user tries to access the restricted area, push him to the Login page.</li><li>When the user tries to login, verify his credentials using the database.</li><li>If the login is successful, keep the username and his Roles in a Session variable to use it further.</li><li>Create an authentication ticket for the user (an encrypted cookie). We can have this persistent or non persistent.</li><li>Facilitate the User/Roles extraction using the authentication ticket.</li><li>Use the user/Roles found in the last step and create a Principal using that so that the  ASP.NET Forms Authentication mechanism can use this data.</li></ol><p>Now we will see how the default membership API does all these things for us and how we can implement all these steps ourselves.</p>
<h3>Default Membership API</h3>
<p>When we create an MVC internet application. The visual studio project wizard does all these above mentioned steps for us. it will create a Membership database in the App_data directory of our application (actually the location depends on the
<code>connectionstring </code>specified in <code>web.config</code> file).</p>
<p>It will generate the <code>Controller </code>ode that will check the database for user authentication, create the authentication cookie and creation of
<code>Principal </code>based on the roles configured in our database. It will also generate all the view required for authentication. The image below shows the generated
<code>Controller</code>, Views and the database.</p>
<img src="http://www.codeproject.com/KB/aspnet/578374/solutionStructure.jpg" width="366" height="520" alt="" /><br /><p>The Roles and user can be configured either from code or from the <code>Web Site Administration Tool(WSAT)</code>  in the same manner as of that in
<code>WebForms </code>application. So let us create a role called "admin" and  2 users "admin" and "user" using
<code>WSAT</code>. The "admin" will be in "admin" role and the "user" will not be in any role.</p>
<img src="http://www.codeproject.com/KB/aspnet/578374/wsat.jpg" width="640" alt="" /><br /><p>Now from the applications perspective, we only need to mark the views that need authentication and  authorization and the default membership classes and the generated classed will take care of performing the authentication and authorization.</p>
<p>Let us say that we want only authentication users to be able to view the <code>
Home/Index</code> page. And only the  users in "Admin" role can access the <code>
Home/About</code> page. To do this we need to decorate the respective action in controller with the authorize attribute as:</p>
<div id="premain0" class="pre-action-link" style="display:block;"><img id="preimg0" src="http://www.codeproject.com/images/minus.gif" width="9" height="9" alt="" /><span id="precollapse0" style="margin-bottom:0px;"> Collapse</span><span> |
</span><a href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">Copy Code</a></div>
<pre id="pre0" lang="cs" style="margin-top:0px;" xml:lang="cs"><span class="code-keyword">public</span> <span class="code-keyword">class</span> HomeController : Controller
{
    [Authorize]
    <span class="code-keyword">public</span> ActionResult Index()
    {
        ViewBag.Message = <span class="code-string">"</span><span class="code-string">Welcome to ASP.NET MVC!"</span>;

        <span class="code-keyword">return</span> View();
    }

    [Authorize(Roles=<span class="code-string">"</span><span class="code-string">Admin"</span>)]
    <span class="code-keyword">public</span> ActionResult About()
    {
        <span class="code-keyword">return</span> View();
    }
}
</pre>
<p>And that is all that is required to require authentication and authorization if we are using default Membership API and the visual studio generated code for authentication and authorization. We can do some level of customization in the
<code>AccountController </code>class if we need some added functionality.</p>
<p><strong>Note:</strong> The article does not contain a sample for the default membership usage because it is just the matter of creating a new MVC 3 internet application and all the code will be generated by visual studio itself.  It is highly recommended
 to look at the <code>AccountController </code>class to see how it is performing various operations.</p>
<h3>Custom Forms Authentication</h3>
<p>Now if we don't want to use the default membership API and the visual studio generated code then we can choose to implement our own authentication and authorization mechanism. To do this we will have take care of implementing all the steps required for forms
 authentication that we discussed earlier in the article. So let us create and empty MVC 3 application and see how we can implement custom forms authentication.</p>
<h4>Configuring Forms Authentication</h4>
<p>Now the first thing that we need to do is to configure the application to use the Forms authentication. This can be done in the web.config file.</p>
<div id="premain1" class="pre-action-link" style="display:block;"><img id="preimg1" src="http://www.codeproject.com/images/minus.gif" width="9" height="9" alt="" /><span id="precollapse1" style="margin-bottom:0px;"> Collapse</span><span> |
</span><a href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">Copy Code</a></div>
<pre id="pre1" lang="xml" style="margin-top:0px;" xml:lang="xml"><span class="code-keyword">&lt;</span><span class="code-leadattribute">authentication</span> <span class="code-attribute">mode</span><span class="code-keyword">="</span><span class="code-keyword">Forms"</span><span class="code-keyword">&gt;</span>
  <span class="code-keyword">&lt;</span><span class="code-leadattribute">forms</span> <span class="code-attribute">loginUrl</span><span class="code-keyword">="</span><span class="code-keyword">~/Account/Login"</span> <span class="code-attribute">timeout</span><span class="code-keyword">="</span><span class="code-keyword">2880"</span> <span class="code-keyword">/</span><span class="code-keyword">&gt;</span>
<span class="code-keyword">&lt;</span><span class="code-keyword">/</span><span class="code-leadattribute">authentication</span><span class="code-keyword">&gt;</span>
</pre>
<h4>Preparing the user Database</h4>
<p>let us now create a small database that we will use to perform authentication. This database contains only two users like our old earlier example. "admin" and "user". "admin" is in "admin" role and "user" is not in any role.</p>
<img src="http://www.codeproject.com/KB/aspnet/578374/Db.jpg" width="464" height="267" alt="" /><br /><p><strong>Note:</strong> The database is neither optimized nor normalized as that was not the main intent of this article.  A real world example of database will be more optimized and perhaps more complex.  The passwords will not be in clear text for sure,
 They will either be encrypted or "hashed &amp; salted".</p>
<p>Now to perform data access let us use entity framework so that we don't have to write all the boilerplate code required to create our model and data access logic. The generated entity for our database will look like:</p>
<img src="http://www.codeproject.com/KB/aspnet/578374/entity.jpg" width="181" height="200" alt="" /><br /><h4>Creating the Controllers and Views</h4>
<p>let us now go ahead and create a controller that will take care of the authentication logic. We will create the functionality for
<code>Login </code>and <code>Logout </code>but other functionality are user creation and password change can be easily implemented on same lines(its the matter of validating the user Model and performing CRUD operations on the table after encryption or hashing
 and salting).</p>
<p>Here is our controller with <code>login </code>and <code>logout </code>action:</p>
<div id="premain2" class="pre-action-link" style="display:block;"><img id="preimg2" src="http://www.codeproject.com/images/minus.gif" width="9" height="9" alt="" /><span id="precollapse2" style="margin-bottom:0px;"> Collapse</span><span> |
</span><a href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">Copy Code</a></div>
<pre id="pre2" lang="cs" style="margin-top:0px;" xml:lang="cs"><span class="code-keyword">public</span> ActionResult Login()
{
    <span class="code-keyword">return</span> View();
}

[HttpPost]
<span class="code-keyword">public</span> ActionResult Login(User model, <span class="code-keyword">string</span> returnUrl)
{
    <span class="code-comment">//</span><span class="code-comment"> Lets first check if the Model is valid or not
</span>    <span class="code-keyword">if</span> (ModelState.IsValid)
    {
        <span class="code-keyword">using</span> (userDbEntities entities = <span class="code-keyword">new</span> userDbEntities())
        {
            <span class="code-keyword">string</span> username = model.username;
            <span class="code-keyword">string</span> password = model.password;

            <span class="code-comment">//</span><span class="code-comment"> Now if our password was enctypted or hashed we would have done the
</span>            <span class="code-comment">//</span><span class="code-comment"> same operation on the user entered password here, But for now
</span>            <span class="code-comment">//</span><span class="code-comment"> since the password is in plain text lets just authenticate directly
</span>
            <span class="code-keyword">bool</span> userValid = entities.Users.Any(user =&gt; user.username == username &amp;&amp; user.password == password);

            <span class="code-comment">//</span><span class="code-comment"> User found in the database
</span>            <span class="code-keyword">if</span> (userValid)
            {

                FormsAuthentication.SetAuthCookie(username, <span class="code-keyword">false</span>);
                <span class="code-keyword">if</span> (Url.IsLocalUrl(returnUrl) &amp;&amp; returnUrl.Length &gt; <span class="code-digit">1</span> &amp;&amp; returnUrl.StartsWith(<span class="code-string">"</span><span class="code-string">/"</span>)
                    &amp;&amp; !returnUrl.StartsWith(<span class="code-string">"</span><span class="code-string">//"</span>) &amp;&amp; !returnUrl.StartsWith(<span class="code-string">"</span><span class="code-string">/\\"))
                {
                    return Redirect(returnUrl);
                }
                else
                {
                    return RedirectToAction("</span>Index<span class="code-string">"</span><span class="code-string">, "</span>Home<span class="code-string">"</span><span class="code-string">);
                }
            }
            else
            {
                ModelState.AddModelError("</span><span class="code-string">"</span><span class="code-string">, "</span>The user name or password provided <span class="code-keyword">is</span> incorrect.<span class="code-string">"</span><span class="code-string">);
            }
        }
    }

    // If we got this far, something failed, redisplay form
    return View(model);
}

public ActionResult LogOff()
{
    FormsAuthentication.SignOut();

    return RedirectToAction("</span>Index<span class="code-string">"</span><span class="code-string">, "</span>Home<span class="code-string">"</span><span class="code-string">);
}
</span></pre>
<p>Now in the above code when the user tries to login we will check if the user with the given user credentials  exist in the user database or not. If it exist we set the authentication ticket and move forward. Now if our password was encrypted or hashed we
 would have done the same operation on the user entered password before checking in database,  but since the password is in plain text lets just authenticate directly.</p>
<p>Now before moving ahead let us look at the view that will take the user credentials and perform the authentication.</p>
<img src="http://www.codeproject.com/KB/aspnet/578374/viewCode.jpg" width="514" height="577" alt="" /><br /><p>Let us now create a simple <code>Controller </code>which will contain two actions. One action that can be performed by any authenticated user and other that can be performed by the users in "admin" role only.</p>
<div id="premain3" class="pre-action-link" style="display:block;"><img id="preimg3" src="http://www.codeproject.com/images/minus.gif" width="9" height="9" alt="" /><span id="precollapse3" style="margin-bottom:0px;"> Collapse</span><span> |
</span><a href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">Copy Code</a></div>
<pre id="pre3" lang="cs" style="margin-top:0px;" xml:lang="cs"><span class="code-keyword">public</span> <span class="code-keyword">class</span> HomeController : Controller
{
    [Authorize]
    <span class="code-keyword">public</span> ActionResult Index()
    {
        ViewBag.Message = <span class="code-string">"</span><span class="code-string">This can be viewed only by authenticated users only"</span>;
        <span class="code-keyword">return</span> View();
    }

    [Authorize(Roles=<span class="code-string">"</span><span class="code-string">admin"</span>)]
    <span class="code-keyword">public</span> ActionResult AdminIndex()
    {
        ViewBag.Message = <span class="code-string">"</span><span class="code-string">This can be viewed only by users in Admin role only"</span>;
        <span class="code-keyword">return</span> View();
    }
}
</pre>
<p>Now when we run the application, we can see that the users will be asked to enter their credentials when they try to access the Home controller's views. Upon successful login they will be able to see the Index page.</p>
<img src="http://www.codeproject.com/KB/aspnet/578374/simpleRunning.jpg" width="640" alt="" /><br /><p>But if we try to look at the <code>AdminIndex </code>page we will not be able to see that. The reason for that is that currently the users roles are not being used.</p>
<h4>Facilitating Roles extraction using the authentication ticket</h4>
<p>Now to use the roles specified in our database, there is one thing to understand.  When Forms authentication is being used, whenever the need for authentication arises,  the ASP.NET framework checks with the current
<code>IPrinciple </code>type object.  The user ID and Role contained in this <code>
IPrinciple </code>type object will determine whether the  user is allowed access or not.</p>
<p>So far we have not written code to push our user's Role details in this principle object. To do that we need to override a method called
<code>FormsAuthentication_OnAuthenticate</code> in <code>global.asax</code>.  This method is called each time ASP.NET framework tries to check authentication and  authorization with respect to the current Principle.</p>
<p>What we need to do now is to override this method. Check for the authentication ticket  (since the user has already been validated and the ticket was created)  and then supply this User/Role information in the
<code>IPrinciple </code>type object.  We can implement our custom Principle type too but to keep it simple,  we will simply create a
<code>GenericPriciple </code>object and set our user specific details into it</p>
<div id="premain4" class="pre-action-link" style="display:block;"><img id="preimg4" src="http://www.codeproject.com/images/minus.gif" width="9" height="9" alt="" /><span id="precollapse4" style="margin-bottom:0px;"> Collapse</span><span> |
</span><a href="http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF#">Copy Code</a></div>
<pre id="pre4" lang="cs" style="margin-top:0px;" xml:lang="cs"><span class="code-keyword">protected</span> <span class="code-keyword">void</span> FormsAuthentication_OnAuthenticate(<span class="code-SDKkeyword">Object</span> sender, FormsAuthenticationEventArgs e)
{
    <span class="code-keyword">if</span> (FormsAuthentication.CookiesSupported == <span class="code-keyword">true</span>)
    {
        <span class="code-keyword">if</span> (Request.Cookies[FormsAuthentication.FormsCookieName] != <span class="code-keyword">null</span>)
        {
            <span class="code-keyword">try</span>
            {
                <span class="code-comment">//</span><span class="code-comment">let us take out the username now                
</span>                <span class="code-keyword">string</span> username = FormsAuthentication.Decrypt(Request.Cookies[FormsAuthentication.FormsCookieName].Value).Name;
                <span class="code-keyword">string</span> roles = <span class="code-keyword">string</span>.Empty;

                <span class="code-keyword">using</span> (userDbEntities entities = <span class="code-keyword">new</span> userDbEntities())
                {
                    User user = entities.Users.SingleOrDefault(u =&gt; u.username == username);

                    roles = user.Roles;
                }
                <span class="code-comment">//</span><span class="code-comment">let us extract the roles from our own custom cookie
</span>                

                <span class="code-comment">//</span><span class="code-comment">Let us set the Pricipal with our user specific details
</span>                e.User = <span class="code-keyword">new</span> System.Security.Principal.GenericPrincipal(
                  <span class="code-keyword">new</span> System.Security.Principal.GenericIdentity(username, <span class="code-string">"</span><span class="code-string">Forms"</span>), roles.Split(<span class="code-string">'</span><span class="code-string">;'</span>));
            }
            <span class="code-keyword">catch</span> (Exception)
            {
                <span class="code-comment">//</span><span class="code-comment">somehting went wrong
</span>            }
        }
    }
}
</pre>
<img src="http://www.codeproject.com/KB/aspnet/578374/adminRunning.jpg" width="640" alt="" /><br /><p>And now when we run our application we can even access the <code>AdminIndex </code>
page. Now we have all the steps required  to implement the custom forms authentication in place. We have successfully implemented custom forms authentication in an ASP.NET MVC application.</p>
<p><strong>Note: </strong>This article contains code snippets that are only for demonstration of concepts of the article and it does not follow any best practices  Only the logic should be taken from this article as the code in the article is not of production
 quality.</p>
<h2>Point of interest</h2>
<p>In this article we have tried to look into ASP.NET roles and membership API. We saw how MVC project comes with the default Membership API implementation and some default Controllers and view which can be utilized to easily integrate forms authentication
 in an MVC application. We also saw how we can take full control over the forms authentication and implement custom forms authentication. This article has been written from a beginner's perspective. hope this has been informative.</p>
<h2>History</h2>
<ul><li><strong>16 April 2013:</strong> First version.</li></ul></div>
<h2>License</h2>
<div id="LicenseTerms">
<p>This article, along with any associated source code and files, is licensed under
<a href="http://www.codeproject.com/info/cpol10.aspx">
The Code Project Open License (CPOL)</a></p>
</div>
<div class="float-right" style="margin:20px 0px 0px;border:1px solid rgb(204,204,204);">
<div class="msg-300x250"></div>
</div>
<h2 id="ctl00_AboutHeading">About the Author</h2>
<div class="container">
<div style="text-align:center;overflow:hidden;float:left;"><img id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberPhoto" class="profile-pic" src="http://www.codeproject.com/script/Membership/ProfileImages/%7B3fc4f28e-eef2-4595-b1d7-5fedf3b29843%7D.jpg" alt="" style="border-width:0px;" /></div>
</div>
                    <div>
                        作者：imperman 发表于 2014/03/24 19:30:08 <a href="https://blog.csdn.net/imperman/article/details/21981667">原文链接</a> https://blog.csdn.net/imperman/article/details/21981667                    </div>
                    <div>
                        阅读：1375                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]outlook与安卓手机同步日历]]></title>
                <link>https://blog.csdn.net/imperman/article/details/13614863</link>
                <guid>https://blog.csdn.net/imperman/article/details/13614863</guid>
                <author>imperman</author>
                <pubDate>2013/10/29 23:01:06</pubDate>
                <description>
                    <![CDATA[
                    
<p>1、注册live.com帐号</p>
<p>2、outlook 2013里绑定live.com帐号</p>
<p>3、打上outlook 2013最新补丁，在选项的高级里把邮件与联系人的编码都设为utf8</p>
<p>3、日历的内容在outlook 2013里面编辑</p>
<p>4、在安卓手机的设置的帐户里添加帐户，电子邮件与帐户名是<a href="mailto:yourName@live.com">yourName@live.com</a>，服务器填bay-m.hotmail.com,将同步日历选项点上</p>
<p>5、随机可以察看日历了。</p>
<p>6、回第3步</p>
<p> </p>
<p>注意：有时日历的内容会有乱码，因此要打最新补丁。</p>
                    <div>
                        作者：imperman 发表于 2013/10/29 23:01:06 <a href="https://blog.csdn.net/imperman/article/details/13614863">原文链接</a> https://blog.csdn.net/imperman/article/details/13614863                    </div>
                    <div>
                        阅读：3527                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]关于(十六进制值 0x00)是无效的字符]]></title>
                <link>https://blog.csdn.net/imperman/article/details/8333461</link>
                <guid>https://blog.csdn.net/imperman/article/details/8333461</guid>
                <author>imperman</author>
                <pubDate>2012/12/19 20:48:06</pubDate>
                <description>
                    <![CDATA[
                    
<p>       终于把自已恶搞一把，平时图省劲用山寨客户端向服务器提交数据，数据编码一直有问题。鄙人负责服务器的WCF接口开发，于是有一天测试WCF时填了自己的用户名，接下来报错</p>
<p>(十六进制值 0x00)是无效的字符 ，报应啊。</p>
<p>      我首先是把WCF返回的对象序列化一下，存入数据库。需要时反序列化，结果有些编码不对的对象在这时出了问题。百度了一些国内的解决方法，例如替换</p>
<p>'\0'或者写函数过滤，都解决不了问题。只能求助google中的英文资料了，结果是一很简单的事，用xmlTextReader把stringReader包装一下即可。</p>
<p>     总结，各类山寨客户端是测试的神器。好多错误信息抱的是中文错误，找不到中文资料时想法找到这个错误描述的英文原文，google之。</p>
<p>两种解决方法代码如下：</p>
<p>引用自<a href="http://baleinoid.com/whaly/2011/08/xml-deserialization-invalid-character/">http://baleinoid.com/whaly/2011/08/xml-deserialization-invalid-character/</a></p>
<p>Here is an example :</p>
<table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="gutter">
<div class="line number1 index0 alt2">01</div>
<div class="line number2 index1 alt1">02</div>
<div class="line number3 index2 alt2">03</div>
<div class="line number4 index3 alt1">04</div>
<div class="line number5 index4 alt2">05</div>
<div class="line number6 index5 alt1">06</div>
<div class="line number7 index6 alt2">07</div>
<div class="line number8 index7 alt1">08</div>
<div class="line number9 index8 alt2">09</div>
<div class="line number10 index9 alt1">10</div>
<div class="line number11 index10 alt2">11</div>
<div class="line number12 index11 alt1">12</div>
<div class="line number13 index12 alt2">13</div>
<div class="line number14 index13 alt1">14</div>
<div class="line number15 index14 alt2">15</div>
<div class="line number16 index15 alt1">16</div>
<div class="line number17 index16 alt2">17</div>
<div class="line number18 index17 alt1">18</div>
<div class="line number19 index18 alt2">19</div>
<div class="line number20 index19 alt1">20</div>
<div class="line number21 index20 alt2">21</div>
<div class="line number22 index21 alt1">22</div>
<div class="line number23 index22 alt2">23</div>
<div class="line number24 index23 alt1">24</div>
<div class="line number25 index24 alt2">25</div>
<div class="line number26 index25 alt1">26</div>
<div class="line number27 index26 alt2">27</div>
<div class="line number28 index27 alt1">28</div>
<div class="line number29 index28 alt2">29</div>
<div class="line number30 index29 alt1">30</div>
<div class="line number31 index30 alt2">31</div>
<div class="line number32 index31 alt1">32</div>
<div class="line number33 index32 alt2">33</div>
<div class="line number34 index33 alt1">34</div>
<div class="line number35 index34 alt2">35</div>
<div class="line number36 index35 alt1">36</div>
<div class="line number37 index36 alt2">37</div>
<div class="line number38 index37 alt1">38</div>
<div class="line number39 index38 alt2">39</div>
<div class="line number40 index39 alt1">40</div>
<div class="line number41 index40 alt2">41</div>
<div class="line number42 index41 alt1">42</div>
<div class="line number43 index42 alt2">43</div>
<div class="line number44 index43 alt1">44</div>
<div class="line number45 index44 alt2">45</div>
<div class="line number46 index45 alt1">46</div>
<div class="line number47 index46 alt2">47</div>
<div class="line number48 index47 alt1">48</div>
<div class="line number49 index48 alt2">49</div>
<div class="line number50 index49 alt1">50</div>
<div class="line number51 index50 alt2">51</div>
<div class="line number52 index51 alt1">52</div>
<div class="line number53 index52 alt2">53</div>
</td>
<td class="code">
<div class="container">
<div class="line number1 index0 alt2"><code class="csharp keyword">public</code> <code class="csharp keyword">
class</code> <code class="csharp plain">MyObject</code></div>
<div class="line number2 index1 alt1"><code class="csharp plain">{</code></div>
<div class="line number3 index2 alt2"><code class="csharp spaces">    </code><code class="csharp keyword">public</code>
<code class="csharp keyword">string</code> <code class="csharp plain">MyString { </code>
<code class="csharp keyword">get</code><code class="csharp plain">; </code><code class="csharp keyword">set</code><code class="csharp plain">; }</code></div>
<div class="line number4 index3 alt1"><code class="csharp plain">}</code></div>
<div class="line number5 index4 alt2"> </div>
<div class="line number6 index5 alt1"><code class="csharp keyword">class</code> <code class="csharp plain">
Program</code></div>
<div class="line number7 index6 alt2"><code class="csharp plain">{</code></div>
<div class="line number8 index7 alt1"><code class="csharp spaces">    </code><code class="csharp keyword">static</code>
<code class="csharp keyword">void</code> <code class="csharp plain">Main(</code><code class="csharp keyword">string</code><code class="csharp plain">[] args)</code></div>
<div class="line number9 index8 alt2"><code class="csharp spaces">    </code><code class="csharp plain">{</code></div>
<div class="line number10 index9 alt1"><code class="csharp spaces">        </code> </div>
<div class="line number11 index10 alt2"><code class="csharp spaces">        </code><code class="csharp plain">XmlSerializerFactory fact =
</code><code class="csharp keyword">new</code> <code class="csharp plain">XmlSerializerFactory();</code></div>
<div class="line number12 index11 alt1"><code class="csharp spaces">        </code><code class="csharp plain">XmlSerializer ser = fact.CreateSerializer(</code><code class="csharp keyword">typeof</code><code class="csharp plain">(MyObject));</code></div>
<div class="line number13 index12 alt2"> </div>
<div class="line number14 index13 alt1"><code class="csharp spaces">        </code><code class="csharp plain">MyObject obj0 =
</code><code class="csharp keyword">new</code> <code class="csharp plain">MyObject();</code></div>
<div class="line number15 index14 alt2"><code class="csharp spaces">        </code><code class="csharp plain">obj0.MyString =
</code><code class="csharp string">"Hello\0World"</code><code class="csharp plain">;</code></div>
<div class="line number16 index15 alt1"> </div>
<div class="line number17 index16 alt2"><code class="csharp spaces">        </code><code class="csharp comments">// Serialize the object</code></div>
<div class="line number18 index17 alt1"><code class="csharp spaces">        </code><code class="csharp plain">StringWriter sw =
</code><code class="csharp keyword">new</code> <code class="csharp plain">StringWriter();</code></div>
<div class="line number19 index18 alt2"><code class="csharp spaces">        </code><code class="csharp plain">ser.Serialize(sw, obj0);</code></div>
<div class="line number20 index19 alt1"><code class="csharp spaces">        </code><code class="csharp keyword">string</code>
<code class="csharp plain">xml = sw.ToString();</code></div>
<div class="line number21 index20 alt2"><code class="csharp spaces">        </code><code class="csharp comments">// We can check that in the xml a \0 is transformed in &amp;#x0;</code></div>
<div class="line number22 index21 alt1"><code class="csharp spaces">        </code><code class="csharp plain">Console.WriteLine(xml);</code></div>
<div class="line number23 index22 alt2"> </div>
<div class="line number24 index23 alt1"><code class="csharp spaces">        </code><code class="csharp comments">// Classic use of XmlReader.Create</code></div>
<div class="line number25 index24 alt2"><code class="csharp spaces">        </code><code class="csharp plain">StringReader sr1 =
</code><code class="csharp keyword">new</code> <code class="csharp plain">StringReader(xml);</code></div>
<div class="line number26 index25 alt1"><code class="csharp spaces">        </code><code class="csharp plain">XmlReader xr1 = XmlTextReader.Create(sr1);
</code><code class="csharp comments">// xr1's type is XmlTextReaderImpl</code></div>
<div class="line number27 index26 alt2"><code class="csharp spaces">        </code><code class="csharp keyword">try</code></div>
<div class="line number28 index27 alt1"><code class="csharp spaces">        </code><code class="csharp plain">{</code></div>
<div class="line number29 index28 alt2"><code class="csharp spaces">            </code><code class="csharp plain">MyObject obj1 = (MyObject)ser.Deserialize(xr1);</code></div>
<div class="line number30 index29 alt1"><code class="csharp spaces">            </code><code class="csharp plain">Console.WriteLine(</code><code class="csharp string">"XmlReader [CheckCharacters({0})] : Success : {1}"</code><code class="csharp plain">, xr1.Settings.CheckCharacters,
 obj1.MyString);</code></div>
<div class="line number31 index30 alt2"><code class="csharp spaces">            </code><code class="csharp plain">Console.WriteLine(obj1.MyString);</code></div>
<div class="line number32 index31 alt1"><code class="csharp spaces">        </code><code class="csharp plain">}</code></div>
<div class="line number33 index32 alt2"><code class="csharp spaces">        </code><code class="csharp keyword">catch</code>
<code class="csharp plain">(Exception e)</code></div>
<div class="line number34 index33 alt1"><code class="csharp spaces">        </code><code class="csharp plain">{</code></div>
<div class="line number35 index34 alt2"><code class="csharp spaces">            </code><code class="csharp plain">Console.WriteLine(</code><code class="csharp string">"XmlReader [CheckCharacters({0})] : Error : {1}"</code><code class="csharp plain">, xr1.Settings.CheckCharacters,
 e.InnerException);</code></div>
<div class="line number36 index35 alt1"><code class="csharp spaces">        </code><code class="csharp plain">}</code></div>
<div class="line number37 index36 alt2"> </div>
<div class="line number38 index37 alt1"><code class="csharp spaces">        </code><code class="csharp comments">// Using an XmlTextReader</code></div>
<div class="line number39 index38 alt2"><code class="csharp spaces">        </code><code class="csharp plain">StringReader sr2 =
</code><code class="csharp keyword">new</code> <code class="csharp plain">StringReader(xml);</code></div>
<div class="line number40 index39 alt1"><code class="csharp spaces">        </code><code class="csharp plain">XmlTextReader xr2 =
</code><code class="csharp keyword">new</code> <code class="csharp plain">XmlTextReader(sr2);</code></div>
<div class="line number41 index40 alt2"><code class="csharp spaces">        </code><code class="csharp comments">// xr2.Settings is null</code></div>
<div class="line number42 index41 alt1"><code class="csharp spaces">        </code><code class="csharp plain">MyObject obj2 = (MyObject)ser.Deserialize(xr2);</code></div>
<div class="line number43 index42 alt2"><code class="csharp spaces">        </code><code class="csharp plain">Console.WriteLine(</code><code class="csharp string">"XmlTextReader : Success : {0}"</code><code class="csharp plain">, obj2.MyString);</code></div>
<div class="line number44 index43 alt1"> </div>
<div class="line number45 index44 alt2"><code class="csharp spaces">        </code><code class="csharp comments">// Using XmlReader with the good XmlReaderSettings</code></div>
<div class="line number46 index45 alt1"><code class="csharp spaces">        </code><code class="csharp plain">StringReader sr3 =
</code><code class="csharp keyword">new</code> <code class="csharp plain">StringReader(xml);</code></div>
<div class="line number47 index46 alt2"><code class="csharp spaces">        </code><code class="csharp plain">XmlReaderSettings settings =
</code><code class="csharp keyword">new</code> <code class="csharp plain">XmlReaderSettings();</code></div>
<div class="line number48 index47 alt1"><code class="csharp spaces">        </code><code class="csharp plain">settings.CheckCharacters =
</code><code class="csharp keyword">false</code><code class="csharp plain">; </code>
<code class="csharp comments">// default value is true;</code></div>
<div class="line number49 index48 alt2"><code class="csharp spaces">        </code><code class="csharp plain">XmlReader xr3 = XmlTextReader.Create(sr3, settings);
</code><code class="csharp comments">// xr3.Settings.CheckCharacters is a read only and xr3's type is XmlTextReaderImpl</code></div>
<div class="line number50 index49 alt1"><code class="csharp spaces">        </code><code class="csharp plain">MyObject obj3 = (MyObject)ser.Deserialize(xr3);</code></div>
<div class="line number51 index50 alt2"><code class="csharp spaces">        </code><code class="csharp plain">Console.WriteLine(</code><code class="csharp string">"XmlReader [CheckCharacters({0})] : Success : {1}"</code><code class="csharp plain">, xr3.Settings.CheckCharacters,
 obj3.MyString);</code></div>
<div class="line number52 index51 alt1"><code class="csharp spaces">    </code><code class="csharp plain">}</code></div>
<div class="line number53 index52 alt2"><code class="csharp plain">}</code></div>
</div>
</td>
</tr></tbody></table>                    <div>
                        作者：imperman 发表于 2012/12/19 20:48:06 <a href="https://blog.csdn.net/imperman/article/details/8333461">原文链接</a> https://blog.csdn.net/imperman/article/details/8333461                    </div>
                    <div>
                        阅读：8959                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]关于Entity Framework 4中保存时抛出&quot;其它线程在运行，无法新建事务&quot;的问题]]></title>
                <link>https://blog.csdn.net/imperman/article/details/8307844</link>
                <guid>https://blog.csdn.net/imperman/article/details/8307844</guid>
                <author>imperman</author>
                <pubDate>2012/12/17 16:10:14</pubDate>
                <description>
                    <![CDATA[
                    
<p>抛出的异常信息为"New transaction is not allowed because there are other threads running in the session "</p>
<p>可能出现在的情况：</p>
<p>1、在循环中中没有将对象完全读入内存，每次只读取一行，在循环体内执行context.SaveChanges()时抛出异常</p>
<p>       解决方法：将objectQuery或objectResut转换为List则可，或者在所在修改操作完成后，在循环体后面执行保存。</p>
<p>2、将ObjectQuery直接绑定到数据库控件后，在修改对象后，执行SaveChanges()抛出异常</p>
<p>解决方法： ObjectResult &lt;Feature&gt; result= _FeatureQuery.Execute(MergeOption.OverwriteChanges);<br />
                     bindingChrSource.DataSource = result.ToList();</p>
                    <div>
                        作者：imperman 发表于 2012/12/17 16:10:14 <a href="https://blog.csdn.net/imperman/article/details/8307844">原文链接</a> https://blog.csdn.net/imperman/article/details/8307844                    </div>
                    <div>
                        阅读：1085                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[转]DevExpress 第三方控件汉化的全部代码 和使用方法]]></title>
                <link>https://blog.csdn.net/imperman/article/details/8090253</link>
                <guid>https://blog.csdn.net/imperman/article/details/8090253</guid>
                <author>imperman</author>
                <pubDate>2012/10/19 15:54:08</pubDate>
                <description>
                    <![CDATA[
                    
DevExpress.XtraEditors.Controls&nbsp;&nbsp;此控件包中包含的控件最多，包括文本框，下拉列表，按钮，等等&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;DevExpress.XtraGrid&nbsp;网&#26684;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;DevExpress.XtraBars&nbsp;菜单栏&nbsp;和&nbsp;工具栏&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;DevExpress.XtraNavBar&nbsp;导航条&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;DevExpress.XtraPrinting&nbsp;报表打印相关&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;DevExpress.XtraReports&nbsp;报表&nbsp;&nbsp; <br>
&nbsp;&nbsp;DevExpress.XtraTreeList&nbsp;树&nbsp;&nbsp; <br>
&nbsp;&nbsp;DevExpress.XtraVerticalGrid&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
<br>
使用方法:&nbsp;&nbsp;&nbsp;&nbsp; <br>
<br>
&nbsp;&nbsp;&nbsp;1。先将该类生成的Dll导入工程中&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;2。在你的From_Load()方法中实例化该类即可&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;具体代码如下：&nbsp;&nbsp;&nbsp;&nbsp; <br>
<br>
private&nbsp;void&nbsp;Form1_Load(object&nbsp;sender,&nbsp;System.EventArgs&nbsp;e)&nbsp;&nbsp;&nbsp;&nbsp; <br>
{&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;ChineseLanguage.Chinese();&nbsp;&nbsp;&nbsp; <br>
}&nbsp;<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;System;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraEditors.Controls;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraGrid.Localization;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraBars.Customization;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraBars.Localization;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraNavBar;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraPrinting.Localization;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraReports.Localization;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraTreeList.Localization;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">using</span><span style="color:#000000">&nbsp;DevExpress.XtraVerticalGrid.Localization;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif" align="top"></span><span style="color:#0000ff">namespace</span><span style="color:#000000">&nbsp;ChineseLanguage<br>
<img id="_416_35297_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockStart.gif" align="top"></span><span id="_416_35297_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;Chinese<br>
<img id="_441_944_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_441_944_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span><span style="color:#000000">&nbsp;Chinese()<br>
<img id="_464_941_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_464_941_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Localizer.Active&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraEditors_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GridLocalizer.Active&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraGrid_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BarLocalizer.Active&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraBar_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BarLocalizer.Active.Customization&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraBarsCustomizationLocalization_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NavBarLocalizer.Active&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraNavBar_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PreviewLocalizer.Active&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraPrinting_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ReportLocalizer.Active&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraReports_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TreeListLocalizer.Active&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraTreeList_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VGridLocalizer.Active&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;XtraVerticalGrid_CN();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraEditors_CN&nbsp;:Localizer<br>
<img id="_989_5437_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_989_5437_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span><span style="color:#000000">&nbsp;XtraEditors_CN()<br>
<img id="_1019_1059_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_1019_1059_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#008000">//</span><span style="color:#008000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#008000">//</span><span style="color:#008000">&nbsp;TODO:&nbsp;在此处添加构造函数逻辑<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#008000">//<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"></span><span style="color:#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;Language<br>
<img id="_1097_1137_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_1097_1137_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">get</span><span style="color:#000000"><br>
<img id="_1109_1133_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_1109_1133_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">简体中文</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;GetLocalizedString(StringId&nbsp;id)&nbsp;&nbsp;&nbsp;<br>
<img id="_1202_5433_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_1202_5433_Open_Text"><span style="color:#000000">{&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">switch</span><span style="color:#000000">(id)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img id="_1229_5390_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_1229_5390_Open_Text"><span style="color:#000000">{&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TextEditMenuCopy:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">复制(&amp;C)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TextEditMenuCut:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">剪切(&amp;T)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TextEditMenuDelete:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">删除(&amp;D)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TextEditMenuPaste:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">粘贴(&amp;P)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TextEditMenuSelectAll:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">全选(&amp;A)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TextEditMenuUndo:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">撤消(&amp;U)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.UnknownPictureFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">未知图片&#26684;式</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.DateEditToday:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">今天</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.DateEditClear:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">清空</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.DataEmpty:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无图像</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.ColorTabWeb:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">网页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.ColorTabSystem:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">系统</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.ColorTabCustom:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CheckUnchecked:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">未选择</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CheckIndeterminate:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">不确定</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CheckChecked:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">已选择</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CaptionError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">标题错误</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.Cancel:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">取消</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">计算错误</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcButtonBack:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcButtonC:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcButtonCE:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcButtonMC:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcButtonMR:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcButtonMS:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcButtonMx:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.CalcButtonSqrt:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.OK:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">确定</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditMenuCopy:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">复制(&amp;C)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditMenuCut:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">剪切(&amp;T)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditMenuDelete:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">删除(&amp;D)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditMenuLoad:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">加载(&amp;L)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditMenuPaste:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">粘贴(&amp;P)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditMenuSave:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">保存(&amp;S)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditOpenFileError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">错误图片&#26684;式</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditOpenFileErrorCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打开错误</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditOpenFileFilter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">位
 图文件(*.bmp)|*.bmp|GIF动画 (*.gif)|*.gif|JPEG(*.jpg;*.jpeg)|*.jpg;*.jpeg|ICO(*.ico)|*.ico|所有图片文 件|*.bmp;*.gif;*.jpeg;*.jpg;*.ico|所有文件(*.*)|*.*</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditOpenFileTitle:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打开</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditSaveFileFilter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">位图文件(*.bmp)|*.bmp|GIF动画(*.gif)|*.gif|JPEG(*.jpg)|*.jpg</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.PictureEditSaveFileTitle:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">保存为</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TabHeaderButtonClose:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">关闭</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TabHeaderButtonNext:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">下一页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.TabHeaderButtonPrev:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">上一页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.XtraMessageBoxAbortButtonText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">中断(&amp;A)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.XtraMessageBoxCancelButtonText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">取消(&amp;C)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.XtraMessageBoxIgnoreButtonText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">忽略(&amp;I)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.XtraMessageBoxNoButtonText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">否(&amp;N)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.XtraMessageBoxOkButtonText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">确定(&amp;O)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.XtraMessageBoxRetryButtonText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">重试(&amp;R)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.XtraMessageBoxYesButtonText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">是(&amp;Y)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.ImagePopupEmpty:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">(空)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.ImagePopupPicture:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">(图片)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.InvalidValueText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无效的&#20540;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.LookUpEditValueIsNull:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">[无数据]</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.LookUpInvalidEditValueType:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无效的数据类型</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.MaskBoxValidateError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">输入数&#20540;不完整.&nbsp;是否须要修改?
 是&nbsp;-&nbsp;回到编辑模式以修改数&#20540;. 否&nbsp;-&nbsp;保持原来数&#20540;. 取消&nbsp;-&nbsp;回复原来数&#20540;. </span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorAppendButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">添加</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorCancelEditButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">取消编辑</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorEditButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">编辑</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorEndEditButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">结束编辑</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorFirstButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">第一条</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorLastButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最后一条</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorNextButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">下一条</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorNextPageButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">下一页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorPreviousButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">上一条</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorPreviousPageButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">上一页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorRemoveButtonHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">删除</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NavigatorTextStringFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">记录{0}/{1}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.None:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;StringId.NotValidArrayLength:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无效的数组长度.</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraGrid_CN&nbsp;:GridLocalizer&nbsp;<br>
<img id="_5486_9679_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_5486_9679_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;Language<br>
<img id="_5524_5564_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_5524_5564_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">get</span><span style="color:#000000"><br>
<img id="_5536_5560_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_5536_5560_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">简体中文</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;GetLocalizedString(GridStringId&nbsp;id)<br>
<img id="_5632_9676_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_5632_9676_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">switch</span><span style="color:#000000">(id)<br>
<img id="_5651_9633_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_5651_9633_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CardViewNewCard:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">新卡片</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CardViewQuickCustomizationButton:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义&#26684;式</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CardViewQuickCustomizationButtonFilter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">筛选</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CardViewQuickCustomizationButtonSort:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">排序</span><span style="color:#000000">&quot;</span><span style="color:#000000">;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.ColumnViewExceptionMessage:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">是否确定修改?</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialog2FieldCheck:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">字段</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogCancelButton:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">取消</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">条件为:</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionBlanks:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">空&#20540;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionEQU:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">等于=</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionGT:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">大于&gt;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionGTE:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">大于或等于&gt;=</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionLike:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">包含</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionLT:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">小于&lt;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionLTE:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">小于或等于&gt;=</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionNEQ:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">不等于&lt;&gt;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionNonBlanks:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">非空&#20540;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogConditionNotLike:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">不包含</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogFormCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">清除筛选条件(&amp;L)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogOkButton:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">确定(&amp;O)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogRadioAnd:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">和(&amp;A)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomFilterDialogRadioOr:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">或者(&amp;O)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomizationBands:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">分区</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomizationCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义显示字段</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.CustomizationColumns:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">列</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.FileIsNotFoundError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">文件{0}没找到!</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.GridGroupPanelText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">拖曳一列页眉在此进行排序</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.GridNewRowText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">单击这里新增一行</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.GridOutlookIntervals:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">一个月以上;上个月;三周前;两周前;上周;;;;;;;;昨天;今天;明天;&nbsp;;;;;;;;下周;两周后;三周后;下个月;一个月之后;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnBestFit:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自动调整字段宽度</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnBestFitAllColumns:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自动调整所有字段宽度</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnClearFilter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">清除筛选条件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnColumnCustomization:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">显示/隐藏字段</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnFilter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">筛选</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnGroup:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">按此列分组</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnGroupBox:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">分组区</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnSortAscending:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">升序排序</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnSortDescending:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">降序排序</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuColumnUnGroup:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">取消分组</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterAverage:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">平均</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterAverageFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">平均={0:#.##}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterCount:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">计数</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterCountFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">{0}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterMax:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最大&#20540;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterMaxFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最大&#20540;={0}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterMin:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最小</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterMinFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最小&#20540;={0}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterNone:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">没有</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterSum:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">合计</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuFooterSumFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">求和={0:#.##}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuGroupPanelClearGrouping:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">取消所有分组</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuGroupPanelFullCollapse:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">收缩全部分组</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.MenuGroupPanelFullExpand:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">展开全部分组</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PopupFilterAll:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">(所有)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PopupFilterBlanks:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">(空&#20540;)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PopupFilterCustom:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">(自定义)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PopupFilterNonBlanks:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">(非空&#20540;)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PrintDesignerBandedView:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打印设置(区域模式)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PrintDesignerBandHeader:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">区标题</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PrintDesignerCardView:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打印设置(卡片模式)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PrintDesignerDescription:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">为当前视图设置不同的打印选项.</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.PrintDesignerGridView:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打印设置(表&#26684;模式)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;GridStringId.WindowErrorCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">错误</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraBar_CN&nbsp;:BarLocalizer<br>
<img id="_9724_10900_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_9724_10900_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;Language<br>
<img id="_9762_9802_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_9762_9802_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">get</span><span style="color:#000000"><br>
<img id="_9774_9798_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_9774_9798_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">简体中文</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;GetLocalizedString(BarString&nbsp;id)<br>
<img id="_9865_10897_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_9865_10897_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">switch</span><span style="color:#000000">(id)<br>
<img id="_9884_10854_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_9884_10854_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.AddOrRemove:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">新增或删除按钮(&amp;A)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.CustomizeButton:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义(&amp;C)...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.CustomizeWindowCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.MenuAnimationFade:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">减弱</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.MenuAnimationNone:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">空</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.MenuAnimationRandom:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">任意</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.MenuAnimationSlide:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">滑动</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.MenuAnimationSystem:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">(系统默认&#20540;)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.MenuAnimationUnfold:</span><span style="color:#0000ff">return</span><span style="color:#000000">&nbsp;&nbsp;</span><span style="color:#000000">&quot;</span><span style="color:#000000">展开</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.NewToolbarCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">新建工具栏</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.None:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.RenameToolbarCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">重新命名</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.ResetBar:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">是否确实要重置对&nbsp;'{0}'&nbsp;工具栏所作的修改？</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.ResetBarCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.ResetButton:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">重设工具栏(&amp;R)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.ToolBarMenu:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">重设(&amp;R)$删除(&amp;D)$!命名(&amp;N)$!标准(&amp;L)$总使用文字(&amp;T)$在菜单中只用文字(&amp;O)$图像与文本(&amp;A)$!开始一组(&amp;G)$常用的(&amp;M)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;BarString.ToolbarNameCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">工具栏名称(&amp;T):</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraBarsCustomizationLocalization_CN&nbsp;:&nbsp;CustomizationControl<br>
<img id="_10979_15504_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_10979_15504_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">private</span><span style="color:#000000">&nbsp;System.ComponentModel.Container&nbsp;components&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">null</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span><span style="color:#000000">&nbsp;XtraBarsCustomizationLocalization_CN()<br>
<img id="_11093_11248_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_11093_11248_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#008000">//</span><span style="color:#008000">&nbsp;This&nbsp;call&nbsp;is&nbsp;required&nbsp;by&nbsp;the&nbsp;Windows.Forms&nbsp;Form&nbsp;Designer.</span><span style="color:#008000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"></span><span style="color:#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InitializeComponent();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#008000">//</span><span style="color:#008000">&nbsp;TODO:&nbsp;Add&nbsp;any&nbsp;initialization&nbsp;after&nbsp;the&nbsp;InitForm&nbsp;call</span><span style="color:#008000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">protected</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">void</span><span style="color:#000000">&nbsp;Dispose(</span><span style="color:#0000ff">bool</span><span style="color:#000000">&nbsp;disposing)<br>
<img id="_11303_11430_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_11303_11430_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">if</span><span style="color:#000000">&nbsp;(disposing)<br>
<img id="_11326_11398_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_11326_11398_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">if</span><span style="color:#000000">&nbsp;(components&nbsp;</span><span style="color:#000000">!=</span>&nbsp;<span style="color:#0000ff">null</span><span style="color:#000000">)<br>
<img id="_11360_11393_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_11360_11393_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;components.Dispose();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">base</span><span style="color:#000000">.Dispose(disposing);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img id="_11435_15501_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" style="display:inline">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_11435_15501_Open_Text" style="display:inline"><span style="color:#0000ff">#region</span><span style="color:#000000">&nbsp;Component&nbsp;Designer&nbsp;generated&nbsp;code</span><span style="color:#000000"><br>
<img id="_11479_11626_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_11479_11626_Open_Text"><span style="color:#808080">///</span>&nbsp;<span style="color:#808080">&lt;summary&gt;</span><span style="color:#008000">&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#808080">///</span><span style="color:#008000">&nbsp;Required&nbsp;method&nbsp;for&nbsp;Designer&nbsp;support&nbsp;-&nbsp;do&nbsp;not&nbsp;modify&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#808080">///</span><span style="color:#008000">&nbsp;the&nbsp;contents&nbsp;of&nbsp;this&nbsp;method&nbsp;with&nbsp;the&nbsp;code&nbsp;editor.<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#808080">///</span>&nbsp;<span style="color:#808080">&lt;/summary&gt;</span></span><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><span style="color:#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">private</span>&nbsp;<span style="color:#0000ff">void</span><span style="color:#000000">&nbsp;InitializeComponent()<br>
<img id="_11666_15488_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_11666_15488_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpOptions.SuspendLayout();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpCommands.SuspendLayout();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpToolbars.SuspendLayout();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.toolBarsList)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbCommands)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbCategories)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptionsShowFullMenus.Properties)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_showFullMenusAfterDelay.Properties)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_showTips.Properties)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_ShowShortcutInTips.Properties)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.tabControl)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tabControl.SuspendLayout();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.tbNBDlgName.Properties)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.pnlNBDlg.SuspendLayout();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_largeIcons.Properties)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_MenuAnimation.Properties)).BeginInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.SuspendLayout();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.btClose.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">关闭</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.btResetBar.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">重新设置(&amp;R)...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.btRenameBar.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">重命名(&amp;E)...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.btNewBar.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">新建(&amp;N)...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.btDeleteBar.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">删除(&amp;D)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.btOptions_Reset.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">重置惯用数据(&amp;R)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.btNBDlgCancel.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">取消</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.btNBDlgOk.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">确定</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpOptions.Size&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">new</span><span style="color:#000000">&nbsp;System.Drawing.Size(</span><span style="color:#000000">354</span><span style="color:#000000">,&nbsp;</span><span style="color:#000000">246</span><span style="color:#000000">);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpOptions.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">选项(&amp;O)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpCommands.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">命令(&amp;C)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpToolbars.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">工具栏(&amp;B)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptionsShowFullMenus.Properties.Caption&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">始终显示整个菜单(&amp;N)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_showFullMenusAfterDelay.Properties.Caption&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">鼠标指针短暂停留后显示完整菜单(&amp;U)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_largeIcons.Properties.Caption&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">大图标(&amp;L)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_showTips.Properties.Caption&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">显示关于工具栏屏幕提示(&amp;T)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_ShowShortcutInTips.Properties.Caption&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">在屏幕提示中显示快捷键(&amp;H)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbDescCaption.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">详细说明</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbOptions_Other.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">其它</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbOptions_PCaption.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">个性化菜单和工具栏</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbCategoriesCaption.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">类别:</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbCommandsCaption.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">命令:</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbToolbarCaption.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">工具栏:</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbOptions_MenuAnimation.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">菜单动画设置(&amp;M):</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbNBDlgCaption.Text&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">工具栏名称(&amp;T)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbCommands.Appearance.BackColor&nbsp;</span><span style="color:#000000">=</span><span style="color:#000000">&nbsp;System.Drawing.SystemColors.Window;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbCommands.Appearance.Options.UseBackColor&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#0000ff">true</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.Name&nbsp;</span><span style="color:#000000">=</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">XtraBarsCustomizationLocalization_CN</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpOptions.ResumeLayout(</span><span style="color:#0000ff">false</span><span style="color:#000000">);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpCommands.ResumeLayout(</span><span style="color:#0000ff">false</span><span style="color:#000000">);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tpToolbars.ResumeLayout(</span><span style="color:#0000ff">false</span><span style="color:#000000">);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.toolBarsList)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbCommands)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.lbCategories)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptionsShowFullMenus.Properties)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_showFullMenusAfterDelay.Properties)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_showTips.Properties)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_ShowShortcutInTips.Properties)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.tabControl)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.tabControl.ResumeLayout(</span><span style="color:#0000ff">false</span><span style="color:#000000">);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.tbNBDlgName.Properties)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.pnlNBDlg.ResumeLayout(</span><span style="color:#0000ff">false</span><span style="color:#000000">);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_largeIcons.Properties)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((System.ComponentModel.ISupportInitialize)(</span><span style="color:#0000ff">this</span><span style="color:#000000">.cbOptions_MenuAnimation.Properties)).EndInit();<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">this</span><span style="color:#000000">.ResumeLayout(</span><span style="color:#0000ff">false</span><span style="color:#000000">);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">#endregion</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraNavBar_CN&nbsp;:NavBarLocalizer<br>
<img id="_15554_16051_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_15554_16051_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;Language<br>
<img id="_15592_15632_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_15592_15632_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">get</span><span style="color:#000000"><br>
<img id="_15604_15628_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_15604_15628_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">简体中文</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;GetLocalizedString(NavBarStringId&nbsp;id)<br>
<img id="_15702_16048_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_15702_16048_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">switch</span><span style="color:#000000">(id)<br>
<img id="_15721_16005_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_15721_16005_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;NavBarStringId.NavPaneChevronHint:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">配置按钮</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;NavBarStringId.NavPaneMenuAddRemoveButtons:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">添加或删除按钮(&amp;A)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;NavBarStringId.NavPaneMenuShowFewerButtons:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">显示较少的按钮(&amp;F)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;NavBarStringId.NavPaneMenuShowMoreButtons:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">显示更多的按钮(&amp;M)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraPrinting_CN&nbsp;:PreviewLocalizer<br>
<img id="_16104_23769_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_16104_23769_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;Language<br>
<img id="_16142_16182_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_16142_16182_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">get</span><span style="color:#000000"><br>
<img id="_16154_16178_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_16154_16178_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">简体中文</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;GetLocalizedString(PreviewStringId&nbsp;id)<br>
<img id="_16251_23766_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_16251_23766_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">switch</span><span style="color:#000000">(id)<br>
<img id="_16270_23723_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_16270_23723_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Button_Apply:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">应用</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Button_Cancel:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">取消</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Button_Help:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">帮助</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Button_Ok:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">确定</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.EMail_From:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">From</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Margin_BottomMargin:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">下边界</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Margin_Inch:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">英寸</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Margin_LeftMargin:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">左边界</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Margin_Millimeter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">毫米</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Margin_RightMargin:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">右边界</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Margin_TopMargin:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">上边界</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_BackgrColor:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">颜色(&amp;C)...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_Background:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">背景(&amp;B)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_CsvDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">CSV文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_Exit:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">退出(&amp;X)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_Export:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">导出(&amp;E)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_File:&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">文件(&amp;F)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_GraphicDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">图片文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_HtmDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">HTML文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_MhtDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">MHT文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_PageSetup:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页面设置(&amp;U)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_PdfDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">PDF文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_Print:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打印(&amp;P)...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_PrintDirect:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">直接打印(&amp;R)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_RtfDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">RTF文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_Send:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">发送(&amp;D)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_TxtDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">TXT文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_View:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">视图(&amp;V)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_ViewStatusbar:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">状态栏(&amp;S)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_ViewToolbar:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">工具栏(&amp;T)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_Watermark:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">水印(&amp;W)...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MenuItem_XlsDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">XLS文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.MPForm_Lbl_Pages:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_CreatingDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">正在生成文件...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_CustomDrawWarning:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">警告!</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_EmptyDocument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">此文件没有页面.</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_FontInvalidNumber:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">字体大小不能为0或负数</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_IncorrectPageRange:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">设置的页边界不正确</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_NeedPrinter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">没有安装打印机.</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_NotSupportedFont:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">这种字体不被支持</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_PageMarginsWarning:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">一个或以上的边界超出了打印范围.是否继续？</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_WrongPageSettings:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打印机不支持所选的纸张大小.
 是否继续打印？</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.Msg_WrongPrinter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无效的打印机名称.请检查打印机的设置是否正确.</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.PageInfo_PageDate:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">[Date&nbsp;Printed]</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.PageInfo_PageNumber:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">[Page&nbsp;#]</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.PageInfo_PageNumberOfTotal:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">[Page&nbsp;#&nbsp;of&nbsp;Pages&nbsp;#]</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.PageInfo_PageTime:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">[Time&nbsp;Printed]</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.PageInfo_PageUserName:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">[User&nbsp;Name]</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.PreviewForm_Caption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">预览</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterBmp:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">BMP&nbsp;Bitmap&nbsp;Format</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterCsv:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">CSV文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterGif:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">GIF&nbsp;Graphics&nbsp;Interchange&nbsp;Format</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterHtm:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">HTML文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterJpeg:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">JPEG&nbsp;File&nbsp;Interchange&nbsp;Format</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterMht:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">MHT文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterPdf:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">PDF文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterPng:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">PNG&nbsp;Portable&nbsp;Network&nbsp;Graphics&nbsp;Format</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterRtf:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">RTF文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterTiff:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">TIFF&nbsp;Tag&nbsp;Image&nbsp;File&nbsp;Format</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterTxt:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">TXT文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterWmf:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">WMF&nbsp;Windows&nbsp;Metafile</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_FilterXls:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">Excel文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SaveDlg_Title:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">另存为</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SB_CurrentPageNo:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">目前页码:</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SB_PageInfo:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">{0}/{1}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SB_PageNone:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SB_TotalPageNo:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">总页码:</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.SB_ZoomFactor:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">缩放系数:</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.ScrollingInfo_Page:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Backgr:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">背景色</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Close:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">退出</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Customize:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_EditPageHF:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页眉页脚</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Export:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">导出文件...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_FirstPage:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">首页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_HandTool:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">手掌工具</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_LastPage:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">尾页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Magnifier:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">放大/缩小</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Map:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">文档视图</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_MultiplePages:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">多页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_NextPage:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">下一页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_PageSetup:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页面设置</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_PreviousPage:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">上一页</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Print:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打印</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_PrintDirect:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">直接打印</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Search:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">搜索</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Send:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">发送E-Mail...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Watermark:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">水印</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_Zoom:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">缩放</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_ZoomIn:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">放大</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.TB_TTip_ZoomOut:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">缩小</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Direction_BackwardDiagonal:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">反向倾斜</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Direction_ForwardDiagonal:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">正向倾斜</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Direction_Horizontal:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">横向</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Direction_Vertical:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">纵向</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_HorzAlign_Center:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">置中</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_HorzAlign_Left:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">靠左</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_HorzAlign_Right:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">靠右</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_ImageClip:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">剪辑</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_ImageStretch:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">伸展</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_ImageZoom:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">缩放</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_PageRangeRgrItem_All:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">全部</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_PageRangeRgrItem_Pages:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页码</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_PictureDlg_Title:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">选择图片</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_VertAlign_Bottom:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">底端</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_VertAlign_Middle:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">中间</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_VertAlign_Top:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">顶端</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Asap:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">ASAP</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Confidential:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">CONFIDENTIAL</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Copy:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">COPY</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_DoNotCopy:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">DO&nbsp;NOT&nbsp;COPY</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Draft:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">DRAFT</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Evaluation:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">EVALUATION</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Original:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">ORIGINAL</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Personal:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">PERSONAL</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Sample:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">SAMPLE</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_TopSecret:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">TOP&nbsp;SECRET</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_Watermark_Urgent:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">URGENT</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_ZOrderRgrItem_Behind:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">在后面</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;PreviewStringId.WMForm_ZOrderRgrItem_InFront:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">在前面</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraReports_CN&nbsp;:ReportLocalizer<br>
<img id="_23820_32637_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_23820_32637_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;Language<br>
<img id="_23858_23898_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_23858_23898_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">get</span><span style="color:#000000"><br>
<img id="_23870_23894_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_23870_23894_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">简体中文</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;GetLocalizedString(ReportStringId&nbsp;id)<br>
<img id="_23966_32634_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_23966_32634_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">switch</span><span style="color:#000000">(id)<br>
<img id="_23985_32591_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_23985_32591_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.BandDsg_QuantityPerPage:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">一个页面集合</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.BandDsg_QuantityPerReport:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">一个报表集合</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.BCForm_Lbl_Binding:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">结合</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.BCForm_Lbl_Property:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">属性</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.CatAppearance:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">版面</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.CatBehavior:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">状态</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.CatData:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">数据</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.CatLayout:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">布局</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.CatNavigation:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">导航</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.CatPageSettings:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页面设置</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_AlignToGrid:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对齐网&#26684;线</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_BottomMargin:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">底端边缘</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_BringToFront:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">移到最上层</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_Copy:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">复制</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_Cut:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">剪贴</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_Delete:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">删除</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_Detail:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">详细</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_DetailReport:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">详细报表</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_GroupFooter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">群组尾</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_GroupHeader:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">群组首</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_InsertBand:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">插入区段</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_InsertDetailReport:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">插入详细报表</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_InsertUnboundDetailReport:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">非绑定</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_PageFooter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页尾</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_PageHeader:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">页首</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_Paste:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">粘贴</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_Properties:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">属性</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_ReportFooter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">报表尾</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_ReportHeader:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">报表首</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_RtfClear:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">清除</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_RtfLoad:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">加载文件...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_SendToBack:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">移到最下层</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableDelete:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">删除(&amp;L)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableDeleteCell:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">单元&#26684;(&amp;L)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableDeleteColumn:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">列(&amp;C)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableDeleteRow:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">行(&amp;R)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableInsert:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">插入(&amp;I)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableInsertCell:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">单元&#26684;(&amp;C)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableInsertColumnToLeft:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">左列(&amp;L)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableInsertColumnToRight:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">右列(&amp;R)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableInsertRowAbove:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">上行(&amp;A)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TableInsertRowBelow:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">下行(&amp;B)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_TopMargin:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">顶端边缘</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Cmd_ViewCode:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">检视代码</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FindForm_Msg_FinishedSearching:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">搜索文件完成</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FindForm_Msg_TotalFound:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">合计查找:</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_Btn_Delete:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">删除</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_GrBox_Sample:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">范例</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_Lbl_Category:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">类别</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_Lbl_CustomGeneral:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">一般&#26684;式不包含特殊数字&#26684;式</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_Lbl_Prefix:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">上标</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_Lbl_Suffix:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">下标</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_Msg_BadSymbol:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">损坏的符号</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_Tab_Custom:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.FSForm_Tab_StandardTypes:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">标准类型</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_CantFitBarcodeToControlBounds:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">条形码控件的边界太小</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_CreateReportInstance:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">您试图打开一个不同类型的报表来编辑。是否确定建立实例？</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_CreateSomeInstance:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">在窗体中不能建立两个实例类。</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_CyclicBoormarks:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">报表循环书签</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_DontSupportMulticolumn:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">详细报表不支持多字段。</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_FileCorrupted:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">不能加载报表，文件可能被破坏或者报表组件丢失。</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_FileNotFound:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">文件没有找到</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_FillDataError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">数据加载时发生错误。错误为：</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_IncorrectArgument:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">参数&#20540;输入不正确</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_IncorrectBandType:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无效的带型</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_InvalidBarcodeText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">在文本中有无效的字符</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_InvalidBarcodeTextFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无效的文本&#26684;式</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_InvalidMethodCall:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对象的当前状态下不能调用此方法</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_InvalidReportSource:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无法设置原报表</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_InvPropName:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无效的属性名</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_ScriptError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">在脚本中发现错误：
 {0}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_ScriptExecutionError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">在脚本执行过程中发现错误&nbsp;{0}:
 &nbsp;{1} 过程&nbsp;{0}&nbsp;被运行，将不能再被调用。</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.Msg_WrongReportClassName:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">一个错误发生在并行化期间&nbsp;-&nbsp;可能是报表类名错误</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.MultiColumnDesignMsg1:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">重复列之间的空位</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.MultiColumnDesignMsg2:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">控件位置不正确，将会导致打印错误</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.PanelDesignMsg:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">在此可放置不同控件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.RepTabCtl_Designer:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">设计</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.RepTabCtl_HtmlView:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">HTML视图</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.RepTabCtl_Preview:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">预览</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Btn_Close:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">关闭</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Caption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">式样单编辑</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Msg_FileFilter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">Report&nbsp;StyleSheet&nbsp;files&nbsp;(*.repss)|*.repss|All&nbsp;files&nbsp;(*.*)|*.*</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Msg_InvalidFileFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无效的文件&#26684;式</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Msg_MoreThanOneStyle:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">你选择了多过一个以上的式样</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Msg_NoStyleSelected:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">没有式样被选中</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Msg_SelectedStylesText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">被选中的式样...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Msg_StyleNamePreviewPostfix:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">式样</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_Msg_StyleSheetError:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">StyleSheet错误</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_TTip_AddStyle:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">添加式样</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_TTip_ClearStyles:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">清除式样</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_TTip_LoadStyles:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">从文件中读入式样</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_TTip_PurgeStyles:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">清除式样</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_TTip_RemoveStyle:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">移除式样</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.SSForm_TTip_SaveStyles:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">保存式样到文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_FormCaption:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">XtraReport设计</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_Msg_ReportChanged:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">报表内容已被修改，是否须要储存？</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_ReportDesigner:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">XtraReport设计</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_AlignBottom:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对齐主控项的下缘</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_AlignHorizontalCenters:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对齐主控项的垂直中间</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_AlignLeft:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对齐主控项的左缘</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_AlignRight:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对齐主控项的右缘</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_AlignToGrid:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对齐网&#26684;线</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_AlignTop:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对齐主控项的上缘</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_AlignVerticalCenters:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">对齐主控项的水平中央</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_BringToFront:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">移到最上层</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_CenterHorizontally:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">水平置中</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_CenterVertically:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">垂直置中</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_EditCopy:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">复制</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_EditCut:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">剪贴</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_EditPaste:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">粘贴</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FileOpen:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打开文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FileSave:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">保存文件</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatAlignLeft:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">左对齐</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatAlignRight:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">右对齐</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatBackColor:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">背景颜色</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatBold:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">粗体</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatCenter:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">居中</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatFontName:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">字体</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatFontSize:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">大小</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatForeColor:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">前景颜色</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatItalic:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">斜体</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatJustify:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">两端对齐</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_FormatUnderline:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">下划线</span><span style="color:#000000">&quot;</span><span style="color:#000000">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_HorizSpaceConcatenate:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">移除水平间距</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_HorizSpaceDecrease:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">减少水平间距</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_HorizSpaceIncrease:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">增加水平间距</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_HorizSpaceMakeEqual:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">将垂直间距设为相等</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_Redo:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">恢复</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_SendToBack:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">移到最下层</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_SizeToControl:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">设置成相同大小</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_SizeToControlHeight:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">设置成相同高度</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_SizeToControlWidth:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">设置成相同宽度</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_SizeToGrid:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">依网&#26684;线调整大小</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_Undo:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">撤消</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_VertSpaceConcatenate:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">移除垂直间距</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_VertSpaceDecrease:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">减少垂直间距</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_VertSpaceIncrease:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">增加垂直间距</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;ReportStringId.UD_TTip_VertSpaceMakeEqual:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">将垂直间距设为相等</span><span style="color:#000000">&quot;</span><span style="color:#000000">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraTreeList_CN&nbsp;:TreeListLocalizer<br>
<img id="_32692_34405_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_32692_34405_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;Language<br>
<img id="_32730_32770_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_32730_32770_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">get</span><span style="color:#000000"><br>
<img id="_32742_32766_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_32742_32766_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">简体中文</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;GetLocalizedString(TreeListStringId&nbsp;id)<br>
<img id="_32840_34402_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_32840_34402_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">switch</span><span style="color:#000000">(id)<br>
<img id="_32859_34359_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_32859_34359_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.ColumnCustomizationText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定显示字段</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.ColumnNamePrefix:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">列名首标</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.InvalidNodeExceptionText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">是否确定要修改?</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuColumnBestFit:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最佳匹配</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuColumnBestFitAllColumns:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最佳匹配(所有列)</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuColumnColumnCustomization:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">列选择</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuColumnSortAscending:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">升序排序</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuColumnSortDescending:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">降序排序</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterAllNodes:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">全部节点</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterAverage:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">平均</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterAverageFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">平均&#20540;={0:#.##}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterCount:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">计数</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterCountFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">{0}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterMax:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最大&#20540;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterMaxFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最大&#20540;={0}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterMin:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最小&#20540;</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterMinFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">最小&#20540;={0}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterNone:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">无</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterSum:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">合计</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MenuFooterSumFormat:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">合计={0:#.##}</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.MultiSelectMethodNotSupported:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">OptionsBehavior.MultiSelect未激活时，指定方法不能工作.</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.PrintDesignerDescription:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">为当前的树状列表设置不同的打印选项.</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;TreeListStringId.PrintDesignerHeader:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">打印设置</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">class</span><span style="color:#000000">&nbsp;XtraVerticalGrid_CN&nbsp;:VGridLocalizer<br>
<img id="_34461_35294_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_34461_35294_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;Language<br>
<img id="_34499_34539_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_34499_34539_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">get</span><span style="color:#000000"><br>
<img id="_34511_34535_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_34511_34535_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">简体中文</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">public</span>&nbsp;<span style="color:#0000ff">override</span>&nbsp;<span style="color:#0000ff">string</span><span style="color:#000000">&nbsp;GetLocalizedString(VGridStringId&nbsp;id)<br>
<img id="_34605_35291_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_34605_35291_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">switch</span><span style="color:#000000">(id)<br>
<img id="_34624_35248_Open_Image" alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="_34624_35248_Open_Text"><span style="color:#000000">{<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.InvalidRecordExceptionText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">是否确定修改?</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.RowCustomizationDeleteCategoryText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">删除...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.RowCustomizationNewCategoryFormLabelText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">标题</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.RowCustomizationNewCategoryFormText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">新增类别</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.RowCustomizationNewCategoryText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">新增...</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.RowCustomizationTabPageCategoriesText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">类别</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.RowCustomizationTabPageRowsText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">行</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.RowCustomizationText:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">case</span><span style="color:#000000">&nbsp;VGridStringId.StyleCreatorName:</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#000000">&quot;</span><span style="color:#000000">自定义式样</span><span style="color:#000000">&quot;</span><span style="color:#000000">;<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#0000ff">return</span>&nbsp;<span style="color:#0000ff">base</span><span style="color:#000000">.GetLocalizedString(id);<br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color:#000000"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif" align="top"><br>
<img alt="" src="http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockEnd.gif" align="top">}</span></span><br>
                    <div>
                        作者：imperman 发表于 2012/10/19 15:54:08 <a href="https://blog.csdn.net/imperman/article/details/8090253">原文链接</a> https://blog.csdn.net/imperman/article/details/8090253                    </div>
                    <div>
                        阅读：1362 评论：1 <a href="https://blog.csdn.net/imperman/article/details/8090253#comments" target="_blank">查看评论</a>                    </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]两款通过网络扩展显示器的软件]]></title>
                <link>https://blog.csdn.net/imperman/article/details/7862518</link>
                <guid>https://blog.csdn.net/imperman/article/details/7862518</guid>
                <author>imperman</author>
                <pubDate>2012/08/14 02:10:50</pubDate>
                <description>
                    <![CDATA[
                    
<h3 class="app-title"><br /></h3>
<h3 class="app-title"><br /></h3>
<p>ZoneScrenn与maxivista<br /></p>
                    <div>
                        作者：imperman 发表于 2012/08/14 02:10:50 <a href="https://blog.csdn.net/imperman/article/details/7862518">原文链接</a> https://blog.csdn.net/imperman/article/details/7862518                    </div>
                    <div>
                        阅读：1955                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[转]Choosing LINQ to Entities vs Entity SQL vs. EntityClient]]></title>
                <link>https://blog.csdn.net/imperman/article/details/7483314</link>
                <guid>https://blog.csdn.net/imperman/article/details/7483314</guid>
                <author>imperman</author>
                <pubDate>2012/04/21 00:11:07</pubDate>
                <description>
                    <![CDATA[
                    
<h1>Choosing LINQ to Entities vs Entity SQL vs. EntityClient</h1>
<p class="post_date">Tuesday, October 16 2007 - <a href="http://thedatafarm.com/blog/data-access/">
Data Access</a></p>
<div class="entry">
<p>The title is a bit of a misnomer and not comparing apples to apples. To do it right would have been longer. The real comparison is</p>
<p><strong>"Choosing LINQ to Entities vs. Entity SQL+Object Services vs. Entity SQL+EntityClient"</strong></p>
<p>When doing an intro session on entity Framework last night for <a href="http://www.guvsm.com/">
GUVSM</a> in Montreal, even though it's something like the 7th time I've done this session (and every single presentation has been totally unique from any of the others I have done - shaped by the questions asked), I think I finally figured out how I want to
 express this option of which query method you want to use. Even within those three options, there are more variations happening because they return different payloads and this can additionally be affected by whether or not you do projections (e.g. select firstname,
 lastname, age instead of just select the whole object).</p>
<p><strong>1) For me, Linq to Entities will always be the first query method I go for.</strong> I'm getting more and more comfy with LINQ since I've been using it with objects, SQL, DataSets and XML. Having all of that intellisense support is dreamy. Whether
 I use operators (From c in <span style="font-family:'Courier New';">context.Customers Where c.CompanyName="Acme Builders" Select c</span>) or method operators (<span style="font-family:'Courier New';">context.Customers.Where(Function(c) c.CompanyName="Acme Builders"</span>)
 it just makes my life easy! I've been using LINQ to Entities almost exclusively unless I have a reason to go to the next level.
</p>
<p>LINQ to Entities still depends on an ObjectContext (and therefore uses Object Services) so you get all of the goodies that go along with that such as ChangeTracking, etc.</p>
<p>LINQ to Entities returns objects.</p>
<p><strong>2) The next level is using EntitySQL with Object Services.</strong> That would be:</p>
<p>objectcontext.CreateQuery(Of Customer)("Select VALUE c from Customer as c WHERE c.CompanyName='Acme Builders'")</p>
<p>The main reason I would want to use this is because Entity SQL is a very robust query syntax and I can express queries that LINQ (which is strongly typed) may not enable me to write. I want to be clear about my use of the word "dynamic" since I just mean
 that I can build the strings. You can also use parameters and as in most cases, should be careful about where and when you use dynamic queries (<span style="font-family:'Courier New';">"select value c from customer where c.CompanName=" &amp; myvariable</span>).
</p>
<p>As an aside, <a href="http://www.thedatafarm.com/blog/2007/10/10/CustomOperationsAndHidingEntitiesInAstoria.aspx">
I've discovered that writing custom operators in Astoria</a>, while possible with LINQ to Entities, is better in teh long run if you write them with EntitySQL. That is a conclusion made using the prototype so this may change down the road.</p>
<p>This method can return objects or dbDataRecords, depending on the query.</p>
<p><strong>3) The method I see myself using most infrequently is EntitySQL with EntityClient.</strong> EntityClient is a db provider, similar to SQLClient or OLEDBClient. You create connections (EntityConnections) and commands (EntityCommands), set the command's
 string (an Entity SQL query) and execute as you would other clients. The big difference between this and the other Client Providers is that you are connecting to your entity data model, not to a database.
</p>
<p>There are two reasons to use EntityClient. </p>
<p>The first is if you do not want to return objects, but just streamed data, because EntityClient always returns a dbDataReader. This also means it's a great candidate for helping you use an Entity Data Model in existing applications.</p>
<p>The other scenario (which is currently theoretical in my mind and has not be tested yet) where I can see myself wanting entityClient is if I have a data layer that needs to implement the Provider Factory class so that I can select my provider at runtime.</p>
<p>I'm ignoring another possible reason which is that EntityClient provides a familiar way of accessing data because it feels similar to using the other client providers. But because you lose your objects and all of the benefits of the objectContext, I don't
 think the benefit of "smaller learning curve" is a worthy trade-off.</p>
<p><strong>"The proof is in the pudding,"</strong> as they say and we saw the pudding last night at the GUVSM presentation because I have already gotten out of the swing of composing Entity SQL queries, while I'm getting to be a champ with LINQ to Entities.</p>
<p></p>
</div>
<p class="post_meta"><span class="tag_list">Tagged as: <a href="http://thedatafarm.com/blog/tags/ef/">
EF</a>, <a href="http://thedatafarm.com/blog/tags/linq/">LINQ</a></span></p>
<dl id="comment_list"><dt id="comment-2187"><span class="comment_num"><a title="Permalink to this comment" href="http://thedatafarm.com/blog/data-access/choosing-linq-to-entities-vs-entity-sql-vs-entityclient/#comment-2187">#1</a></span><strong> Eric
</strong>on 2.12.2010 at 8:16 AM </dt><dd id="comment-body-2187" class="entry">
<p>Thanks. I've only discovered Entity SQL today but immediately I asked myself "what's the point?". This clarifies things for me.</p>
</dd><dt id="comment-2279"><span class="comment_num"><a title="Permalink to this comment" href="http://thedatafarm.com/blog/data-access/choosing-linq-to-entities-vs-entity-sql-vs-entityclient/#comment-2279">#2</a></span><strong> Greg Hollywood
</strong>on 3.06.2010 at 4:50 PM </dt><dd id="comment-body-2279" class="entry">
<p>I too found this useful. Am reading the book (1st Edition.)</p>
<p>When will the second edition be available?</p>
<p>Greg</p>
</dd><dt id="comment-2404"><span class="comment_num"><a title="Permalink to this comment" href="http://thedatafarm.com/blog/data-access/choosing-linq-to-entities-vs-entity-sql-vs-entityclient/#comment-2404">#3</a></span><strong><a href="http://dotnetfx3.blogspot.com/">Prashant</a></strong>on
 4.01.2010 at 11:07 AM </dt><dd id="comment-body-2404" class="entry">
<p>Hi Julie,</p>
<p>This post is dated Oct 2007 when EF V 1.0 was in beta. Now we have the next version the EF V4.0, how much of this is still true/applicable with respect to using "Linq To Entities" vs "Entity SQL"</p>
<p>Thanks for the post, it clarified lot of questions.</p>
<p>-Prashant</p>
</dd></dl>                    <div>
                        作者：imperman 发表于 2012/04/21 00:11:07 <a href="https://blog.csdn.net/imperman/article/details/7483314">原文链接</a> https://blog.csdn.net/imperman/article/details/7483314                    </div>
                    <div>
                        阅读：837                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[转]Introducing LINQ to Relational Data]]></title>
                <link>https://blog.csdn.net/imperman/article/details/7483302</link>
                <guid>https://blog.csdn.net/imperman/article/details/7483302</guid>
                <author>imperman</author>
                <pubDate>2012/04/21 00:04:06</pubDate>
                <description>
                    <![CDATA[
                    
<h1>Introducing LINQ to Relational Data</h1>
<div id="ratingCounter"><span id="rcA">80 out of 110 rated this helpful <a id="rateThisTopic" title="Rate this topic" href="http://msdn.microsoft.com/en-us/library/cc161164.aspx#feedback">
- Rate this topic</a></span></div>
<div>
<p>Microsoft Data Platform Development Technical Article</p>
<p><strong><span>Writers:</span></strong><span> Elisa Flasko, Microsoft Corporation</span></p>
<p><strong><span>Published:</span></strong><span> January 2008
</span></p>
<p><strong><span>Level:</span></strong><span> 100/200</span></p>
<p><strong><span>Applies To: </span></strong></p>
<p><span>LINQ to SQL</span></p>
<p><span>LINQ to Entities</span></p>
<p><span>ADO.NET Entity Framework</span></p>
<p>You can also <a href="http://download.microsoft.com/download/8/b/2/8b22991f-3f2f-4cea-b2ba-55c190841145/LINQtoRelationalData.docx">
download a Microsoft Word version</a> of this article.</p>
<p><strong>Summary:</strong> This article introduces two implementations of LINQ, LINQ to SQL and LINQ to Entities, and the key scenarios for which each was designed. (19 printed pages)</p>
</div>
<div>
<h3><a>Table of Contents</a></h3>
<p><a href="http://msdn.microsoft.com/en-us/library/cc161164.aspx#_Toc188851306">Introducing LINQ to Relational Data<span style="color:#808000;">.
</span><span style="color:#808000;">1</span></a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/cc161164.aspx#_Toc188851307">What Is LINQ to SQL?<span style="color:#808000;">.
</span><span style="color:#808000;">1</span></a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/cc161164.aspx#_Toc188851308">When Do I Use LINQ to SQL?<span style="color:#808000;">6</span></a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/cc161164.aspx#_Toc188851309">What Is LINQ to Entities?<span style="color:#808000;">.
</span><span style="color:#808000;">7</span></a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/cc161164.aspx#_Toc188851310">When do I use LINQ to Entities?<span style="color:#808000;">13</span></a></p>
</div>
<div>
<h2><a></a><a>Introduc</a>ing LINQ to Relational Data</h2>
<p>With the combined launch of Visual Studio 2008, SQL Server 2008, and Windows Server 2008, Microsoft is introducing five implementations of .NET Language Integrated Query (LINQ).
</p>
<p>Of these five implementations, two specifically target access to relational databases: LINQ to SQL and LINQ to Entities. This white paper introduces these two technologies and the scenarios in which each can best be used.
</p>
<p>Microsoft Language Integrated Query (LINQ) offers developers a new way to query data using strongly-typed queries and strongly-typed results, common across a number of disparate data types including relational databases, .NET objects, and XML. By using strongly-typed
 queries and results, LINQ improves developer productivity with the benefits of IntelliSense and compile-time error checking.
</p>
<p><strong>LINQ to SQL, released with the Visual Studio 2008, is designed to provide strongly-typed LINQ access for rapidly developed applications across the Microsoft SQL Server family of databases.</strong></p>
<p><strong>LINQ to Entities, to be released in an update to Visual Studio 2008 in the first half of 2008, is designed to provide strongly-typed LINQ access for applications requiring a more flexible Object Relational mapping, across Microsoft SQL Server and
 third-party databases. </strong></p>
<h2><a>What Is LINQ to SQL?</a></h2>
<p>LINQ to SQL is an object-relational mapping (ORM) framework that allows the direct 1-1 mapping of a Microsoft SQL Server database to .NET classes, and query of the resulting objects using LINQ. More specifically, LINQ to SQL has been developed to target
 a rapid development scenario against Microsoft SQL Server where the database closely resembles the application object model and the primary concern is increased developer productivity.
</p>
<p>Figures 1 &amp; 2 combined with the code snippet below demonstrate a simple LINQ to SQL scenario. Figure 1 shows the LINQ to SQL mapping, and Figure 2 shows the associated database diagram, using the Northwind database.
</p>
<p><img src="http://i.msdn.microsoft.com/dynimg/IC144631.jpg" width="337" height="352" alt="" /></p>
<p><strong>Figure 1.</strong> Database diagram for a subset of the Northwind database.</p>
<p><img src="http://i.msdn.microsoft.com/dynimg/IC116142.jpg" width="319" height="364" alt="" /></p>
<p><strong>Figure 2.</strong> LINQ to SQL mapping diagram for a simple scenario using a subset of the Northwind database and the associated database diagram. Notice the use of an intermediary table to map the many-to-many relationship between Employees and
 Territories.</p>
<p>This code snippet shows a simple LINQ query against the Northwind database to retrieve all customers whose address is in London.</p>
<span style="color:#0000FF;"></span>
<p>NorthwindDataContext db = new NorthwindDataContext();</p>
<p>var customers = from c in db.Customers</p>
<p>where c.City == "London"</p>
<p>select c;</p>
<p><strong>Listing 1. Simple LINQ to SQL query</strong></p>
<p>LINQ to SQL has been architected with simplicity and developer productivity in mind. APIs have been designed to “just work” for common application scenarios. Examples of this design include the ability to replace unfriendly database naming conventions with
 friendly names, to map SQL schema objects directly to classes in the application, to implicitly load data that has been requested but has not previously been loaded into memory, and the use of common naming conventions and partial methods to provide custom
 business or update logic. </p>
<p>The ability to replace unfriendly database naming conventions with more developer friendly names provides benefit that is pretty self explanatory, making it easier to understand the structure and meaning of data as the application is developed. These changes
 can be done using the LINQ to SQL designer in Visual Studio 2008, by double clicking on the entity object name, as seen in Figure 3 below.</p>
<p><img src="http://i.msdn.microsoft.com/dynimg/IC165933.jpg" width="173" height="146" alt="" /><img src="http://i.msdn.microsoft.com/dynimg/IC157953.jpg" width="167" height="146" alt="" /></p>
<p><strong>Figure 3.</strong> Changing the name of an entity object in LINQ to SQL.</p>
<p>As mentioned above, LINQ to SQL targets scenarios where the database closely resembles the application object model that is desired. Given this target scenario, the mapping between the SQL schema and classes in the application is a direct 1-1 mapping, meaning
 that a table or view being accessed from the database maps to a single class in the application, and a column being accessed maps to a property on the associated class.</p>
<p>By default, LINQ to SQL enables deferred loading. This means that if, for example, a query retrieves Customer data, it does not automatically pull the associated Order information into memory. When the data is requested however, LINQ to SQL uses its implicit
 loading capability to retrieve the data that has been requested but has not previously been loaded into memory. In Listing 1 we queried the database for all customers with an address based in London. While iterating through the resulting list of customers
 we would like to access the list of Orders that each customer has placed. Looking back to the original query in Listing 1, we notice that we did not retrieve any information about Orders; we simply retrieved information included in the Customer object. In
 Listing 2, we continue from the previous query to iterate through the customers that were returned and print out the total number Orders associated with each customer.</p>
<span style="color:#0000FF;"></span>
<p>foreach (Customer c in customers)</p>
<p>{</p>
<p>Console.WriteLine(c.CompanyName + " " + c.Orders.Count); </p>
<p>}</p>
<p><strong>Listing 2. Implicit loading of Orders data that has been requested but not previously loaded into memory.</strong></p>
<p>In the above example, a separate query is executed to retrieve the Orders for each Customer. If it is known in advance that we need to retrieve the orders for all customers, we can use LoadOptions to request that the associated Orders be retrieved along
 with the Customers, in a single request. </p>
<p>Beyond the simplicity of the query experience, LINQ to SQL offers additional features to improve the developer experience with regards to application logic. Partial methods, a new language feature of C# and VB in Visual Studio 2008, allow one part of a partial
 class to define and call methods which are invoked, if implemented in another part of the class. If the method has not been implemented; the entire method call is optimized away during compilation. By using common naming conventions in conjunction with these
 new partial methods and partial classes, introduced in Visual Studio 2005, LINQ to SQL allows application developers to provide custom business logic when using generated code. Using partial classes allows developers the flexibility to add methods, non-persistent
 members, etc., to the generated LINQ to SQL object classes. These partial methods can add logic for insert, update, and delete by simply implementing the associated partial method. Similarly, developers can use the same concepts to implement partial methods
 that hook up eventing in the most common scenarios, for example OnValidate, OnStatusChanging or OnStatusChanged. Example 3 shows the use of partial methods to implement custom validation on the Customer Phone property as it is changed.</p>
<span style="color:#0000FF;"></span>
<p>public partial class Customer</p>
<p>{</p>
<p>partial void OnPhoneChanging(string value)</p>
<p>{</p>
<p>Regex phoneNum = new Regex(@"^[2-9]\d{2}-\d{3}-\d{4}$");</p>
<p>if (phoneNum.IsMatch(value) == false)</p>
<p>throw new Exception("Please enter a valid Phone Number");</p>
<p>}</p>
<p>}</p>
<p><strong>Listing 3. Use of partial methods to implement custom validation logic.</strong></p>
<p>Once developers can leverage the query capabilities of LINQ and implement business logic in partial methods, the argument for using persistent objects becomes quite compelling. To round the story out, LINQ to SQL allows people to model inheritance hierarchies
 in their classes and map them to the database. Inheritance, an important feature of object-oriented programming, does not translate directly into the relational database; therefore, the ability to map inheritance from the application into the database is very
 important. LINQ to SQL supports one of the most common database inheritance mappings, Table per Hierarchy (TPH), where multiple classes in a hierarchy are mapped to a single table, view, stored procedure, or table valued function using a discriminator column
 to determine the specific type of each row/instance. In Figure 4, a single Product table in the database, maps the inheritance of DiscontinuedProduct from Product. This two-class hierarchy is mapped directly to the existing Northwind database using the discriminator
 column “Discontinued”.</p>
<p><img src="http://i.msdn.microsoft.com/dynimg/IC135118.jpg" width="360" height="419" alt="" /></p>
<p><strong>Figure 4.</strong> Inheritance in LINQ to SQL</p>
<p>Notice that the properties of the inheritance (right-click on the relationship arrow) specify the discriminatory property and the associated discriminator values, while the properties of DiscontinuedProduct specify the base class from which it inherits.</p>
<p>LINQ to SQL has been developed with a minimally intrusive object model, allowing developers to choose whether or not to make use of generated code. Rather, they can create their own classes, which do not need to be derived from any specific base class. This
 means that you can create classes that inherit from no base class or from a custom base class.</p>
<p>As with any application framework, developers must also have the ability to optimize the solution to best fit their scenario. LINQ to SQL offers a number of opportunities to optimize, including using load options to control database trips and compiled queries
 to amortize the overhead inherent in SQL generation. By default, LINQ to SQL enables Object Tracking, which controls the automatic change tracking and identity management of objects retrieved from the database. In some scenarios, specifically where you are
 accessing the data in a read-only manner, you may wish to disable Object Tracking as a performance optimization. The options for specialization of your application behavior is not local to just the API, the LINQ to SQL Designer also allows additional functionality
 for you to expose stored procedures and/or table valued functions as strongly typed methods on the generated DataContext, and map inserts, updates, and deletes to stored procedures if you choose not to use dynamic SQL.</p>
<p>Developers who are concerned about query performance can leverage the compiled queries capabilities which offer an opportunity to optimize query performance. In many applications you might have code that repeatedly executes the same query, possibly with
 different argument values. By default, LINQ to SQL parses the language expression each time to build the corresponding SQL statement, regardless of whether that expression has been seen previously. Compiled queries, like that seen in Listing 4, allow LINQ
 to SQL to avoid reparsing the expression and regenerating the SQL statement for each repeated query.
</p>
<span style="color:#0000FF;"></span>
<p>var customers = CompiledQuery.Compile(</p>
<p>(NorthwindDataContext context, </p>
<p>string filterCountry) =&gt;</p>
<p>from c in context.Customers</p>
<p>where c.Orders.Count &gt; 5</p>
<p>select c);</p>
<p>NorthwindDataContext db = new NorthwindDataContext();</p>
<p>Console.WriteLine("Customers in the USA: ");</p>
<p>foreach (var row in customers(db, "USA"))</p>
<p>{</p>
<p>Console.WriteLine(row.CompanyName);</p>
<p>}</p>
<p>Console.WriteLine();</p>
<p>Console.WriteLine("Customers in Spain: ");</p>
<p>foreach (var row in customers(db, "Spain"))</p>
<p>{</p>
<p>Console.WriteLine(row.CompanyName);</p>
<p>}</p>
<p><strong>Listing 4. An example of a simple compiled query, executed twice with varying parameters.</strong></p>
<h3><a>When Do I Use LINQ to SQL?</a></h3>
<p>The primary scenario for using LINQ to SQL is when building applications with a rapid development cycle and a simple one-to-one object to relational mapping against the Microsoft SQL Server family of databases. In other words, when building an application
 whose object model is structured very similarly to the existing database structure, or when a database for the application does not yet exist and there is no predisposition against creating a database schema that mirrors the object model; you can use LINQ
 to SQL to map a subset of tables directly to classes, with the required columns from each table represented as properties on the corresponding class. Usually in these scenarios, the database has not and/or will not be heavily normalized.</p>
<table border="1"><tbody><tr><td valign="top" style="background:rgb(230,230,230);">
<p><strong>I want to</strong></p>
</td>
<td valign="top" style="background:rgb(230,230,230);">
<p><strong>LINQ to SQL is applicable</strong></p>
</td>
</tr><tr><td valign="top">
<p>Use an ORM solution and my database is 1:1 with my object model</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Use an ORM solution with inheritance hierarchies that are stored in a single table</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Use my own plain CLR classes instead of using generated classes or deriving from a base class or implementing an interface</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Leverage LINQ as the way I write queries</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Use an ORM but I want something that is very performant and where I can optimize performance through stored procedures and compiled queries</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr></tbody></table><p><strong>Table 1.</strong> LINQ to SQL Scenarios</p>
<h2><a>What Is LINQ to Entities?</a></h2>
<p>LINQ to Entities, like LINQ to SQL is a LINQ implementation providing access to relational data, but with some key differences.
</p>
<p>LINQ to Entities is, specifically, a part of the ADO.NET Entity Framework which allows LINQ query capabilities. The Entity Framework is the evolution of ADO.NET that allows developers to program in terms of the standard ADO.NET abstraction or in terms of
 persistent objects (ORM) and is built upon the standard ADO.NET Provider model which allows access to third party databases. The Entity Framework introduces a new set of services around the Entity Data Model (EDM) (a medium for defining domain models for an
 application). This set of services includes the following:</p>
<p>· Domain Modeling Capabilities and the ability to define conceptual, data store agnostic models</p>
<p>· Object Relational Mapping Capabilities (full CRUD and state management scenarios)</p>
<p>· Database independent Query Capabilities using LINQ or Entity SQL</p>
<p>More than a simple Object Relational Mapping (ORM) tool, the ADO.NET Entity Framework and LINQ to Entities allow developers to work against a conceptual model with a very flexible mapping and the ability to accommodate a high degree of divergence from the
 underlying data store. For further discussion of the Entity Framework and EDM, please see the
<a href="http://msdn2.microsoft.com/en-us/data/aa937723.aspx">Data Platform Development Center</a> (http://msdn.microsoft.com/data).
</p>
<p>Figure 5 below shows a simple LINQ to Entities EDM diagram, using the same subset of the Northwind database seen in Figure 1.
</p>
<p><img border="0" src="http://i.msdn.microsoft.com/dynimg/IC170372.jpg" width="425" height="308" alt="" /></p>
<p><strong>Figure 5.</strong> LINQ to Entities mapping diagram corresponding to the Northwind database subset in Figure 1. Notice the directly mapped many-to-many relationship between Employees and Territories without an intermediary table.</p>
<p>In this figure you can see that the object model is not mapped directly, one-to-one, to the database, rather we have bypassed the intermediary table used to represent the many-to-many relationship between Employees and Territories. Although you can map many-to-many
 relationships in both LINQ to SQL and LINQ to Entities, LINQ to Entities allows a direct mapping of many-to-many relationships with no intermediary class, while LINQ to SQL requires that an intermediary class map one-to-many to each of the classes that are
 party to the many-to-many relationship. </p>
<p>Listing 5 below shows the same simple LINQ query used in Listing 1 for LINQ to SQL, used against the Entity Data Model shown in Figure 5.
</p>
<span style="color:#0000FF;"></span>
<p>using (NorthwindEntities nw = new NorthwindEntities())</p>
<p>{</p>
<p>var cusotmers = from c in nw.Customers</p>
<p>where c.City == "London"</p>
<p>select c;</p>
<p>}</p>
<p><strong>Listing 5. Simple LINQ to Entities query</strong></p>
<p>The similarities between the two LINQ implementations for this simple query highlight the benefit of LINQ creating a query language that remains consistent across data stores.
</p>
<p>Microsoft designed the ADO.NET Entity Framework, and in turn LINQ to Entities, to enable flexible and more complex mappings, ideal in the scenario where it is not possible or ideal for the object model to match the database schema. The mapping flexibility
 available with the ADO.NET Entity Framework allows the database and application(s) to evolve separately and makes development against highly normalized databases simpler and easier to understand. When a change is made in the database schema, the application
 is insulated from the change by the Entity Framework, and there is no requirement to rewrite portions of the application, but rather the mapping files can simply be updated to accommodate the database change. In Figures 6 &amp; 7, a change is made to the database
 splitting the Employees table to separate personal information that is only accessible to HR and information that is available in the Employee Address Book. If existing applications are not going to make use of these changes we simply need to update the mapping
 to account for this change.</p>
<p><img border="0" src="http://i.msdn.microsoft.com/dynimg/IC34466.jpg" width="358" height="352" alt="" /></p>
<p><strong>Figure 6.</strong> Database Model for the new modified Northwind database subset. In this modified database, we have split the Employees table into two tables one containing Employee information that is only available to HR and another containing
 information that is available to all employees in the Employee Address Book. We have also used a different inheritance mapping, Table per Subclass, which we will discuss later.</p>
<p><img border="0" src="http://i.msdn.microsoft.com/dynimg/IC71374.jpg" width="379" height="405" alt="" /></p>
<p><strong>Figure 7.</strong> Entity Data Model Diagram for the modified Northwind database subset shown in Figure 6.</p>
<p>Listing 6 shows a query against a single entity, mapped to multiple tables in the database. The same query directly against the database would require the knowledge that Employee information is split between two tables and a join of those two tables in the
 query.</p>
<span style="color:#0000FF;"></span>
<p>using (NorthwindModEntities nw = new NorthwindModEntities()) {</p>
<p>var q = from e in nw.Employees</p>
<p>select e;</p>
<p>foreach (Employees emp in q)</p>
<p>{</p>
<p>Console.WriteLine(emp.FirstName + ", " + emp.LastName + ", Hire Date: " + emp.HireDate.ToString());</p>
<p>}</p>
<p>}</p>
<p><strong>Listing 6. Querying a single Entity mapped to two tables in the database.</strong></p>
<p>As discussed earlier in this article, LINQ to SQL allows one of the most common inheritance scenarios to be mapped, Table per Hierarchy. LINQ to Entities and the ADO.NET Entity Framework also allow the mapping of two other types of inheritance. In addition
 to Table per Hierarchy (as supported by LINQ to SQL), the Entity Framework supports:
</p>
<p>· The mapping of Table per Concrete Type, a separate table for each class or type in the hierarchy.</p>
<p>· The mapping of Table per Subclass, a hybrid approach using a shared table for information about the base type and separate tables for information about the derived types seen in Figure 8.
</p>
<p><img border="0" src="http://i.msdn.microsoft.com/dynimg/IC168337.jpg" width="447" height="346" alt="" /></p>
<p><strong>Figure 8.</strong> Mapping Table per Subclass inheritance with the Entity Data Model.</p>
<p>Similar to LINQ to SQL, LINQ to Entities uses partial classes and partial methods to allow update and business logic to be easily added to generated code. Using partial classes and partial methods allows developers the flexibility to add methods, non-persistent
 members, etc., to the generated Entity Framework object classes, and for the addition of custom logic for insert, update, and delete by simply implementing the associated partial method. Similarly, developers can use the same concepts to implement partial
 methods that hook up eventing in the most common scenarios, for example OnStatusChanging or OnStatusChanged. Listing 7 shows the use of partial methods to implement custom validation on the Customer Phone property as it is changed.</p>
<span style="color:#0000FF;"></span>
<p>public partial class Customers</p>
<p>{</p>
<p>partial void OnPhoneChanging(string value)</p>
<p>{</p>
<p>Regex phoneNum = new Regex(@"^[2-9]\d{2}-\d{3}-\d{4}$");</p>
<p>if (phoneNum.IsMatch(value) == false)</p>
<p>throw new Exception("Please enter a valid Phone Number");</p>
<p>}</p>
<p>}</p>
<p><strong>Listing 7. Use of partial methods to implement custom validation logic.</strong></p>
<p>Due to the explicit nature of LINQ to Entities, developers also have the ability to optimize the solution to best fit their scenario. In Listing 2 for LINQ to SQL, when we queried for Customer data, Order information was not automatically pulled into memory,
 but rather was only pulled into memory only when the Order information was accessed. In LINQ to Entities, the developer has full control over the number of database round trips by explicitly specifying when to load such information from the database. Navigating
 to associated information that has not yet been retrieved from the database will not cause an additional database trip, but rather will only return the information if it was explicitly requested with the first query or with a new query, as seen in Listing
 8.</p>
<span style="color:#0000FF;"></span>
<p>using (NorthwindModEntities nw = new NorthwindModEntities())</p>
<p>{</p>
<p>var q = from cus in nw.Customers</p>
<p>where cus.City == "London"</p>
<p>select cus;</p>
<p>// Loop through customers and print out orders since January 1, 1998</p>
<p>foreach (Customers customer in q)</p>
<p>{</p>
<p>Console.WriteLine(customer.CompanyName + ": " );</p>
<p>// Note line below to explicitly load all orders for each customer</p>
<p>customer.Orders.Load();</p>
<p>foreach (Orders order in customer.Orders.Where(o =&gt; o.OrderDate &gt; new DateTime(1998, 1, 1)))</p>
<p>{</p>
<p>Console.WriteLine("\t{0},{1}", order.OrderID, order.OrderDate);</p>
<p>}</p>
<p>}</p>
<p>Console.ReadLine();</p>
<p>}</p>
<p><strong>Listing 8. Explicit loading of information to control number of database roundtrips.</strong></p>
<p>Like LINQ to SQL, LINQ to Entities enables Object Tracking by default. In some scenarios, specifically where you are accessing the data in a read-only manner, you may wish to disable Object Tracking as a performance optimization.
</p>
<p>LINQ to Entities also provides the ability to expose stored procedures as strongly typed methods on the generated ObjectContext, and map inserts, updates, and deletes to stored procedures if you choose not to use dynamic SQL.</p>
<h3><a>When do I use LINQ to Entities?</a></h3>
<p>The primary scenario targeted by LINQ to Entities is a flexible and more complex mapping scenario, often seen in the enterprise, where the application is accessing data stored in Microsoft SQL Server or other-third party databases.
</p>
<p>In other words, the database in these scenarios contains a physical data structure that could be significantly different from what you expect your object model to look like. Often in these scenarios, the database is not owned or controlled by the application
 developer(s), but rather owned by a DBA or other third party, possibly preventing application developers from making any changes to the database and requiring them to adapt quickly to database changes that they may not have been aware of.</p>
<table border="1"><tbody><tr><td valign="top" style="background:rgb(230,230,230);">
<p><strong>I want to</strong></p>
</td>
<td valign="top" style="background:rgb(230,230,230);">
<p><strong>LINQ to Entities is applicable</strong></p>
</td>
</tr><tr><td valign="top">
<p>Write applications that can target different database engines in addition to Microsoft SQL Server</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Define domain models for my application and use these as the basis for my persistence layer.</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Use an ORM solution where my classes may be 1:1 with the database or may have a very different structure from the database schema</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Use an ORM solution with inheritance hierarchies that may have alternative storage schemes (single table for the hierarchy, single table for each class, single table for all data related to specific type)</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Leverage LINQ as the way I write queries and have the query work in a database vendor agnostic manner.</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr><tr><td valign="top">
<p>Use an ORM but I want something that is very performant and where I can optimize performance through stored procedures and compiled queries</p>
</td>
<td valign="top">
<p align="center"><img src="http://i.msdn.microsoft.com/dynimg/IC80116.gif" width="36" height="38" alt="" /></p>
</td>
</tr></tbody></table><p><strong>Table 2.</strong> LINQ to Entities Scenarios</p>
</div>
                    <div>
                        作者：imperman 发表于 2012/04/21 00:04:06 <a href="https://blog.csdn.net/imperman/article/details/7483302">原文链接</a> https://blog.csdn.net/imperman/article/details/7483302                    </div>
                    <div>
                        阅读：1062                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]Matlab中rref为什么不适合求解符号矩阵的标准形]]></title>
                <link>https://blog.csdn.net/imperman/article/details/7292604</link>
                <guid>https://blog.csdn.net/imperman/article/details/7292604</guid>
                <author>imperman</author>
                <pubDate>2012/02/25 02:40:09</pubDate>
                <description>
                    <![CDATA[
                    
<p>看源代码中有这么一句，</p>
<p> [p,k] = max(abs(A(i:m,j))); k = k+i-1;</p>
<p>意思是查找第j列中最大的一个元素，如若某个元素中有符号变量，这个最大数是找不到的。但在matlab 2010中对符号矩阵使用这个函数是可以顺利通过。因此有可能漏掉符号变量取特殊值的情况。有时间的话需要自己重新改写一下这个函数，化成行阶梯形就可以，结果可以用来做分析，但不能做实际计算用。</p>
                    <div>
                        作者：imperman 发表于 2012/02/25 02:40:09 <a href="https://blog.csdn.net/imperman/article/details/7292604">原文链接</a> https://blog.csdn.net/imperman/article/details/7292604                    </div>
                    <div>
                        阅读：1309                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]ODI安装时中文乱码的解决]]></title>
                <link>https://blog.csdn.net/imperman/article/details/7199658</link>
                <guid>https://blog.csdn.net/imperman/article/details/7199658</guid>
                <author>imperman</author>
                <pubDate>2012/01/13 19:43:51</pubDate>
                <description>
                    <![CDATA[
                    
<p>我在cetnos 6上安装ODI，使用的是系统自带的OpenJDK。把windows 系统下的simsun的字体都拷贝到了/usr/lib/jvm/java/jre/lib/fonts/fallback里，又创建了字体目录。</p>
<p>然后执行　./runInstaller -ignoreSysPrereqs -jreLoc /usr/lib/jvm/java/jre<br /></p>
                    <div>
                        作者：imperman 发表于 2012/01/13 19:43:51 <a href="https://blog.csdn.net/imperman/article/details/7199658">原文链接</a> https://blog.csdn.net/imperman/article/details/7199658                    </div>
                    <div>
                        阅读：1391                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[转]Understanding umbraco's &quot;currentPage&quot;]]></title>
                <link>https://blog.csdn.net/imperman/article/details/7075208</link>
                <guid>https://blog.csdn.net/imperman/article/details/7075208</guid>
                <author>imperman</author>
                <pubDate>2011/12/15 19:08:24</pubDate>
                <description>
                    <![CDATA[
                    
<h1 id="wikiHeader" class="wikiheadline">Understanding "currentPage"</h1>
<input id="wikiHeaderEditor" class="wikiheadline" type="text" /><div id="options">
</div>
<div id="editMode">   Your changes have not been saved yet, <a class="bt_save">
save now</a><em> or </em><a id="bt_cancel" href="#">discard changes</a></div>
<div class="wiki-sidebar" style="float:right;">
<ul><li><a href="/wiki/reference/xslt/what-is-xslt">What is XSLT</a></li><li><a href="/wiki/reference/xslt/how-umbraco-uses-xslt">How umbraco uses XSLT</a></li><li><a href="/wiki/reference/xslt/the-basics">The Basics</a></li><li><a href="/wiki/reference/xslt/understanding-currentpage">Understanding "currentPage"</a></li><li><a href="/wiki/reference/xslt/using-xpath">Using XPATH</a></li><li><a href="/wiki/reference/xslt/xpath-and-xslt-loops">XPATH and XSLT Loops</a></li><li><a href="/wiki/reference/xslt/more-commands-and-the-umbracolibrary">More Commands and the umbraco.library</a></li><li><a href="/wiki/reference/xslt/some-xslt-logic">Some XSLT Logic</a></li><li><a href="/wiki/reference/xslt/using-variables-and-parameters">Using Variables and Parameters</a></li><li><a href="/wiki/reference/xslt/xpath-axes-and-their-shortcuts">XPATH Axes and their Shortcuts</a></li><li><a href="/wiki/reference/xslt/snippets">Snippets</a></li><li><a href="/wiki/reference/xslt/extend-your-xslt-with-custom-functions">Extend your XSLT with custom functions</a></li><li><a href="/wiki/reference/xslt/get-related-nodes">Get Related nodes</a></li><li><a href="/wiki/reference/xslt/45-xml-schema">4.5 XML Schema</a></li><li><a href="/wiki/reference/xslt/mixed-schemas-after-upgrade">Mixed schemas after Upgrade</a></li><li><a href="/wiki/reference/xslt/recursive-menu-umbraco-45">Recursive Menu Umbraco 4.5</a></li><li><a href="/wiki/reference/xslt/caching-xslt-macro-result">Caching XSLT macro result</a></li><li><a href="/wiki/reference/xslt/caching-xslt-macro-result">Caching XSLT macro result</a></li><li><a href="/wiki/reference/xslt/using-examine-in-xslt">Using Examine in XSLT</a></li></ul></div>
<div id="wikiContent">
<p>As mentioned on the previous page, the currentPage parameter is important for us in Umbraco.  It is the complete XML document of the published site, and is how we reference the data stored in each document.  By default, the context of the XML document is
 set to the requested page. </p>
<p>In XSLT, to reference the parameter, and other variable types, we use the "$" and the name of the variable or parameter, thus $currentPage.  However, before we use this parameter, we need to know what is in the XML document, and how to reference the content.</p>
<p>XML is referenced in XSLT through the use of XPATH, a query syntax that resembles that of DOS file commands.  Since XML has the ability to contain various levels of information, XPATH has means to traverse these levels, and retrieve data based upon the current
 context.  But again, before we can use XPATH, we must know what is in the XML document.</p>
<p>The XML document, as mentioned before, contains all the content of the published documents.  This data is stored in the XML document structured in the same manner as your tree is laid out in Umbraco.  So, documents are nested to create the hierarchy that
 we can easily use.Each document in</p>
<p>Umbraco consists of several common pieces of data, and they are:<br /><br />
    * id<br />
    * version<br />
    * parentID<br />
    * level<br />
    * writerID<br />
    * creatorID<br />
    * nodeType<br />
    * template<br />
    * sortOrder<br />
    * createDate<br />
    * updateDate<br />
    * nodeName<br />
    * urlName<br />
    * writerName<br />
    * creatorName<br />
    * nodeTypeAlias<br />
    * path</p>
<p>These are store as attributes of the document, which is called "node".  The properties that are added to the document in Umbraco, and what the user edits are referenced as "data".  Data consists of a couple common pieces of data, which are attributes on
 the data elements.  These are:<br /><br />
    * alias<br />
    * versionID</p>
<p>This is structured similar to the following in the XML document.<br /><br /></p>
<pre class="prettyprint"><span class="dec">&lt;!DOCTYPE umbraco [
&lt;!ELEMENT nodes ANY&gt;</span><span class="pln">
</span><span class="dec">&lt;!ELEMENT node ANY&gt;</span><span class="pln">
</span><span class="dec">&lt;!ATTLIST node id ID #REQUIRED&gt;</span><span class="pln">
]&gt;
</span><span class="tag">&lt;root</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"-1"</span><span class="tag">&gt;</span><span class="pln">
</span><span class="tag">&lt;node</span><span class="pln">
</span><span class="atn">id</span><span class="pun">=</span><span class="atv">"numeric-value"</span><span class="pln">
</span><span class="atn">version</span><span class="pun">=</span><span class="atv">"guid-value"</span><span class="pln">
</span><span class="atn">parentID</span><span class="pun">=</span><span class="atv">"numeric-value"</span><span class="pln">
</span><span class="atn">level</span><span class="pun">=</span><span class="atv">"numeric-value"</span><span class="pln">
</span><span class="atn">writerID</span><span class="pun">=</span><span class="atv">"numeric-value"</span><span class="pln">
</span><span class="atn">creatorID</span><span class="pun">=</span><span class="atv">"numeric-value"</span><span class="pln">
</span><span class="atn">nodeType</span><span class="pun">=</span><span class="atv">"numeric-value"</span><span class="pln">
</span><span class="atn">template</span><span class="pun">=</span><span class="atv">"numeric-value"</span><span class="pln">
</span><span class="atn">sortOrder</span><span class="pun">=</span><span class="atv">"numeric-value"</span><span class="pln">
</span><span class="atn">createDate</span><span class="pun">=</span><span class="atv">"datetime-value"</span><span class="pln">
</span><span class="atn">updateDate</span><span class="pun">=</span><span class="atv">"datetime-value"</span><span class="pln">
</span><span class="atn">nodeName</span><span class="pun">=</span><span class="atv">"text-value"</span><span class="pln">
</span><span class="atn">urlName</span><span class="pun">=</span><span class="atv">"text-value"</span><span class="pln">
</span><span class="atn">writerName</span><span class="pun">=</span><span class="atv">"text-value"</span><span class="pln">
</span><span class="atn">creatorName</span><span class="pun">=</span><span class="atv">"text-value"</span><span class="pln">
</span><span class="atn">nodeTypeAlias</span><span class="pun">=</span><span class="atv">"text-value"</span><span class="pln">
</span><span class="atn">path</span><span class="pun">=</span><span class="atv">"csv-numeric-value"</span><span class="tag">&gt;</span><span class="pln">
</span><span class="tag">&lt;data</span><span class="pln">
</span><span class="atn">versionID</span><span class="pun">=</span><span class="atv">"guid-value"</span><span class="pln">
</span><span class="atn">alias</span><span class="pun">=</span><span class="atv">"text-value"</span><span class="tag">&gt;</span><span class="pln">
field-value or  &lt;![CDATA[field-value]]&gt;
</span><span class="tag">&lt;/data&gt;</span><span class="pln">
</span><span class="tag">&lt;data</span><span class="pln"> ...</span><span class="tag">&gt;</span><span class="pln">...</span><span class="tag">&lt;/data&gt;</span><span class="pln">
</span><span class="tag">&lt;node</span><span class="pln"> ...</span><span class="tag">&gt;</span><span class="pln">...</span><span class="tag">&lt;/node&gt;</span><span class="pln">
</span><span class="tag">&lt;/node&gt;</span><span class="pln">
</span><span class="tag">&lt;node</span><span class="pln"> ...</span><span class="tag">&gt;</span><span class="pln">...</span><span class="tag">&lt;/node&gt;</span><span class="pln">
</span><span class="tag">&lt;/root&gt;</span></pre>
</div>
                    <div>
                        作者：imperman 发表于 2011/12/15 19:08:24 <a href="https://blog.csdn.net/imperman/article/details/7075208">原文链接</a> https://blog.csdn.net/imperman/article/details/7075208                    </div>
                    <div>
                        阅读：655                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]关于vmware与visual pc对USB设备的支持]]></title>
                <link>https://blog.csdn.net/imperman/article/details/7015539</link>
                <guid>https://blog.csdn.net/imperman/article/details/7015539</guid>
                <author>imperman</author>
                <pubDate>2011/11/26 22:03:04</pubDate>
                <description>
                    <![CDATA[
                    
         多日前曾使用Vmware player连接共享host的一个无线局域网网卡，会造成cpu占用100%。无奈下使用了win7 的xp mode，即visual pc的win7专用版，使用效果很好。同样近日使用一个USB hid设备，在使用vmware player连接时，速度明显比在host上运行慢很多，无奈又安装了visual pc。但hid设备在visual pc里的usb菜单是不显示，看到微软的网站声称不支持hid设备共享。在网上找了一番后，找到一款软件usb redirector。其支持基于远程桌面rdp协议和纯tcp的usb共享，调试配合visual
 pc 使用rdp版的没有成功，tcp版一开始也不可以，似乎visual pc的网络tcp程序找不到host192.168.131.254的端口上，尝试直接连接host上物理网卡的ip地址，成功连接。此时共享的usb hid 设备与主机上使用的速度相同，同时开了两个visual pc，顺利完成任务。
                    <div>
                        作者：imperman 发表于 2011/11/26 22:03:04 <a href="https://blog.csdn.net/imperman/article/details/7015539">原文链接</a> https://blog.csdn.net/imperman/article/details/7015539                    </div>
                    <div>
                        阅读：957                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]安装linux软件时缺.h文件时解决办法一则]]></title>
                <link>https://blog.csdn.net/imperman/article/details/7001175</link>
                <guid>https://blog.csdn.net/imperman/article/details/7001175</guid>
                <author>imperman</author>
                <pubDate>2011/11/22 16:58:27</pubDate>
                <description>
                    <![CDATA[
                    
           以centos为例，我在安装ptython的库lxml时提示说error Python headers needed to compile C ~~~。虽然python包已经正常安装，但还是需要安装python-devel包。因此需要用到gcc编译的地方时，通不过的原因大多时没有安装开发包。用yum search一下相关名字，找到名字后安装既可。
                    <div>
                        作者：imperman 发表于 2011/11/22 16:58:27 <a href="https://blog.csdn.net/imperman/article/details/7001175">原文链接</a> https://blog.csdn.net/imperman/article/details/7001175                    </div>
                    <div>
                        阅读：649                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]关于Umbraco的安装部署以及迁移]]></title>
                <link>https://blog.csdn.net/imperman/article/details/6929291</link>
                <guid>https://blog.csdn.net/imperman/article/details/6929291</guid>
                <author>imperman</author>
                <pubDate>2011/11/02 17:48:57</pubDate>
                <description>
                    <![CDATA[
                    
<p>       一直想尝试一下Umbraco，于是用它实现了部门的网站内容发布。期间定义了十来个文档类型，以及一些页面，另外自己写了几个宏和xlst。</p>
<p>       我在本机Win7上基于Webmatrix做了如上工作，最后要把本机的成果移植到Win 2003上的IIs 6里面，win 2003上的数据库是sql server 2008 express。起初我直接把网站拷贝过去，然后用sql server的数据同步工具把表和视图导了过去，于是麻烦就来了。Umbraco backoffice里各种操作不时的出错，有时是数据库的，有时文件系统权限的问题，于是花一天多时间致力于解决这些问题。最后放弃这种方法，下载了手动安装包进行安装，在安装设置时一直连不上数据库，不是sql
 server 配置原因，也不是用户无法登陆的原因，但怎样都连不上，再次放弃。休息了一会后突然想到自己在win7上是使用微软的Web Installer 来安装的Umbraco，于是在Win 2003如法炮制，成功连上数据库安装完毕，并且web instaler 帮我创建了umbraco专用的数据库用户（这样不使用sa的话，可以保证其他数据库安全）。</p>
<p>       下面怎么能把我在开发网站的数据和网页放到win 2003 上呢。隐约记的Umbraco可以安装一种zip的包，于是在developer选项卡中找到了创建包和导入包的功能，接下来的事情很简单。另外需要注意的是，在删除包时，要先删除最低层的文档类型，再删除其父类型才可以顺利卸载。<br /></p>
<p>       <br /></p>
<p><br /></p>
<br />                    <div>
                        作者：imperman 发表于 2011/11/02 17:48:57 <a href="https://blog.csdn.net/imperman/article/details/6929291">原文链接</a> https://blog.csdn.net/imperman/article/details/6929291                    </div>
                    <div>
                        阅读：1598                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[转]使用CTEX下Bibtex需要5次编译,另附winedt的参考文献自动完成]]></title>
                <link>https://blog.csdn.net/imperman/article/details/6283517</link>
                <guid>https://blog.csdn.net/imperman/article/details/6283517</guid>
                <author>imperman</author>
                <pubDate>2011/03/28 14:34:00</pubDate>
                <description>
                    <![CDATA[
                    <p><span style="font-size:small;"><span style="text-decoration:underline;"><span style="color:#800080;"><a href="http://zxf8u8.blog.hexun.com/60694251_d.html">http://zxf8u8.blog.hexun.com/60694251_d.html</a></span></span><a href="http://blogold.chinaunix.net/u1/43023/showart_1018966.html"></a></span></p>
<p><span style="font-size:small;">完整过程<br />1. Run latex: LaTeX finds the references that are cited in the .tex file and the declaration of the bibliography style file (.bst) and bibliography database (.bib) and records them in the .aux file.<br />2. Run bibtex: BibTeX reads the .aux file to determine what cited entries to pull from what .bib files, formats and sorts the cited references according to the rules in the .bst file, and write the .bbl file.<br />3. Run latex again: LaTeX now finds the .bbl file and will read it and write cross reference data to the .aux file.<br />4. Run latex once more: LaTeX now finds the cross reference data for the citations in the .aux file and will resolve the citations.<br />5. Run latex for one last time (not always needed): Sometimes step 4 causes changes in line or page breaks that affect cross refence data for page or section links; this final pass through LaTeX should resolve those changes.</span></p>
<p> </p>
<p><span style="font-size:small;">转载</span></p>
<p> </p>
<p><span style="font-size:small;"><strong><span style="color:#295200;font-size:large;">Latex的Bibtex自动完成的用法</span></strong> </span></p>
<p><a href="http://blogold.chinaunix.net/u1/43023/showart_1018966.html">http://blogold.chinaunix.net/u1/43023/showart_1018966.html</a></p>
<p> </p>
<p> </p>                    <div>
                        作者：imperman 发表于 2011/03/28 14:34:00 <a href="https://blog.csdn.net/imperman/article/details/6283517">原文链接</a> https://blog.csdn.net/imperman/article/details/6283517                    </div>
                    <div>
                        阅读：3525                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]32位的fortran函数库在64位Linux下编译及使用的方法 ]]></title>
                <link>https://blog.csdn.net/imperman/article/details/6166964</link>
                <guid>https://blog.csdn.net/imperman/article/details/6166964</guid>
                <author>imperman</author>
                <pubDate>2011/01/27 17:07:00</pubDate>
                <description>
                    <![CDATA[
                    <p>      最近一直在使用一个数值函数库。为了尝试64位的精度，花了整夜折腾出些东西。</p>
<p>      函数库在32位Fedora下使用时，文档提供的例程的调用的都是以静态库方式调用的，使用g95编译后，用ar 工具整理到了一个.a文件。在64位的Fedora 13中，使用64位g95编译正常，但在链接时会说"<span style="color:#cc0033;">relocation R_X86_64_32 against</span> `a local symbol' can not be use"，所以无奈的情况将代码库使用g95 -PIC重新编译。使用命令gcc -shared -o libmylib.so *.o将函数打包进动态库。又使用命令 ar -x libf95.a将其中所有.o文件提出来，接着使用gcc -shared -o libf95.so *.o将g95的.o文件打包到libf95.so。在链接时要加-lmylib -lf95 来告诉gcc或 f95我们使用了这两个库。</p>
<p>      得到编译好的程序后，还要设置环境变量LD_LIBRARY_PATH来告诉系统我们库所处的位置。有时系统找不到库时，你的程序不会告诉你找不到库，直接就退出了，整的人很郁闷。使用以下命令 </p>
<p>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR1/LIB来告诉系统库的位置。可以将 libmylib.so 及libf95.so放到DIR1/LIB里面。</p>                    <div>
                        作者：imperman 发表于 2011/01/27 17:07:00 <a href="https://blog.csdn.net/imperman/article/details/6166964">原文链接</a> https://blog.csdn.net/imperman/article/details/6166964                    </div>
                    <div>
                        阅读：1422                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]Matlab 2010在ubuntu linux偶尔输入问题解决方法]]></title>
                <link>https://blog.csdn.net/imperman/article/details/6162020</link>
                <guid>https://blog.csdn.net/imperman/article/details/6162020</guid>
                <author>imperman</author>
                <pubDate>2011/01/24 22:20:00</pubDate>
                <description>
                    <![CDATA[
                    <p>     有时在编辑器里点开搜索框后,就再无法输入任何字符了。其它的时候也有可能导致无法输入。解决方法是在shell里启动matlab时后面不要带&amp;。</p>                    <div>
                        作者：imperman 发表于 2011/01/24 22:20:00 <a href="https://blog.csdn.net/imperman/article/details/6162020">原文链接</a> https://blog.csdn.net/imperman/article/details/6162020                    </div>
                    <div>
                        阅读：1220                     </div>
                    ]]>
                </description>
                <category></category>
            </item>
                    <item>
                                <title><![CDATA[[原]完成mingw-w64 与64 bit win7上的matlab 2010a 64 bit混合编译]]></title>
                <link>https://blog.csdn.net/imperman/article/details/6158929</link>
                <guid>https://blog.csdn.net/imperman/article/details/6158929</guid>
                <author>imperman</author>
                <pubDate>2011/01/22 19:00:00</pubDate>
                <description>
                    <![CDATA[
                    <p>     耗时近两个星期,终于整的可以用了。我的目的是要从64位的matlab上调用一个函数库。由一些Fortran代码，很多shell脚本，大量makefile和几个用c与fortran混合编写的mex文件组成。因为其命令大多是bash脚本，所以只能在类unix平台实现。</p>
<p>     最一开始在32位utunbu虚拟机装了matlab r14。安装过程也颇费周折，因为装上后只能出来命令行的matlab，出不来IDE。后来发现是找不到java虚拟机的缘故。装个jre6，设置javahome以及path等环境变量后即正常了。但本子配置不算太好，运算规模大点的问题就慢的厉害，所以决定还是回到win7的64位matlab 2010a。 </p>
<p>     于是开始试着在cygwin上完成这个工作，计划使用了g95做为编译器，以及使用gnumex来产生mexopts.bat。 可实际开始做时，才知道matlab 64位不能调用32位mex，所以当时困惑的厉害，网上也找不到解决方法。看有人说道gnumex对mingw支持比cygwin好，我直接下载了mingw-w64,一个拥有64位gcc和64位gfortran的mingw。</p>
<p>       首先下载了近二百M的mingw-w64文件，又找了一个32位的msys安好了。其后将msys的mingw指向mingw-w64的安装文件即可。windows shell下的mex命令是matlab bin目录中的mex.bat，这个在msys中不能执行。我们还要构造一个类似mex.bat的msys脚本。这个脚本调用mex.pl，同时将命令行参数传给mex.pl。</p>
<p>      gnumex并没有运行起,在gnumex的官网上看到一个用户提到怎样运行在matlab 2010a上，于是照猫画虎做了一遍。但还解决不了问题，有了这些经验，于是自己在gnumex中下了断点，慢慢的跟踪的看出了啥问题。最主要的是要用matlab的mex命令基于64位的c编译器编译一遍src目录中的shortpath.c与uigetpath.c。得到两个文件shortpath.mexw64与uigetpath.mexw64，编译好后与gnumex.m放一块。我使用了vc++ 2008 express和windows sdk 6.1，两个软件下载需要近两个G，但是必须安装这两个软件来编译64位的mex。其它的问题都自己下断点瞅瞅原因都可以解决了。</p>
<p>     接着反复的产生了数十次mexopts.bat。其中包括gfrotran的，gcc的，以及vc+ 2008的。期间出现的最多的问题就是未定义的引用。用gfortran时，引用不到matlab本身提供的库，如libmex.lib等。gnumex还专门给gfortran产生了一些叫flibmex.lib的库。但就是找不到符号，解决这个问题困扰了我一天多时间。后来使用了gcc版mexopts.bat。因为我的代码中有c有fortran，此时gcc引用不到gfortran的库，其实在mingw-w64的lib64文件夹有这个东东,在mexopts.bat加一行</p>
<p>                       set GM_ADD_LIBS=-llibmx -llibmex -llibmat -lgfortran</p>
<p> </p>
<p>就行。同时链接时的lib环境变量指向mingw的lib64或直接把libgfortran.a拷到当前目录。期间我试了一下vc++调用gfortran编译好的程序库。windows的.lib文件与mingw中的.a文件似乎是一样的，因为我在vc++的cl可以访问.a文件。编译出现unresolved external symbol ___chkstk，这个原因是我的gfortran程序库中的全局变量太大所致。windows 中有_chkstk这个函数，但mingw-w64中的gfortran编译好的程序库并不使用这个，而是使用了gcc的一个名字大概叫aloca的符号，所以我们只在在编译时引用上libgcc.a就可以了。</p>
<p> </p>
<p>      有时，虽然编译很成功，但在matlab执行your_app.mex64时，老叫唤invalid mex,找不到指定程序。我使用gcc与gfortran混合编译出现这个问题后，通过dependent walker分析发现your_app.mex64需要libgfortran.dll支持，只需将windows 的path环境变量指向libgfortran.dll所在目录即可。而用vc++与gfortran混编时，虽然指向了，但出了问题，本该出现在libmex.dll的调用入口函数mexErrMsgTxt 不知为什么指向libgfortran.dll。所以最终还是使用gcc+gfortran的组合，不过也发现了一种vc 与gfortran混乱编的可能性。</p>
<p>      还有一个未解决的问题就是mingw-w64 编译出来的mex文件在使用时如果入口参数以及出口参数是空的话，可以轻易的导致matlab崩溃。所以在使用这些函数时，要特别留意检查入口和出口参数。 </p>
<p> </p>                    <div>
                        作者：imperman 发表于 2011/01/22 19:00:00 <a href="https://blog.csdn.net/imperman/article/details/6158929">原文链接</a> https://blog.csdn.net/imperman/article/details/6158929                    </div>
                    <div>
                        阅读：7792 评论：6 <a href="https://blog.csdn.net/imperman/article/details/6158929#comments" target="_blank">查看评论</a>                    </div>
                    ]]>
                </description>
                <category></category>
            </item>
            </channel>
</rss>
