f92195e8e1
Todo prts,usd, and bnd1 section is needed however
38 lines
803 B
C#
38 lines
803 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
using Toolbox.Library.Forms;
|
|
using LayoutBXLYT.Cafe;
|
|
|
|
namespace LayoutBXLYT
|
|
{
|
|
public partial class LayoutTextDocked : LayoutDocked
|
|
{
|
|
TextEditor editor;
|
|
public LayoutTextDocked()
|
|
{
|
|
InitializeComponent();
|
|
|
|
editor = new TextEditor();
|
|
editor.Dock = DockStyle.Fill;
|
|
Controls.Add(editor);
|
|
}
|
|
|
|
public void Reset()
|
|
{
|
|
editor.FillEditor("");
|
|
}
|
|
|
|
public void LoadLayout(BFLYT bflyt)
|
|
{
|
|
editor.FillEditor(bflyt.ConvertToString());
|
|
}
|
|
}
|
|
}
|