2009-11-08 23:53:22 +01:00
|
|
|
|
/* This file is part of CustomizeMii
|
|
|
|
|
* Copyright (C) 2009 Leathl
|
|
|
|
|
*
|
2009-11-24 01:09:42 +01:00
|
|
|
|
* CustomizeMii is free software: you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License as published
|
|
|
|
|
* by the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* CustomizeMii is distributed in the hope that it will be
|
|
|
|
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
|
|
|
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2009-11-08 23:53:22 +01:00
|
|
|
|
* GNU General Public License for more details.
|
2009-11-24 01:09:42 +01:00
|
|
|
|
*
|
2009-11-08 23:53:22 +01:00
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2009-11-24 01:09:42 +01:00
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2009-11-08 23:53:22 +01:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
2010-02-06 00:09:36 +01:00
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Threading;
|
2009-11-08 23:53:22 +01:00
|
|
|
|
|
|
|
|
|
namespace CustomizeMii
|
|
|
|
|
{
|
|
|
|
|
static class Program
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Der Haupteinstiegspunkt für die Anwendung.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[STAThread]
|
2010-03-28 20:29:30 +02:00
|
|
|
|
static void Main(string[] args)
|
2009-11-08 23:53:22 +01:00
|
|
|
|
{
|
2010-03-28 20:29:30 +02:00
|
|
|
|
if (!File.Exists(Application.StartupPath + Path.DirectorySeparatorChar + "libWiiSharp.dll"))
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("libWiiSharp.dll wasn't found!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
Environment.Exit(-1);
|
|
|
|
|
}
|
2010-02-06 00:09:36 +01:00
|
|
|
|
|
2009-11-08 23:53:22 +01:00
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
2010-03-28 20:29:30 +02:00
|
|
|
|
Application.Run(new CustomizeMii_Main(args));
|
2010-02-06 00:09:36 +01:00
|
|
|
|
}
|
2009-11-08 23:53:22 +01:00
|
|
|
|
}
|
|
|
|
|
}
|