コード例 #1
0
 private void addFilterProfile(FilterProfile profile)
 {
     filterProfiles.Add(profile);
     reloadCmbProfile();
     cmbProfile.SelectedItem = profile;
     if (cmbProfile.Items.Count == 1)
     {
         cmbProfile.Enabled = true;
         btnSave.Enabled    = true;
         btnClone.Enabled   = true;
         btnDelete.Enabled  = true;
         gbxFilter.Enabled  = true;
     }
     profile.Save();
 }
コード例 #2
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     activeProfile.Save();
 }