Exemple #1
0
        private void btopcoes_Click(object sender, EventArgs e)
        {
#if (DEBUG || RELEASE)
            Opcoes opt = new Opcoes();
            opt.ShowDialog();
#endif

#if (MINE_DEBUG_ || MINE_RELEASE_)
            System.Diagnostics.Process.Start("options.txt");
#endif

#if (RAG_DEBUG_ || RAG_RELEASE_)
            try
            {
                Globals.setup.StartInfo.FileName         = "Setup.exe";
                Globals.setup.StartInfo.WorkingDirectory = "";
                Globals.setup.StartInfo.Arguments        = "";
                Globals.setup.Start();


                //System.Diagnostics.Process.Start(Globals.BinaryName, Globals.startparam);
            }
            catch
            {
                MessageBox.Show("Erro ao configurar.", "Erro!");
            }
#endif
        }
Exemple #2
0
        private void pictureBox3_Click(object sender, EventArgs e)
        {
            Opcoes opcoes = new Opcoes();
            int    num    = (int)opcoes.ShowDialog();

            opcoes.Dispose();
        }
Exemple #3
0
        private void btopcoes_Click(object sender, EventArgs e)
        {
            Opcoes opt = new Opcoes();

            opt.ShowDialog();
        }