title: Translucent circular Control with text
body: <p>I am working on a project wherein I need to add a Control with the shape of a Circle with some text in the middle.<br />
  My problem is the circle is too small, when I resize it, it overlaps other controls. I want to draw the circle same width as the square.<br />
  Otherwise. how can I make the Control's background transparent?</p>
  <p><a href="https://i.stack.imgur.com/5jpXT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5jpXT.png" alt="enter image description here" /></a></p>
  <p>I am using the code below:</p>
  <pre><code>protected override void OnPaint(PaintEventArgs e)
  {
      base.OnPaint(e);
  
      using (Bitmap bitmap = new Bitmap(this.Width, this.Height))
      {
          using (Graphics graphics = Graphics.FromImage(bitmap))
          {
              graphics.SmoothingMode = SmoothingMode.HighQuality;
              graphics.Clear(this.BackColor);
  
              using (SolidBrush brush = new SolidBrush(this._FillColor))
              {                      
                  graphics.FillEllipse(brush, 0x18 - 6, 0x18 - 6, (this.Width - 0x30) + 12, (this.Height - 0x30) + 12);
              }
  
              Brush FontColor = new SolidBrush(this.ForeColor);
              SizeF MS = graphics.MeasureString(Convert.ToString(Convert.ToInt32((100 / _Maximum) * _Value)), Font);
              graphics.DrawString(Convert.ToString(Convert.ToInt32((100 / _Maximum) * _Value)), Font, FontColor, Convert.ToInt32((Width / 2 - MS.Width / 2) + 2), Convert.ToInt32((Height / 2 - MS.Height / 2) + 3));
              bitmap.MakeTransparent(this.BackColor);
              e.Graphics.DrawImage(bitmap, 0, 0);
  
              graphics.Dispose();
              bitmap.Dispose();
          }
      }
  }
  </code></pre>