Пример #1
0
        private void AdvancedButton_Click(object sender, EventArgs e)
        {
            Advanced advancedMenu = new Advanced();

            Hide();
            advancedMenu.ShowDialog();
            Close();
        }
Пример #2
0
        private void UninstallButton_Click(object sender, EventArgs e)
        {
            Hide();

            if (Paths.Sims4Path == null)
            {
                Advanced advancedMenu = new Advanced();

                Hide();

                MessageBox.Show(Localization.GetString("CouldNotFindSims4DirectoryMessageText"), "", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                advancedMenu.ShowDialog();

                Close();
            }

            Main.Run();
            Close();
        }