⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.htm

📁 how to the clipboard
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>ReadMe</title>
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<meta content="Microsoft FrontPage 5.0" name="GENERATOR">
		<meta content="FrontPage.Editor.Document" name="ProgId">
		<meta content="Microsoft Visual Studio.NET 7.0" name="Originator">
	</head>
	<body>
		<h1>
			Windows Forms: Use the Clipboard</h1>
		<p>This sample shows you how to place and retrieve items from the 
        Clipboard in multiple formats. It demonstrates the primary properties 
        and methods used when using the Clipboard.</p>
		<h2>Featured Highlights:</h2>
		The text &quot;The Clipboard is Cool!&quot; is provided in multiple formats (as 
        class variables).<br>
        <br>
        The text can be copied to the Clipboard in a single format, or stored in 
        the Clipboard as multiple formats concurrently, all from the <br>
        &quot;Edit&quot; menu.<br>
        <br>
        An image can also be loaded and stored in the Clipboard from the &quot;Edit&quot; 
        menu.<br>
        <br>
        The &quot;Paste As&quot; menu is dynamically generated from the various formats 
        that are stored in the Clipboard.<br>
        <br>
        Items can be copied to the clipboard from other windows applications, 
        and pasted into the sample form. The opposite is also true.<H2>Requirements:</H2>
		<p>Requires Microsoft Visual Studio.NET and Windows 2000 or Windows XP.</p>
		<h2>Running the Sample:</h2>
		<p>To use this sample, run the application and then explore the &quot;Edit&quot; 
        menu options. Select &quot;Edit -&gt; Copy Text As -&gt; RTF&quot;, as<br>
        an example. Then select &quot;Edit -&gt; Paste As -&gt; Rich Text Format&quot;. You can 
        then examine how the text is pasted differently into a <br>
        RichTextBox and a TextBox.<br>
        <br>
        Then try the same with HTML. Note that the RichTextBox does not support 
        the HTML format. Try to paste the HTML into an HTML editor <br>
        (a Visual Studio .NET HTML document works well). See how it is pasted 
        correctly.<br>
        <br>
        Then try &quot;Edit -&gt; Paste As -&gt; All Formats&quot;, and notice that multiple 
        versions of the same text are stored on the Clipboard. You can now paste<br>
        as Text, RTF, HTML, and a proprietary XML format.</p>
		<h3>See also</h3>
		<p>
        <a href="ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemWindowsFormsClipboardMembersTopic.htm">
        Clipboard Class </a>&nbsp;<a href="ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskplacingdataonclipboard.htm">Placing 
        data on the Clipboard</a>&nbsp;
        <a href="ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskretrievinginformationfromclipboard.htm">
        Retrieve Information from the Clipboard</a></p>
		&nbsp;</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -