private void Add()
        {
            AWBProfileAdd add = new AWBProfileAdd();

            if (add.ShowDialog() == DialogResult.Yes)
            {
                loadProfiles();
            }
        }
 private void edit()
 {
     try
     {
         AWBProfileAdd add = new AWBProfileAdd(AWBProfiles.GetProfile(int.Parse(lvAccounts.Items[lvAccounts.SelectedIndices[0]].Text)));
         if (add.ShowDialog() == DialogResult.Yes)
         {
             loadProfiles();
         }
     }
     catch { }
 }
 private void Edit()
 {
     try
     {
         AWBProfileAdd add = new AWBProfileAdd(AWBProfiles.GetProfile(int.Parse(lvAccounts.Items[lvAccounts.SelectedIndices[0]].Text)));
         if (add.ShowDialog() == DialogResult.Yes)
             LoadProfiles();
     }
     catch { }
 }
 private void Add()
 {
     AWBProfileAdd add = new AWBProfileAdd();
     if (add.ShowDialog() == DialogResult.Yes)
         LoadProfiles();
 }