public override void LoadFromAutoCat(AutoCat ac) { AutoCatName acName = ac as AutoCatName; if (acName == null) { return; } txtPrefix.Text = (acName.Prefix == null) ? string.Empty : acName.Prefix; cbSkipThe.Checked = acName.SkipThe; cbGroupNumbers.Checked = acName.GroupNumbers; }
public override void SaveToAutoCat(AutoCat autocat) { AutoCatName ac = autocat as AutoCatName; if (ac == null) { return; } ac.Prefix = txtPrefix.Text; ac.GroupNumbers = cbGroupNumbers.Checked; ac.SkipThe = cbSkipThe.Checked; }
public override void LoadFromAutoCat(AutoCat ac) { AutoCatName acName = ac as AutoCatName; if (acName == null) { return; } txtPrefix.Text = acName.Prefix == null ? string.Empty : acName.Prefix; cbSkipThe.Checked = acName.SkipThe; cbGroupNumbers.Checked = acName.GroupNumbers; chkgroupNonEnglishCharacters.Checked = acName.GroupNonEnglishCharacters; txtGroupNonEnglishCharactersText.Text = acName.GroupNonEnglishCharactersText; }
public override void SaveToAutoCat(AutoCat autoCat) { AutoCatName ac = autoCat as AutoCatName; if (ac == null) { return; } ac.Prefix = txtPrefix.Text; ac.GroupNumbers = cbGroupNumbers.Checked; ac.SkipThe = cbSkipThe.Checked; ac.GroupNonEnglishCharacters = chkgroupNonEnglishCharacters.Checked; ac.GroupNonEnglishCharactersText = txtGroupNonEnglishCharactersText.Text; }