示例#1
0
 private void ShowGitAccessorSetupControl(DialogBase setupControl)
 {
     if (setupControl != _gitAccessorOptions)
     {
         if (setupControl != null)
         {
             setupControl.SetBounds(0, _cmbAccessorProvider.Bottom + 9, Width, 0,
                                    BoundsSpecified.X | BoundsSpecified.Y | BoundsSpecified.Width);
             setupControl.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right;
             setupControl.Parent = this;
         }
         if (_gitAccessorOptions != null)
         {
             _gitAccessorOptions.Parent = null;
         }
         _gitAccessorOptions = setupControl;
     }
 }