public void SetLocalConfigOption(LocalConfigOption option)
 {
     _isReading = true;
     radioButtonOverride.Visible = true;
     radioButtonMerge.Visible = true;
     radioButtonExclude.Visible = true;
     switch (option)
     {
         case LocalConfigOption.IsNotLocal:
             radioButtonOverride.Visible = false;
             radioButtonMerge.Visible = false;
             radioButtonExclude.Visible = false;
             break;
         case LocalConfigOption.Override:
             radioButtonOverride.Checked = true;
             break;
         case LocalConfigOption.Merge:
             radioButtonMerge.Checked = true;
             break;
         case LocalConfigOption.Exclude:
             radioButtonExclude.Checked = true;
             break;
     }
     _isReading = false;
 }
        public void SetLocalConfigOption(LocalConfigOption option)
        {
            _isReading = true;
            radioButtonOverride.Visible = true;
            radioButtonMerge.Visible    = true;
            radioButtonExclude.Visible  = true;
            switch (option)
            {
            case LocalConfigOption.IsNotLocal:
                radioButtonOverride.Visible = false;
                radioButtonMerge.Visible    = false;
                radioButtonExclude.Visible  = false;
                break;

            case LocalConfigOption.Override:
                radioButtonOverride.Checked = true;
                break;

            case LocalConfigOption.Merge:
                radioButtonMerge.Checked = true;
                break;

            case LocalConfigOption.Exclude:
                radioButtonExclude.Checked = true;
                break;
            }
            _isReading = false;
        }
示例#3
0
 public LocalOverrideEventArgs(LocalConfigOption option)
 {
     Option = option;
 }
 public LocalOverrideEventArgs(LocalConfigOption option)
 {
     Option = option;
 }