mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
32 lines
979 B
C#
32 lines
979 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Windows.Forms;
|
|||
|
|
|
|||
|
|
namespace MinecraftClientGUI
|
|||
|
|
{
|
|||
|
|
static class Program
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Minecraft Console Client GUI by ORelio (c) 2013.
|
|||
|
|
/// Allows to use Minecraft Console Client in a more user friendly interface
|
|||
|
|
/// This source code is released under the CDDL 1.0 License.
|
|||
|
|
/// </summary>
|
|||
|
|
|
|||
|
|
[STAThread]
|
|||
|
|
static void Main(string[] args)
|
|||
|
|
{
|
|||
|
|
if (!System.IO.File.Exists(MinecraftClient.ExePath))
|
|||
|
|
{
|
|||
|
|
MessageBox.Show("File not found: " + MinecraftClient.ExePath, "Minecraft client not found", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
Application.EnableVisualStyles();
|
|||
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|||
|
|
Application.Run(new Form1(args));
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|