Example #1
0
        private void materialButton1_Click(object sender, EventArgs e)
        {
            if (!isVersionMenuOpen)
            {
                installComboBox.Show();
                noteLbl.Show();
                isVersionMenuOpen = true;
            }

            if (isVersionMenuOpen && installComboBox.SelectedIndex != -1)
            {
                ConsoleWrapper.PrintMessage("Installing " + installComboBox.SelectedItem.ToString(), ConsoleWrapper.PrintStatus.Normal);
                MessageBox.Show(installComboBox.SelectedItem.ToString());
            }
        }
Example #2
0
        private static void Main()
        {
            ConsoleWrapper.PrintAsciiSignature();
            ConsoleWrapper.PrintMessage("Starting Vanilla Remastered ...", ConsoleWrapper.PrintStatus.Normal);
            ConsoleWrapper.PrintMessage("Launching AppCenter Analytics ...", ConsoleWrapper.PrintStatus.Normal);

            SetCountryCode();
            AppCenter.LogLevel = LogLevel.Verbose;
            AppCenter.Start("316d7e4c-746c-4693-8c6f-c07a5ebde789",
                            typeof(Analytics), typeof(Crashes));


            ConsoleWrapper.PrintMessage("Launching User Interface ... ", ConsoleWrapper.PrintStatus.Normal);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainWindow());
        }