-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge UnionRemotePatcher into UnionPatcher
Squashed commit of the following: commit db54f75 Author: jvyden <jvyden@jvyden.xyz> Date: Tue Jun 14 21:50:24 2022 -0400 Fix warnings in Program.cs, remove version commit abab75e Author: jvyden <jvyden@jvyden.xyz> Date: Tue Jun 14 21:45:08 2022 -0400 Enforce file-scoped namespaces commit d004b8d Author: jvyden <jvyden@jvyden.xyz> Date: Tue Jun 14 21:43:53 2022 -0400 Cleanup remote patching commit d611df7 Author: jvyden <jvyden@jvyden.xyz> Date: Tue Jun 14 21:25:57 2022 -0400 Theoretically working state commit 18b362e Author: jvyden <jvyden@jvyden.xyz> Date: Tue Jun 14 21:10:58 2022 -0400 Import code from UnionRemotePatcher Co-authored-by: Logan Lowe <loganr.lowe@gmail.com>
- Loading branch information
Showing
11 changed files
with
2,287 additions
and
65 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
using Eto.Drawing; | ||
using Eto.Forms; | ||
|
||
namespace LBPUnion.UnionPatcher.Gui.Forms; | ||
|
||
public class ModeSelectionForm : Form { | ||
#region UI | ||
public ModeSelectionForm() { | ||
this.Title = "Welcome to UnionPatcher"; | ||
this.ClientSize = new Size(500, -1); | ||
this.Content = new TableLayout { | ||
Spacing = new Size(5, 5), | ||
Padding = new Padding(10, 10, 10, 10), | ||
Rows = { | ||
new TableRow( | ||
new TableCell(new Button(openRemotePatcher) { Text = "Remote Patcher (PS3)" }) | ||
), | ||
new TableRow( | ||
new TableCell(new Button(openLocalPatcher) { Text = "Local Patch (RPCS3)", Enabled = false }) | ||
), | ||
new TableRow( | ||
new TableCell(new Button(openFilePatcher) { Text = "File Patch (PS3/RPCS3)" }) | ||
), | ||
}, | ||
}; | ||
} | ||
|
||
private void openRemotePatcher(object sender, EventArgs e) { | ||
new RemotePatchForm().Show(); | ||
this.Close(); | ||
} | ||
private void openLocalPatcher(object sender, EventArgs e) { | ||
throw new NotImplementedException(); | ||
} | ||
private void openFilePatcher(object sender, EventArgs e) { | ||
new FilePatchForm().Show(); | ||
this.Close(); | ||
} | ||
|
||
#endregion | ||
} |
Oops, something went wrong.