mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-12-04 21:02:56 +08:00
Changed namespace of Peds and Vehicle forms, to fix crash in standalone exes
This commit is contained in:
parent
7e849fd891
commit
2cd61469e2
8
CodeWalker.Peds/Properties/launchSettings.json
Normal file
8
CodeWalker.Peds/Properties/launchSettings.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"profiles": {
|
||||||
|
"CodeWalker.Peds": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"workingDirectory": ".."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
8
CodeWalker.Vehicles/Properties/launchSettings.json
Normal file
8
CodeWalker.Vehicles/Properties/launchSettings.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"profiles": {
|
||||||
|
"CodeWalker.Vehicles": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"workingDirectory": ".."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2
CodeWalker/PedsForm.Designer.cs
generated
2
CodeWalker/PedsForm.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace CodeWalker.Peds
|
namespace CodeWalker
|
||||||
{
|
{
|
||||||
partial class PedsForm
|
partial class PedsForm
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Color = SharpDX.Color;
|
using Color = SharpDX.Color;
|
||||||
|
|
||||||
namespace CodeWalker.Peds
|
namespace CodeWalker
|
||||||
{
|
{
|
||||||
public partial class PedsForm : Form, DXForm
|
public partial class PedsForm : Form, DXForm
|
||||||
{
|
{
|
||||||
|
@ -83,11 +83,11 @@ namespace CodeWalker
|
|||||||
}
|
}
|
||||||
else if (vehiclesmode)
|
else if (vehiclesmode)
|
||||||
{
|
{
|
||||||
Application.Run(new Vehicles.VehicleForm());
|
Application.Run(new VehicleForm());
|
||||||
}
|
}
|
||||||
else if (pedsmode)
|
else if (pedsmode)
|
||||||
{
|
{
|
||||||
Application.Run(new Peds.PedsForm());
|
Application.Run(new PedsForm());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
2
CodeWalker/VehicleForm.Designer.cs
generated
2
CodeWalker/VehicleForm.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace CodeWalker.Vehicles
|
namespace CodeWalker
|
||||||
{
|
{
|
||||||
partial class VehicleForm
|
partial class VehicleForm
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Color = SharpDX.Color;
|
using Color = SharpDX.Color;
|
||||||
|
|
||||||
namespace CodeWalker.Vehicles
|
namespace CodeWalker
|
||||||
{
|
{
|
||||||
public partial class VehicleForm : Form, DXForm
|
public partial class VehicleForm : Form, DXForm
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user