Пример #1
0
 private void dolphiiMain_Load(object sender, EventArgs e)
 {
     if (Properties.Settings.Default.firstrun == true) //if this is the first time a user is using the program, we'll ask him/her to fill in the settings
     {
         firstRun settings = new firstRun();           // standard C# stuff
         settings.Show();
         MessageBox.Show("It looks like this is the first time you're running this program. Please fill in all settings.");
     }
     else
     {
         mainCode populate = new mainCode();                                             // if not, just populate all the lists
         populate.populateGamesList(Properties.Settings.Default.wiigamespath, cbxGames); //game list
         populate.generateXML(Properties.Settings.Default.riivopath, cbxXML);            //XML list
     }
 }
Пример #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            firstRun settings = new firstRun(); //showing the settings

            settings.Show();
        }