using System.Text;
using System.Windows.Forms;
using WPDynamic; // reference to the TextDynamic wrapper
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
WPDLLInt.SetDLLName("{hkcu}Software\\WPCubed\\TextDynamic\\path");
InitializeComponent();
// 1.) Set the Editor Mode
WPDLLInt1.SetEditorMode
(
EditorMode.wpmodDoubleEditor,
EditorXMode.wpmodexToolbarLG, // = ModeX
EditorGUI.wpguiHorzScrollBar | // = GUI of upper Editor
EditorGUI.wpguiPanelH1 | EditorGUI.wpguiPanelV1 |
EditorGUI.wpguiPanelV2 | EditorGUI.wpguiRuler |
EditorGUI.wpguiVertRuler | EditorGUI.wpguiVertScrollBar
, EditorGUI.wpguiVertScrollBar // = GUI of lower Editor
);
// 2.) Load the PCC file
WPDLLInt1.SetLayout("..\\buttons.pcc", "");
|