Libation/Source/LibationWinForms/NewUI/ProcessBookForm.cs
2022-05-12 00:10:13 -06:00

35 lines
650 B
C#

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 LibationWinForms
{
public partial class ProcessBookForm : Form
{
private Control _dockControl;
public int WidthChange { get; set; }
public ProcessBookForm()
{
InitializeComponent();
}
public void PassControl(Control dockControl)
{
_dockControl = dockControl;
Controls.Add(_dockControl);
}
public Control RegainControl()
{
Controls.Remove(_dockControl);
return _dockControl;
}
}
}