------ #### RaUIV4 V4.0.2311.0701 - *.[全新]整合了MyDb、ryControls、MyDb_MySQL等dll文件到RaUI一个项目。 - *.[新增]新增ApkOp类,可以轻松获取APK信息。 - *.[新增]新增JsonExt扩展类,让Json操作更简单。 - *.[新增]新增WebP类,可以支持webp格式的图片。 - *.[改进]ryQuickSQL中的AddField方法改为自动替换已存在的同名值。 - *.[修复]ryQuickSQL中的AddFieldCalc方法无法正常计算的BUG。
60 lines
1.6 KiB
C#
60 lines
1.6 KiB
C#
using System;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
|
namespace WeifenLuo.WinFormsUI.Docking
|
|
{
|
|
public interface IDockContent : IContextMenuStripHost
|
|
{
|
|
DockContentHandler DockHandler { get; }
|
|
void OnActivated(EventArgs e);
|
|
void OnDeactivate(EventArgs e);
|
|
}
|
|
|
|
public interface IContextMenuStripHost
|
|
{
|
|
void ApplyTheme();
|
|
}
|
|
|
|
public interface INestedPanesContainer
|
|
{
|
|
DockState DockState { get; }
|
|
Rectangle DisplayingRectangle { get; }
|
|
NestedPaneCollection NestedPanes { get; }
|
|
VisibleNestedPaneCollection VisibleNestedPanes { get; }
|
|
bool IsFloat { get; }
|
|
}
|
|
|
|
public interface IDragSource
|
|
{
|
|
Control DragControl { get; }
|
|
}
|
|
|
|
public interface IDockDragSource : IDragSource
|
|
{
|
|
Rectangle BeginDrag(Point ptMouse);
|
|
void EndDrag();
|
|
bool IsDockStateValid(DockState dockState);
|
|
bool CanDockTo(DockPane pane);
|
|
void FloatAt(Rectangle floatWindowBounds);
|
|
void DockTo(DockPane pane, DockStyle dockStyle, int contentIndex);
|
|
void DockTo(DockPanel panel, DockStyle dockStyle);
|
|
}
|
|
|
|
public interface ISplitterDragSource : IDragSource
|
|
{
|
|
void BeginDrag(Rectangle rectSplitter);
|
|
void EndDrag();
|
|
bool IsVertical { get; }
|
|
Rectangle DragLimitBounds { get; }
|
|
void MoveSplitter(int offset);
|
|
}
|
|
|
|
public interface ISplitterHost : ISplitterDragSource
|
|
{
|
|
DockPanel DockPanel { get; }
|
|
DockState DockState { get; }
|
|
bool IsDockWindow { get; }
|
|
}
|
|
}
|