private void _advancedSettingsButton_Click(object sender, EventArgs e)
        {
            using (AdvancedOptionsForm advancedOptionsForm =
                       new AdvancedOptionsForm(
                           c => OptionTasks.CoreceMappingConfiguration(_outlookFolderControl.OutlookFolderType, c),
                           _configurationFormFactory.Value))
            {
                advancedOptionsForm.Options = _advancedOptions;

                if (advancedOptionsForm.ShowDialog() == DialogResult.OK)
                {
                    _advancedOptions = advancedOptionsForm.Options;
                }
            }
        }
    private void _advancedSettingsButton_Click (object sender, EventArgs e)
    {
      using (AdvancedOptionsForm advancedOptionsForm = new AdvancedOptionsForm (CoreceMappingConfiguration))
      {
        advancedOptionsForm.Options = _advancedOptions;

        if (advancedOptionsForm.ShowDialog() == DialogResult.OK)
        {
          _advancedOptions = advancedOptionsForm.Options;
        }
      }
    }
    private void _advancedSettingsButton_Click (object sender, EventArgs e)
    {
      using (AdvancedOptionsForm advancedOptionsForm = 
        new AdvancedOptionsForm (
          c => OptionTasks.CoreceMappingConfiguration(_outlookFolderControl.OutlookFolderType,c),
          _configurationFormFactory.Value))
      {
        advancedOptionsForm.Options = _advancedOptions;

        if (advancedOptionsForm.ShowDialog() == DialogResult.OK)
        {
          _advancedOptions = advancedOptionsForm.Options;
        }
      }
    }