private void MainForm_Load(object sender, EventArgs e)
 {
     if (System.IO.File.Exists(Properties.Settings.Default.url))
     {
         if (new System.IO.FileInfo(Properties.Settings.Default.url).Length > 0)
         {
             using (PhoneBook p = new PhoneBook())
             {
                 p.UnScramble();
             }
         }
     }
     else
     {
         MessageBox.Show("In order for this app to work\nAn empty text  file needs to be created at this location:\n" + Properties.Settings.Default.url);
     }
 }
Esempio n. 2
0
 public EntryList(PhoneBook p)
 {
     InitializeComponent(p);
 }