gokhanb Site Admin
Mesaj Sayısı : 87 Doğum tarihi : 02/03/90 Kayıt tarihi : 20/07/09 Nerden : Konya Yaş : 34
| Konu: sekilli form c# Ptsi Tem. 20, 2009 9:45 pm | |
| c# da farklı formlarla oğraşanlar için farklı bişey.
using System.Drawing.Drawing2D; //bunu referans edin.
privatevoid Form1_Load(object sender, EventArgs e) { GraphicsPath red = newGraphicsPath(FillMode.Winding); red.AddRectangle(newRectangle(0, 0, this.Width, this.Height)); Region codding = newRegion(red); GraphicsPath cw = newGraphicsPath(FillMode.Winding); cw.AddRectangle(newRectangle(50, 50, this.Width - 70, this.Height - 70)); Region cay = newRegion(cw); codding.Xor(cay); this.Region = codding; } //. | |
|