コード例 #1
0
        public void PasteUnicode()
        {
            CheckDisposed();

            Clipboard.SetText("\u091C\u092E\u094D\u200D\u092E\u0947\u0906",
                              TextDataFormat.UnicodeText);

            DummyEditingHelper helper = new DummyEditingHelper();
            ITsString          str    = helper.CallGetTextFromClipboard();

            Assert.AreEqual("\u091C\u092E\u094D\u200D\u092E\u0947\u0906", str.Text);
        }
コード例 #2
0
		public void PasteUnicode()
		{
			CheckDisposed();

			Clipboard.SetText("\u091C\u092E\u094D\u200D\u092E\u0947\u0906",
				TextDataFormat.UnicodeText);

			DummyEditingHelper helper = new DummyEditingHelper();
			ITsString str = helper.CallGetTextFromClipboard();

			Assert.AreEqual("\u091C\u092E\u094D\u200D\u092E\u0947\u0906", str.Text);
		}