کد دایره کردن فرم در c#
پنجشنبه, ۲۲ آبان ۱۳۹۳، ۱۱:۲۷ ب.ظ
توجه داشته باشید formborderstyl باید در حالت none باشه
this.Height = 350; this.Width = 350; System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath(); path.AddEllipse(0, 0, 300, 300); this.Region = new Region(path); this.Show();
- ۹۳/۰۸/۲۲