Commit for development environment setup
This commit is contained in:
38
PROMS/RTB Testing/frmProcess.cs
Normal file
38
PROMS/RTB Testing/frmProcess.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user