38 lines
		
	
	
		
			851 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			851 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.ComponentModel;
 | |
| using System.Data;
 | |
| using System.Drawing;
 | |
| using System.Text;
 | |
| using System.Windows.Forms;
 | |
| using Volian.Controls.Library;
 | |
| 
 | |
| namespace RTB_Testing
 | |
| {
 | |
| 	public partial class frmProcess : Form
 | |
| 	{
 | |
| 		public frmProcess()
 | |
| 		{
 | |
| 			InitializeComponent();
 | |
| 			frmRTBTesting myTest = new frmRTBTesting();
 | |
| 			myTest.Show();
 | |
| 		}
 | |
| 
 | |
| 		private void tbInput_TextChanged(object sender, EventArgs e)
 | |
| 		{
 | |
| 			Clipboard.Clear();
 | |
| 			Clipboard.SetData("Rich Text Format",tbInput.Text);
 | |
| 			stepRTB1.Paste();
 | |
| 			stepRTB1.SelectAll();
 | |
| 			stepRTB1.Copy();
 | |
| 			rtb.Paste();
 | |
| 			//stepRTB1.Rtf = tbInput.Text;
 | |
| 			//rtb.Rtf = tbInput.Text;
 | |
| 			tbText.Text = stepRTB1.Text;
 | |
| 			tbRtf.Text = stepRTB1.Rtf;
 | |
| 			RichTextBox41 rtb41 = new RichTextBox41();
 | |
| 			rtb41.Rtf = tbInput.Text;
 | |
| 			tbProcess.Text = rtb41.Rtf;
 | |
| 		}
 | |
| 	}
 | |
| } |