Ejemplo n.º 1
0
        private bool CommonKeyCheck()
        {
            if (!File.Exists(Application.StartupPath + "\\common-key.bin"))
            {
                ThemeMii_ckInput ib = new ThemeMii_ckInput();

                if (ib.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    Wii.Tools.CreateCommonKey(ib.Input, Application.StartupPath);
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
            else
            {
                return(true);
            }
        }
        private bool CommonKeyCheck()
        {
            if (!File.Exists(Application.StartupPath + "\\common-key.bin"))
            {
                ThemeMii_ckInput ib = new ThemeMii_ckInput();

                if (ib.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    Wii.Tools.CreateCommonKey(ib.Input, Application.StartupPath);
                    return true;
                }
                else return false;
            }
            else return true;
        }