Esempio n. 1
0
 private void CancelButton_Click(object sender, EventArgs e)
 {
     if (Properties.Settings.Default.OwnedDatabase == "" || System.IO.File.Exists(Properties.Settings.Default.OwnedDatabase) == false)
     {
         MagicManager.Forms.WantNewDBForm Ask = new MagicManager.Forms.WantNewDBForm(this);
         Ask.Show();
     }
     this.Close();
 }
Esempio n. 2
0
 public void checkOwnedDB()
 {
     if (Properties.Settings.Default.OwnedDatabase == "" || System.IO.File.Exists(Properties.Settings.Default.OwnedDatabase) == false)
     {
         MagicManager.Forms.WantNewDBForm Ask = new MagicManager.Forms.WantNewDBForm(this);
         Ask.Show();
     }
     else
         updateODB();
 }