no message

This commit is contained in:
SilicaAndPina 2019-06-23 02:25:51 +12:00
parent 1f8ac28147
commit 13d1046634
1 changed files with 5 additions and 5 deletions

View File

@ -70,13 +70,13 @@ namespace PSMUI
private Point GetTextPosition() private Point GetTextPosition()
{ {
Point location = new Point(160, 175); Point location = new Point(160, 170);
for (int i = 0; i < NumberOfGames; i++) for (int i = 0; i < NumberOfGames; i++)
{ {
location.X += 128 + 35; location.X += 128 + 35;
if (location.X + 128 + 35 >= 1280) if (location.X + 128 + 35 >= 1280)
{ {
location.Y += 175; location.Y += 128 + 45;
location.X = 160; location.X = 160;
} }
} }
@ -119,8 +119,8 @@ namespace PSMUI
PSMGameName.Visible = true; PSMGameName.Visible = true;
PSMGameName.Width = 128; PSMGameName.Width = 128;
PSMGameName.Height = 25; PSMGameName.Height = 35;
PSMGameName.TextAlign = ContentAlignment.TopCenter; PSMGameName.TextAlign = ContentAlignment.MiddleCenter;
PSMGameName.BackColor = Color.Transparent; PSMGameName.BackColor = Color.Transparent;
PSMGameName.ForeColor = Color.White; PSMGameName.ForeColor = Color.White;
PSMGameName.Text = GetPSMName(id); PSMGameName.Text = GetPSMName(id);
@ -169,7 +169,7 @@ namespace PSMUI
Rect MySize = new Rect(); Rect MySize = new Rect();
GetWindowRect(myhnd, ref MySize); GetWindowRect(myhnd, ref MySize);
Thread.Sleep(500); Thread.Sleep(1100);
IntPtr hnd = proc.MainWindowHandle; IntPtr hnd = proc.MainWindowHandle;
Console.WriteLine("Window Handle: "+hnd); Console.WriteLine("Window Handle: "+hnd);