上传界面显示

This commit is contained in:
2025-03-16 13:11:08 +08:00
parent ca6476b87c
commit c49c45d6e4
62 changed files with 9095 additions and 1204 deletions

View File

@ -0,0 +1,39 @@
using System;
using System.ComponentModel;
using System.Drawing;
using static DH.Commons.Enums.EnumHelper;
namespace DH.Commons.Enums
{
public interface IShapeElement : INotifyPropertyChanged, ICloneable
{
string ID { get; set; }
int Index { get; set; }
int GroupIndex { get; set; }
string Name { get; set; }
void OnMouseDown(PointF point);
void OnMouseUp(PointF point);
void OnMouseMove(PointF point);
void OnMouseDoubleClick(PointF point);
bool IsIntersect(RectangleF rect);
bool IsEnabled { get; set; }
void Draw(Graphics g);
void Translate(float x, float y);
/// <summary>
/// WPF中标识该对象是否已经加入渲染需要显示
/// </summary>
bool IsShowing { get; set; }
void Initial();
bool IsCreatedDone();
ElementState State { get; set; }
}
}