private void bexAdd_Click(object sender, EventArgs e) { var af = new AddSettingForm(false); af.ShowDialog(); if (!af.Valid) { return; } EditedSettings.AlwaysSkip.Add(af.Prop1); UpdateFields(); }
private void beyAdd_Click(object sender, EventArgs e) { var af = new AddSettingForm(false); af.Tag = "Yard"; af.ShowDialog(); if (!af.Valid) { return; } EditedSettings.ExcludeYards.Add(af.Prop1.ToUpper()); UpdateFields(); }
private void bminAdd_Click(object sender, EventArgs e) { var af = new AddSettingForm(true); af.ShowDialog(); if (!af.Valid) { return; } var k = new SerializableKVP(); k.Set(af.Prop1, af.Prop2); EditedSettings.NoICKVP.Add(k); UpdateFields(); }