Improve visual interactivity with storage slots

* Replace the background with a frosty partially transparent image to
snap user attention to the hovered slot
* change cursor to hand symbol when over a draggable box slot
* remove duplicated resource references
* remove unused line in rtc3
This commit is contained in:
Kurt
2017-04-13 23:05:19 -07:00
parent bbc6915114
commit 8a8b43948b
8 changed files with 163 additions and 64 deletions

View File

@@ -444,6 +444,7 @@ public void InitializeComponent()
this.B_OpenMiscEditor = new System.Windows.Forms.Button();
this.B_OpenHoneyTreeEditor = new System.Windows.Forms.Button();
this.B_OpenFriendSafari = new System.Windows.Forms.Button();
this.B_OpenRTCEditor = new System.Windows.Forms.Button();
this.dragout = new System.Windows.Forms.PictureBox();
this.mnuL = new System.Windows.Forms.ContextMenuStrip(this.components);
this.mnuLLegality = new System.Windows.Forms.ToolStripMenuItem();
@@ -451,7 +452,6 @@ public void InitializeComponent()
this.mnuLSave = new System.Windows.Forms.ToolStripMenuItem();
this.PB_Legal = new System.Windows.Forms.PictureBox();
this.L_UpdateAvailable = new System.Windows.Forms.LinkLabel();
this.B_OpenRTCEditor = new System.Windows.Forms.Button();
this.tabMain.SuspendLayout();
this.Tab_Main.SuspendLayout();
this.FLP_Main.SuspendLayout();
@@ -4181,6 +4181,8 @@ public void InitializeComponent()
this.bpkx30.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx30.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx30.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx30.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx30.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx30.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx30.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4229,6 +4231,8 @@ public void InitializeComponent()
this.bpkx29.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx29.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx29.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx29.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx29.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx29.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx29.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4247,6 +4251,8 @@ public void InitializeComponent()
this.bpkx28.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx28.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx28.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx28.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx28.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx28.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx28.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4265,6 +4271,8 @@ public void InitializeComponent()
this.bpkx27.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx27.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx27.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx27.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx27.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx27.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx27.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4283,6 +4291,8 @@ public void InitializeComponent()
this.bpkx26.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx26.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx26.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx26.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx26.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx26.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx26.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4301,6 +4311,8 @@ public void InitializeComponent()
this.bpkx25.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx25.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx25.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx25.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx25.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx25.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx25.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4319,6 +4331,8 @@ public void InitializeComponent()
this.bpkx24.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx24.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx24.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx24.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx24.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx24.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx24.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4337,6 +4351,8 @@ public void InitializeComponent()
this.bpkx23.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx23.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx23.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx23.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx23.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx23.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx23.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4355,6 +4371,8 @@ public void InitializeComponent()
this.bpkx22.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx22.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx22.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx22.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx22.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx22.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx22.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4373,6 +4391,8 @@ public void InitializeComponent()
this.bpkx21.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx21.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx21.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx21.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx21.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx21.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx21.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4391,6 +4411,8 @@ public void InitializeComponent()
this.bpkx20.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx20.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx20.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx20.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx20.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx20.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx20.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4409,6 +4431,8 @@ public void InitializeComponent()
this.bpkx19.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx19.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx19.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx19.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx19.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx19.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx19.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4427,6 +4451,8 @@ public void InitializeComponent()
this.bpkx18.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx18.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx18.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx18.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx18.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx18.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx18.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4445,6 +4471,8 @@ public void InitializeComponent()
this.bpkx17.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx17.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx17.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx17.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx17.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx17.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx17.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4463,6 +4491,8 @@ public void InitializeComponent()
this.bpkx16.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx16.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx16.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx16.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx16.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx16.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx16.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4481,6 +4511,8 @@ public void InitializeComponent()
this.bpkx15.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx15.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx15.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx15.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx15.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx15.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx15.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4499,6 +4531,8 @@ public void InitializeComponent()
this.bpkx14.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx14.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx14.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx14.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx14.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx14.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4517,6 +4551,8 @@ public void InitializeComponent()
this.bpkx13.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx13.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx13.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx13.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx13.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx13.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx13.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4535,6 +4571,8 @@ public void InitializeComponent()
this.bpkx12.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx12.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx12.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx12.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx12.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx12.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx12.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4553,6 +4591,8 @@ public void InitializeComponent()
this.bpkx11.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx11.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx11.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx11.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx11.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx11.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx11.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4571,6 +4611,8 @@ public void InitializeComponent()
this.bpkx10.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx10.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx10.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx10.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx10.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx10.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx10.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4589,6 +4631,8 @@ public void InitializeComponent()
this.bpkx9.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx9.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx9.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx9.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx9.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx9.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx9.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4607,6 +4651,8 @@ public void InitializeComponent()
this.bpkx8.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx8.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx8.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx8.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx8.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx8.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4625,6 +4671,8 @@ public void InitializeComponent()
this.bpkx7.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx7.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx7.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx7.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx7.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx7.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4643,6 +4691,8 @@ public void InitializeComponent()
this.bpkx6.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx6.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx6.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx6.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx6.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4661,6 +4711,8 @@ public void InitializeComponent()
this.bpkx5.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx5.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx5.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx5.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx5.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4679,6 +4731,8 @@ public void InitializeComponent()
this.bpkx4.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx4.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx4.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx4.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4697,6 +4751,8 @@ public void InitializeComponent()
this.bpkx3.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx3.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx3.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx3.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx3.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4715,6 +4771,8 @@ public void InitializeComponent()
this.bpkx2.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx2.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx2.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4733,6 +4791,8 @@ public void InitializeComponent()
this.bpkx1.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bpkx1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bpkx1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bpkx1.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bpkx1.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bpkx1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bpkx1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4853,6 +4913,8 @@ public void InitializeComponent()
this.bbpkx1.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bbpkx1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bbpkx1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bbpkx1.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bbpkx1.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bbpkx1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bbpkx1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4882,6 +4944,8 @@ public void InitializeComponent()
this.bbpkx2.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bbpkx2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bbpkx2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bbpkx2.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bbpkx2.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bbpkx2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bbpkx2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4897,6 +4961,8 @@ public void InitializeComponent()
this.bbpkx3.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bbpkx3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bbpkx3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bbpkx3.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bbpkx3.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bbpkx3.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bbpkx3.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4912,6 +4978,8 @@ public void InitializeComponent()
this.bbpkx4.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bbpkx4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bbpkx4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bbpkx4.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bbpkx4.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bbpkx4.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bbpkx4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4927,6 +4995,8 @@ public void InitializeComponent()
this.bbpkx5.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bbpkx5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bbpkx5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bbpkx5.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bbpkx5.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bbpkx5.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bbpkx5.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -4942,6 +5012,8 @@ public void InitializeComponent()
this.bbpkx6.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.bbpkx6.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.bbpkx6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.bbpkx6.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.bbpkx6.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.bbpkx6.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.bbpkx6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5004,6 +5076,8 @@ public void InitializeComponent()
this.ppkx1.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.ppkx1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.ppkx1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.ppkx1.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.ppkx1.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.ppkx1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.ppkx1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5021,6 +5095,8 @@ public void InitializeComponent()
this.ppkx2.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.ppkx2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.ppkx2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.ppkx2.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.ppkx2.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.ppkx2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.ppkx2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5038,6 +5114,8 @@ public void InitializeComponent()
this.ppkx3.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.ppkx3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.ppkx3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.ppkx3.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.ppkx3.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.ppkx3.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.ppkx3.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5055,6 +5133,8 @@ public void InitializeComponent()
this.ppkx4.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.ppkx4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.ppkx4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.ppkx4.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.ppkx4.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.ppkx4.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.ppkx4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5072,6 +5152,8 @@ public void InitializeComponent()
this.ppkx5.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.ppkx5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.ppkx5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.ppkx5.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.ppkx5.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.ppkx5.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.ppkx5.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5089,6 +5171,8 @@ public void InitializeComponent()
this.ppkx6.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.ppkx6.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.ppkx6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.ppkx6.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.ppkx6.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.ppkx6.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.ppkx6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5211,6 +5295,8 @@ public void InitializeComponent()
this.dcpkx2.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.dcpkx2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.dcpkx2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.dcpkx2.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.dcpkx2.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.dcpkx2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.dcpkx2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5227,6 +5313,8 @@ public void InitializeComponent()
this.dcpkx1.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.dcpkx1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.dcpkx1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.dcpkx1.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.dcpkx1.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.dcpkx1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.dcpkx1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5264,6 +5352,8 @@ public void InitializeComponent()
this.gtspkx.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.gtspkx.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.gtspkx.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.gtspkx.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.gtspkx.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.gtspkx.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.gtspkx.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5290,6 +5380,8 @@ public void InitializeComponent()
this.fusedpkx.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.fusedpkx.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.fusedpkx.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.fusedpkx.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.fusedpkx.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.fusedpkx.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.fusedpkx.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5328,6 +5420,8 @@ public void InitializeComponent()
this.subepkx1.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.pbBoxSlot_QueryContinueDrag);
this.subepkx1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseClick);
this.subepkx1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseDown);
this.subepkx1.MouseEnter += new System.EventHandler(this.pbBoxSlot_MouseEnter);
this.subepkx1.MouseLeave += new System.EventHandler(this.pbBoxSlot_MouseLeave);
this.subepkx1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseMove);
this.subepkx1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbBoxSlot_MouseUp);
//
@@ -5743,6 +5837,16 @@ public void InitializeComponent()
this.B_OpenFriendSafari.UseVisualStyleBackColor = true;
this.B_OpenFriendSafari.Click += new System.EventHandler(this.B_OpenFriendSafari_Click);
//
// B_OpenRTCEditor
//
this.B_OpenRTCEditor.Location = new System.Drawing.Point(3, 206);
this.B_OpenRTCEditor.Name = "B_OpenRTCEditor";
this.B_OpenRTCEditor.Size = new System.Drawing.Size(87, 23);
this.B_OpenRTCEditor.TabIndex = 29;
this.B_OpenRTCEditor.Text = "Clock (RTC)";
this.B_OpenRTCEditor.UseVisualStyleBackColor = true;
this.B_OpenRTCEditor.Click += new System.EventHandler(this.B_OpenRTCEditor_Click);
//
// dragout
//
this.dragout.BackColor = System.Drawing.Color.Transparent;
@@ -5756,8 +5860,8 @@ public void InitializeComponent()
this.dragout.DragDrop += new System.Windows.Forms.DragEventHandler(this.dragoutDrop);
this.dragout.DragOver += new System.Windows.Forms.DragEventHandler(this.dragout_DragOver);
this.dragout.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dragout_MouseDown);
this.dragout.MouseEnter += new System.EventHandler(this.dragoutEnter);
this.dragout.MouseLeave += new System.EventHandler(this.dragoutLeave);
this.dragout.MouseHover += new System.EventHandler(this.dragoutHover);
//
// mnuL
//
@@ -5811,16 +5915,6 @@ public void InitializeComponent()
this.L_UpdateAvailable.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.L_UpdateAvailable.Visible = false;
//
// B_OpenRTCEditor
//
this.B_OpenRTCEditor.Location = new System.Drawing.Point(3, 206);
this.B_OpenRTCEditor.Name = "B_OpenRTCEditor";
this.B_OpenRTCEditor.Size = new System.Drawing.Size(87, 23);
this.B_OpenRTCEditor.TabIndex = 29;
this.B_OpenRTCEditor.Text = "Clock (RTC)";
this.B_OpenRTCEditor.UseVisualStyleBackColor = true;
this.B_OpenRTCEditor.Click += new System.EventHandler(this.B_OpenRTCEditor_Click);
//
// Main
//
this.AllowDrop = true;

View File

@@ -3314,13 +3314,16 @@ private void dragout_DragOver(object sender, DragEventArgs e)
e.Effect = DragDropEffects.Move;
}
// Dragout Display
private void dragoutHover(object sender, EventArgs e)
private void dragoutEnter(object sender, EventArgs e)
{
dragout.BackgroundImage = WinFormsUtil.getIndex(CB_Species) > 0 ? Resources.slotSet : Resources.slotDel;
Cursor = Cursors.Hand;
}
private void dragoutLeave(object sender, EventArgs e)
{
dragout.BackgroundImage = Resources.slotTrans;
if (Cursor == Cursors.Hand)
Cursor = Cursors.Default;
}
private void dragoutDrop(object sender, DragEventArgs e)
{
@@ -4322,6 +4325,25 @@ private void clickSaveFileName(object sender, EventArgs e)
}
// Drag and drop related functions
private static Image OriginalBackground;
private static Image CurrentBackground;
private void pbBoxSlot_MouseEnter(object sender, EventArgs e)
{
var pb = (PictureBox) sender;
if (pb.Image == null)
return;
OriginalBackground = pb.BackgroundImage;
pb.BackgroundImage = CurrentBackground = Resources.slotHover;
Cursor = Cursors.Hand;
}
private void pbBoxSlot_MouseLeave(object sender, EventArgs e)
{
var pb = (PictureBox)sender;
if (pb.BackgroundImage != CurrentBackground)
return;
pb.BackgroundImage = OriginalBackground;
Cursor = Cursors.Default;
}
private void pbBoxSlot_MouseClick(object sender, MouseEventArgs e)
{
if (!DragInfo.slotDragDropInProgress)

View File

@@ -12,7 +12,6 @@ public SAV_RTC3()
InitializeComponent();
WinFormsUtil.TranslateInterface(this, Main.curlanguage);
int block0 = SAV.getBlockOffset(0);
ClockInitial = SAV.ClockInitial;
ClockElapsed = SAV.ClockElapsed;
loadData();

View File

@@ -5,6 +5,7 @@
using System.Threading;
using System.Windows.Forms;
using PKHeX.Core;
using PKHeX.Core.Properties;
using static PKHeX.WinForms.Main;
namespace PKHeX.WinForms
@@ -42,6 +43,8 @@ public SAV_BoxViewer(Main p)
pb.DragDrop += pbBoxSlot_DragDrop;
pb.DragEnter += pbBoxSlot_DragEnter;
pb.QueryContinueDrag += pbBoxSlot_QueryContinueDrag;
pb.MouseEnter += pbBoxSlot_MouseEnter;
pb.MouseLeave += pbBoxSlot_MouseLeave;
}
for (int i = SAV.BoxSlotCount; i < SlotPictureBoxes.Length; i++)
SlotPictureBoxes[i].Visible = false;
@@ -132,6 +135,25 @@ private int getSlot(object sender)
}
// Drag and drop related functions
private static Image OriginalBackground;
private static Image CurrentBackground;
private void pbBoxSlot_MouseEnter(object sender, EventArgs e)
{
var pb = (PictureBox)sender;
if (pb.Image == null)
return;
OriginalBackground = pb.BackgroundImage;
pb.BackgroundImage = CurrentBackground = Resources.slotHover;
Cursor = Cursors.Hand;
}
private void pbBoxSlot_MouseLeave(object sender, EventArgs e)
{
var pb = (PictureBox)sender;
if (pb.BackgroundImage != CurrentBackground)
return;
pb.BackgroundImage = OriginalBackground;
Cursor = Cursors.Default;
}
private void pbBoxSlot_MouseUp(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)

View File

@@ -3520,6 +3520,7 @@
<None Include="Resources\img\misc\team.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\img\box\slotHover.png" />
<Content Include="Resources\img\misc\horohoro.png" />
<Content Include="Resources\img\misc\vc.png" />
<None Include="Resources\text\zh\text_Char_zh2.txt" />

View File

@@ -12354,7 +12354,7 @@ public class Resources {
/// <summary>
/// Looks up a localized string similar to 148 Starter 00:Rowlet,01:Litten,02:Popplio
///432 Tapu Koku 03:Battleable,04:Defeated,05:Captured
///432 Tapu Koko 03:Battleable,04:Defeated,05:Captured
///433 Tapu Lele 01:Battleable,02:Defeated,03:Captured
///434 Tapu Bulu 01:Battleable,02:Defeated,03:Captured
///404 Tapu Fini 03:Battleable,04:Defeated,05:Captured.
@@ -18189,14 +18189,14 @@ public class Resources {
///V175 = 特殊不可回忆招式。
///V177 = 通过升级习得。
///V330 = 在第{0}世代通过升级习得。
///V331 = 在第{0}世代通过TM/HM习得。
///V332 = 在第{0}世代通过招式教学习得。
///V333 = 配信蛋招式。
///V344 = 遗传了蛋招式。
///V345 = 遗传了升级招式。
///V346 = 遗传了教学招式。
///V349 = 遗传了TM/HM招式。
///V355 = 通过土居忍士进化为铁面忍者习得。
///V356 = 通过土居忍士在第{0}世 [rest of string was truncated]&quot;;.
///V355 = 通过土居忍士进化为铁面 [rest of string was truncated]&quot;;.
/// </summary>
public static string LegalityCheckStrings_zh {
get {
@@ -19760,9 +19760,9 @@ public class Resources {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap slotDel1 {
public static System.Drawing.Bitmap slotDrag {
get {
object obj = ResourceManager.GetObject("slotDel1", resourceCulture);
object obj = ResourceManager.GetObject("slotDrag", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@@ -19770,9 +19770,9 @@ public class Resources {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap slotDrag {
public static System.Drawing.Bitmap slotHover {
get {
object obj = ResourceManager.GetObject("slotDrag", resourceCulture);
object obj = ResourceManager.GetObject("slotHover", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@@ -19787,16 +19787,6 @@ public class Resources {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap slotSet1 {
get {
object obj = ResourceManager.GetObject("slotSet1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -19807,16 +19797,6 @@ public class Resources {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap slotTrans1 {
get {
object obj = ResourceManager.GetObject("slotTrans1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -19827,16 +19807,6 @@ public class Resources {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap slotView1 {
get {
object obj = ResourceManager.GetObject("slotView1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized string similar to Subregion ID,JP,EN,FR,DE,IT,ES,ZH,KO
///000,—,—,—,—,—,—,—,—
@@ -23151,7 +23121,7 @@ public class Resources {
///迷幻森林
///试炼之室
///引导之间
///潜入连接
///连入之森
///雷文市
///帆巴市
/// [rest of string was truncated]&quot;;.

View File

@@ -6364,18 +6364,6 @@
<data name="box_wp24xy" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\box\xy\box_wp24xy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="slotDel1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\box\slotDel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="slotSet1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\box\slotSet.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="slotTrans1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\box\slotTrans.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="slotView1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\box\slotView.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="item_tm" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\item\item_tm.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -7567,4 +7555,7 @@
<data name="text_Char_zh2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\text\zh\text_Char_zh2.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="slotHover" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\box\slotHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB