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 TomWinform.CustomerControl
{
public partial class DragPanel : Panel
{
private Color borderColor = Color.Black;
private float borderSize = 1;
private Point point;
public DragPanel()
{
InitializeComponent();
this.MouseDown += new MouseEventHandler(DragMouseDown);
this.MouseMove += new MouseEventHandler(DragMouseMove);
this.MouseUp += new MouseEventHandler(DragMouseUp);
}
protected override void OnPaint(PaintEventArgs pe)
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 TomWinform.CustomerControl
{
public partial class DragPanel : Panel
{
private Color borderColor = Color.Black;
private float borderSize = 1;
private Point point;
public DragPanel()
{
InitializeComponent();
this.MouseDown += new MouseEventHandler(DragMouseDown);
this.MouseMove += new MouseEventHandler(DragMouseMove);
this.MouseUp += new MouseEventHandler(DragMouseUp);
}
protected override void OnPaint(PaintEventArgs pe)