Commit for development environment setup
This commit is contained in:
1 parent
be72063a3c
commit
bbce2ad0a6
2209 files changed
+1171775
-625
No files matched your search
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace RichTextBoxTesting
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void RTB_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (changing) return;
|
||||
changing = true;
|
||||
TB.Text = RTB.Rtf;
|
||||
changing = false;
|
||||
}
|
||||
|
||||
bool changing = false;
|
||||
|
||||
private void TB_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (changing) return;
|
||||
changing = true;
|
||||
RTB.Rtf = TB.Text;
|
||||
changing = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user