Bzgl. Rechtschreibprüfung:
Verweise
PHP Code:
WindowsBase
PresentationCore
PresentationFramework
Klasse
PHP Code:
using System.Windows.Forms.Integration;
namespace Checker
{
class RTBSpellCheck : System.Windows.Controls.RichTextBox
{
public ElementHost ElementHost;
public RTBSpellCheck()
{
this.ElementHost = new ElementHost { Child = this };
System.Windows.Controls.SpellCheck.SetIsEnabled(this, true);
}
}
}
Form
PHP Code:
using System.Windows.Forms;
namespace Checker
{
public partial class frmMain : Form
{
private RTBSpellCheck rtb = new RTBSpellCheck();
public frmMain()
{
InitializeComponent();
this.Controls.Add(rtb.ElementHost);
}
}
}
An deine Bedürfnisse anpassen wirst du hoffentlich selber schaffen.
PS: Falsche Section