Example #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     FEditScanSettings fedit = new FEditScanSettings();
     fedit.ScanSettings =profiles[lvProfiles.SelectedItems[0].Index];
     fedit.ShowDialog();
     if (fedit.Result)
     {
         loadList();
         CSettings.SaveProfiles(profiles);
     }
 }
Example #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            FEditScanSettings fedit = new FEditScanSettings();

            fedit.ScanSettings = profiles[lvProfiles.SelectedItems[0].Index];
            fedit.ShowDialog();
            if (fedit.Result)
            {
                loadList();
                CSettings.SaveProfiles(profiles);
            }
        }
Example #3
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     FEditScanSettings fedit = new FEditScanSettings();
     fedit.ScanSettings = new CScanSettings();
     fedit.ShowDialog();
     if (fedit.Result)
     {
         this.profiles.Add(fedit.ScanSettings);
         loadList();
         CSettings.SaveProfiles(profiles);
     }
 }
Example #4
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FEditScanSettings fedit = new FEditScanSettings();

            fedit.ScanSettings = new CScanSettings();
            fedit.ShowDialog();
            if (fedit.Result)
            {
                this.profiles.Add(fedit.ScanSettings);
                loadList();
                CSettings.SaveProfiles(profiles);
            }
        }