清理无用代码

This commit is contained in:
a88359121
2025-07-31 11:18:43 +08:00
parent 03087c0483
commit 2c4be8993c
107 changed files with 1119 additions and 1477 deletions
+5 -11
View File
@@ -1,18 +1,12 @@
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 LargeSquareOne
{
public partial class FrmMsgBoxOutWithAck : Form
{
public FrmMsgBoxOutWithAck(int type,string content, string title)
public FrmMsgBoxOutWithAck(int type, string content, string title)
{
InitializeComponent();
@@ -21,7 +15,7 @@ namespace LargeSquareOne
this.lbl_Content.Text = content;
this.lbl_Title.Text = title;
switch(type)
switch (type)
{
case 1:
this.pic_TitleImage.Image = LargeSquareOne.Properties.Resources.info;
@@ -33,7 +27,7 @@ namespace LargeSquareOne
this.pic_TitleImage.Image = LargeSquareOne.Properties.Resources.error;
break;
}
}
@@ -42,14 +36,14 @@ namespace LargeSquareOne
private Point mPoint;
private void Panel_MouseDown(object sender, MouseEventArgs e)
{
mPoint=new Point(e.X, e.Y);
mPoint = new Point(e.X, e.Y);
}
private void Panel_MouseMove(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
this.Location=new Point(this.Location.X+e.X-mPoint.X,this.Location.Y+e.Y-mPoint.Y);
this.Location = new Point(this.Location.X + e.X - mPoint.X, this.Location.Y + e.Y - mPoint.Y);
}
}
#endregion