* Program.cs - Removed test code. Mud Designer: * Program.cs - Message box added informing developers why the editors wont launch if the source is not placed in the _InstallLocation. Mud Engine: * Now includes a reference to the ManagedScripting assembly. * BaseObject.cs - Added ScriptObject property. Visual Designer: * frmDesigner.cs - Removed File->Close test save code.
38 lines
No EOL
1 KiB
C#
38 lines
No EOL
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Windows.Forms;
|
|
|
|
namespace CurrencyEditor
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
MUDEngine.Engine.ValidateProjectPath(Application.StartupPath);
|
|
MUDEngine.FileSystem.FileSystem.FileType = MUDEngine.FileSystem.FileSystem.OutputFormats.XML;
|
|
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new frmMain());
|
|
}
|
|
}
|
|
}
|
|
|
|
namespace Project2
|
|
{
|
|
public class MyClass
|
|
{
|
|
public string DoSomething(string argument1, string argument2)
|
|
{
|
|
if (!argument1.Equals(argument2))
|
|
return "The two arguments are different";
|
|
else
|
|
return "The two arguments are the same";
|
|
}
|
|
}
|
|
} |